#include "art/Framework/Core/EDProducer.h"
#include "art/Framework/Core/ModuleMacros.h"
#include "art/Framework/Principal/Event.h"
#include "art/Framework/Principal/Run.h"
#include "art/Framework/Services/Registry/ServiceHandle.h"
#include "fhiclcpp/ParameterSet.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "Framework/Algorithm/AlgFactory.h"
#include "Framework/EventGen/EventRecordVisitorI.h"
#include "Framework/EventGen/EventRecord.h"
#include "Physics/NucleonDecay/NucleonDecayMode.h"
#include "Physics/NucleonDecay/NucleonDecayUtils.h"
#include "Framework/ParticleData/PDGLibrary.h"
#include "Framework/GHEP/GHepParticle.h"
#include "Framework/Utils/AppInit.h"
#include "nusimdata/SimulationBase/MCTruth.h"
#include "nusimdata/SimulationBase/MCParticle.h"
#include "nugen/EventGeneratorBase/GENIE/GENIE2ART.h"
#include "larcore/Geometry/Geometry.h"
#include "larcoreobj/SummaryData/RunData.h"
#include "nurandom/RandomUtils/NuRandomService.h"
#include <memory>
#include <string>
#include "CLHEP/Random/RandFlat.h"
Go to the source code of this file.
|
| evgen |
| Event Generation using GENIE, cosmics or single particles.
|
|
Definition at line 96 of file NucleonDecay_module.cc.
97 throw cet::exception(
"NucleonDecay") <<
"Couldn't instantiate the nucleon decay generator";
if |
( |
p.get< int > |
"DecayedNucleon", |
|
|
0 |
|
|
) |
| |
produces< std::vector< simb::MCTruth > > |
( |
| ) |
|
genie::AlgFactory* algf = genie::AlgFactory::Instance() |
int fDecayMode = p.get<int>("DecayMode") |
gOptDecayMode = (genie::NucleonDecayMode_t) fDecayMode |
string sconfig = "NucleonDecay" |
unsigned int seed = art::ServiceHandle<rndm::NuRandomService>()->getSeed() |
string sname = "genie::EventGenerator" |