A module to check the results from the Monte Carlo generator. More...
Public Member Functions | |
CosmicsGen (fhicl::ParameterSet const &pset) | |
virtual | ~CosmicsGen () |
void | produce (::art::Event &evt) |
void | beginJob () |
void | beginRun (::art::Run &run) |
void | reconfigure (fhicl::ParameterSet const &p) |
Public Member Functions inherited from art::EDProducer | |
EDProducer (fhicl::ParameterSet const &pset) | |
template<typename Config > | |
EDProducer (Table< Config > const &config) | |
std::string | workerType () const |
Public Member Functions inherited from art::detail::Producer | |
virtual | ~Producer () noexcept |
Producer (fhicl::ParameterSet const &) | |
Producer (Producer const &)=delete | |
Producer (Producer &&)=delete | |
Producer & | operator= (Producer const &)=delete |
Producer & | operator= (Producer &&)=delete |
void | doBeginJob (SharedResources const &resources) |
void | doEndJob () |
void | doRespondToOpenInputFile (FileBlock const &fb) |
void | doRespondToCloseInputFile (FileBlock const &fb) |
void | doRespondToOpenOutputFiles (FileBlock const &fb) |
void | doRespondToCloseOutputFiles (FileBlock const &fb) |
bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
Public Member Functions inherited from art::Modifier | |
~Modifier () noexcept | |
Modifier () | |
Modifier (Modifier const &)=delete | |
Modifier (Modifier &&)=delete | |
Modifier & | operator= (Modifier const &)=delete |
Modifier & | operator= (Modifier &&)=delete |
Public Member Functions inherited from art::ModuleBase | |
virtual | ~ModuleBase () noexcept |
ModuleBase () | |
ModuleDescription const & | moduleDescription () const |
void | setModuleDescription (ModuleDescription const &) |
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
void | sortConsumables (std::string const ¤t_process_name) |
template<typename T , BranchType BT> | |
ViewToken< T > | consumesView (InputTag const &tag) |
template<typename T , BranchType BT> | |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
Private Attributes | |
evgb::CRYHelper * | fCRYHelp |
CRY generator object. More... | |
std::vector< double > | fbuffbox |
TH2F * | fPhotonAngles |
Photon rate vs angle. More... | |
TH2F * | fPhotonAnglesLo |
Photon rate vs angle, low momenta. More... | |
TH2F * | fPhotonAnglesMi |
Photon rate vs angle, middle momenta. More... | |
TH2F * | fPhotonAnglesHi |
Photon rate vs angle, high momenta. More... | |
TH1F * | fPhotonCosQ |
Photon rate vs cos(Q) More... | |
TH1F * | fPhotonEnergy |
Photon energy (GeV) More... | |
TH1F * | fPhotonsPerSample |
number of photons in the sampled time window More... | |
TH1F * | fPhotonsInTPC |
TH2F * | fElectronAngles |
Electron rate vs angle. More... | |
TH2F * | fElectronAnglesLo |
Electron rate vs angle, low momenta. More... | |
TH2F * | fElectronAnglesMi |
Electron rate vs angle, middle momenta. More... | |
TH2F * | fElectronAnglesHi |
Electron rate vs angle, high momenta. More... | |
TH1F * | fElectronCosQ |
Electron rate vs cos(Q) More... | |
TH1F * | fElectronEnergy |
Electron energy (GeV) More... | |
TH1F * | fElectronsPerSample |
number of electrons in the sampled time window More... | |
TH1F * | fElectronsInTPC |
TH2F * | fMuonAngles |
Muon rate vs angle. More... | |
TH2F * | fMuonAnglesLo |
Muon rate vs angle, low momenta. More... | |
TH2F * | fMuonAnglesMi |
Muon rate vs angle, middle momenta. More... | |
TH2F * | fMuonAnglesHi |
Muon rate vs angle, high momenta. More... | |
TH1F * | fMuonCosQ |
Muon rate vs cos(Q) More... | |
TH1F * | fMuonEnergy |
Muon energy (GeV) More... | |
TH1F * | fMuonsPerSample |
number of muons in the sampled time window More... | |
TH1F * | fMuonsInTPC |
rndm::NuRandomService::seed_t | fSeed |
override seed with a fcl parameter not equal to zero More... | |
Additional Inherited Members | |
Public Types inherited from art::EDProducer | |
using | ModuleType = EDProducer |
using | WorkerType = WorkerT< EDProducer > |
Public Types inherited from art::detail::Producer | |
template<typename UserConfig , typename KeysToIgnore = void> | |
using | Table = Modifier::Table< UserConfig, KeysToIgnore > |
Public Types inherited from art::Modifier | |
template<typename UserConfig , typename UserKeysToIgnore = void> | |
using | Table = ProducerTable< UserConfig, detail::ModuleConfig, UserKeysToIgnore > |
Static Public Member Functions inherited from art::EDProducer | |
static void | commitEvent (EventPrincipal &ep, Event &e) |
Protected Member Functions inherited from art::ModuleBase | |
ConsumesCollector & | consumesCollector () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
A module to check the results from the Monte Carlo generator.
Definition at line 46 of file CosmicsGen_module.cc.
|
explicit |
Definition at line 101 of file CosmicsGen_module.cc.
|
virtual |
Definition at line 115 of file CosmicsGen_module.cc.
|
virtual |
Reimplemented from art::EDProducer.
Definition at line 138 of file CosmicsGen_module.cc.
void gar::evgen::CosmicsGen::beginRun | ( | ::art::Run & | run | ) |
Definition at line 172 of file CosmicsGen_module.cc.
void gar::evgen::CosmicsGen::produce | ( | ::art::Event & | evt | ) |
Definition at line 185 of file CosmicsGen_module.cc.
void gar::evgen::CosmicsGen::reconfigure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 121 of file CosmicsGen_module.cc.
|
private |
Definition at line 61 of file CosmicsGen_module.cc.
|
private |
CRY generator object.
Definition at line 59 of file CosmicsGen_module.cc.
|
private |
Electron rate vs angle.
Definition at line 73 of file CosmicsGen_module.cc.
|
private |
Electron rate vs angle, high momenta.
Definition at line 76 of file CosmicsGen_module.cc.
|
private |
Electron rate vs angle, low momenta.
Definition at line 74 of file CosmicsGen_module.cc.
|
private |
Electron rate vs angle, middle momenta.
Definition at line 75 of file CosmicsGen_module.cc.
|
private |
Electron rate vs cos(Q)
Definition at line 77 of file CosmicsGen_module.cc.
|
private |
Electron energy (GeV)
Definition at line 78 of file CosmicsGen_module.cc.
|
private |
number of electrons in the tpc during the sampled time window
Definition at line 80 of file CosmicsGen_module.cc.
|
private |
number of electrons in the sampled time window
Definition at line 79 of file CosmicsGen_module.cc.
|
private |
Muon rate vs angle.
Definition at line 83 of file CosmicsGen_module.cc.
|
private |
Muon rate vs angle, high momenta.
Definition at line 86 of file CosmicsGen_module.cc.
|
private |
Muon rate vs angle, low momenta.
Definition at line 84 of file CosmicsGen_module.cc.
|
private |
Muon rate vs angle, middle momenta.
Definition at line 85 of file CosmicsGen_module.cc.
|
private |
Muon rate vs cos(Q)
Definition at line 87 of file CosmicsGen_module.cc.
|
private |
Muon energy (GeV)
Definition at line 88 of file CosmicsGen_module.cc.
|
private |
number of muons in the tpc during the sampled time window
Definition at line 90 of file CosmicsGen_module.cc.
|
private |
number of muons in the sampled time window
Definition at line 89 of file CosmicsGen_module.cc.
|
private |
Photon rate vs angle.
Definition at line 63 of file CosmicsGen_module.cc.
|
private |
Photon rate vs angle, high momenta.
Definition at line 66 of file CosmicsGen_module.cc.
|
private |
Photon rate vs angle, low momenta.
Definition at line 64 of file CosmicsGen_module.cc.
|
private |
Photon rate vs angle, middle momenta.
Definition at line 65 of file CosmicsGen_module.cc.
|
private |
Photon rate vs cos(Q)
Definition at line 67 of file CosmicsGen_module.cc.
|
private |
Photon energy (GeV)
Definition at line 68 of file CosmicsGen_module.cc.
|
private |
number of photons in the tpc during the sampled time window
Definition at line 70 of file CosmicsGen_module.cc.
|
private |
number of photons in the sampled time window
Definition at line 69 of file CosmicsGen_module.cc.
|
private |
override seed with a fcl parameter not equal to zero
Definition at line 93 of file CosmicsGen_module.cc.