A module to check the results from the Monte Carlo generator. More...
Public Member Functions | |
CosmicsGen (fhicl::ParameterSet const &pset) | |
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 Member Functions | |
void | produce (art::Event &evt) override |
void | beginJob () override |
void | beginRun (art::Run &run) override |
Private Attributes | |
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 * | fPhotonsInCStat |
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 * | fElectronsInCStat |
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 * | fMuonsInCStat |
TH1F * | fMuonsInTPC |
CLHEP::HepRandomEngine & | fEngine |
art-managed random-number engine More... | |
evgb::CRYHelper | fCRYHelp |
CRY generator object. 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 36 of file CosmicsGen_module.cc.
|
explicit |
Definition at line 91 of file CosmicsGen_module.cc.
|
overrideprivatevirtual |
Reimplemented from art::EDProducer.
Definition at line 106 of file CosmicsGen_module.cc.
|
overrideprivatevirtual |
Reimplemented from art::EDProducer.
Definition at line 142 of file CosmicsGen_module.cc.
|
overrideprivatevirtual |
Implements art::EDProducer.
Definition at line 149 of file CosmicsGen_module.cc.
|
private |
Definition at line 46 of file CosmicsGen_module.cc.
|
private |
CRY generator object.
Definition at line 84 of file CosmicsGen_module.cc.
|
private |
Electron rate vs angle.
Definition at line 60 of file CosmicsGen_module.cc.
|
private |
Electron rate vs angle, high momenta.
Definition at line 63 of file CosmicsGen_module.cc.
|
private |
Electron rate vs angle, low momenta.
Definition at line 61 of file CosmicsGen_module.cc.
|
private |
Electron rate vs angle, middle momenta.
Definition at line 62 of file CosmicsGen_module.cc.
|
private |
Electron rate vs cos(Q)
Definition at line 64 of file CosmicsGen_module.cc.
|
private |
Electron energy (GeV)
Definition at line 65 of file CosmicsGen_module.cc.
|
private |
number of electrons in the cryostat during the sampled time window
Definition at line 67 of file CosmicsGen_module.cc.
|
private |
number of electrons in the tpc during the sampled time window
Definition at line 69 of file CosmicsGen_module.cc.
|
private |
number of electrons in the sampled time window
Definition at line 66 of file CosmicsGen_module.cc.
|
private |
art-managed random-number engine
Definition at line 83 of file CosmicsGen_module.cc.
|
private |
Muon rate vs angle.
Definition at line 72 of file CosmicsGen_module.cc.
|
private |
Muon rate vs angle, high momenta.
Definition at line 75 of file CosmicsGen_module.cc.
|
private |
Muon rate vs angle, low momenta.
Definition at line 73 of file CosmicsGen_module.cc.
|
private |
Muon rate vs angle, middle momenta.
Definition at line 74 of file CosmicsGen_module.cc.
|
private |
Muon rate vs cos(Q)
Definition at line 76 of file CosmicsGen_module.cc.
|
private |
Muon energy (GeV)
Definition at line 77 of file CosmicsGen_module.cc.
|
private |
number of muons in the cryostat during the sampled time window
Definition at line 79 of file CosmicsGen_module.cc.
|
private |
number of muons in the tpc during the sampled time window
Definition at line 81 of file CosmicsGen_module.cc.
|
private |
number of muons in the sampled time window
Definition at line 78 of file CosmicsGen_module.cc.
|
private |
Photon rate vs angle.
Definition at line 48 of file CosmicsGen_module.cc.
|
private |
Photon rate vs angle, high momenta.
Definition at line 51 of file CosmicsGen_module.cc.
|
private |
Photon rate vs angle, low momenta.
Definition at line 49 of file CosmicsGen_module.cc.
|
private |
Photon rate vs angle, middle momenta.
Definition at line 50 of file CosmicsGen_module.cc.
|
private |
Photon rate vs cos(Q)
Definition at line 52 of file CosmicsGen_module.cc.
|
private |
Photon energy (GeV)
Definition at line 53 of file CosmicsGen_module.cc.
|
private |
number of photons in the cryostat during the sampled time window
Definition at line 55 of file CosmicsGen_module.cc.
|
private |
number of photons in the tpc during the sampled time window
Definition at line 57 of file CosmicsGen_module.cc.
|
private |
number of photons in the sampled time window
Definition at line 54 of file CosmicsGen_module.cc.