#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/NNBarOscillation/NNBarOscMode.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 120 of file NeutronOsc_module.cc.
121 throw cet::exception(
"NeutronOsc") <<
"Couldn't instantiate the neutron-antineutron oscillation generator";
produces< std::vector< simb::MCTruth > > |
( |
| ) |
|
genie::AlgFactory* algf = genie::AlgFactory::Instance() |
int fDecayMode = p.get<int>("DecayMode") |
gOptDecayMode = (genie::NNBarOscMode_t) fDecayMode |
string sconfig = "NNBarOsc" |
unsigned int seed = art::ServiceHandle<rndm::NuRandomService>()->getSeed() |
string sname = "genie::EventGenerator" |