A module to check the results from the Monte Carlo generator. More...
Public Member Functions | |
| NDKGen (fhicl::ParameterSet const &pset) | |
| virtual | ~NDKGen () |
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 |
| void | endJob () override |
| std::string | ParticleStatus (int StatusCode) |
| std::string | ReactionChannel (int ccnc, int mode) |
| void | FillHistograms (simb::MCTruth const &mc) |
Private Attributes | |
| std::string | fNdkFile |
| std::ifstream | fEventFile |
| TStopwatch | fStopwatch |
| std::string | fNDKModuleLabel |
| keep track of how long it takes to run the job More... | |
| CLHEP::HepRandomEngine & | fEngine |
| art-managed random-number engine More... | |
| TH1F * | fGenerated [6] |
| Spectra as generated. More... | |
| TH1F * | fVertexX |
| vertex location of generated events in x More... | |
| TH1F * | fVertexY |
| vertex location of generated events in y More... | |
| TH1F * | fVertexZ |
| vertex location of generated events in z More... | |
| TH2F * | fVertexXY |
| vertex location in xy More... | |
| TH2F * | fVertexXZ |
| vertex location in xz More... | |
| TH2F * | fVertexYZ |
| vertex location in yz More... | |
| TH1F * | fDCosX |
| direction cosine in x More... | |
| TH1F * | fDCosY |
| direction cosine in y More... | |
| TH1F * | fDCosZ |
| direction cosine in z More... | |
| TH1F * | fMuMomentum |
| momentum of outgoing muons More... | |
| TH1F * | fMuDCosX |
| direction cosine of outgoing mu in x More... | |
| TH1F * | fMuDCosY |
| direction cosine of outgoing mu in y More... | |
| TH1F * | fMuDCosZ |
| direction cosine of outgoing mu in z More... | |
| TH1F * | fEMomentum |
| momentum of outgoing electrons More... | |
| TH1F * | fEDCosX |
| direction cosine of outgoing e in x More... | |
| TH1F * | fEDCosY |
| direction cosine of outgoing e in y More... | |
| TH1F * | fEDCosZ |
| direction cosine of outgoing e in z More... | |
| TH1F * | fCCMode |
| CC interaction mode. More... | |
| TH1F * | fNCMode |
| CC interaction mode. More... | |
| TH1F * | fECons |
| histogram to determine if energy is conserved in the event 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 49 of file NDKGen_module.cc.
|
explicit |
Definition at line 108 of file NDKGen_module.cc.
|
virtual |
Definition at line 129 of file NDKGen_module.cc.
|
overrideprivatevirtual |
Reimplemented from art::EDProducer.
Definition at line 136 of file NDKGen_module.cc.
|
overrideprivatevirtual |
Reimplemented from art::EDProducer.
Definition at line 197 of file NDKGen_module.cc.
|
overrideprivatevirtual |
|
private |
look for the outgoing lepton in the particle stack just interested in the first one
Definition at line 466 of file NDKGen_module.cc.
|
private |
Definition at line 414 of file NDKGen_module.cc.
|
overrideprivatevirtual |
Implements art::EDProducer.
Definition at line 210 of file NDKGen_module.cc.
|
private |
Definition at line 438 of file NDKGen_module.cc.
|
private |
CC interaction mode.
Definition at line 97 of file NDKGen_module.cc.
|
private |
direction cosine in x
Definition at line 83 of file NDKGen_module.cc.
|
private |
direction cosine in y
Definition at line 84 of file NDKGen_module.cc.
|
private |
direction cosine in z
Definition at line 85 of file NDKGen_module.cc.
|
private |
histogram to determine if energy is conserved in the event
Definition at line 100 of file NDKGen_module.cc.
|
private |
direction cosine of outgoing e in x
Definition at line 93 of file NDKGen_module.cc.
|
private |
direction cosine of outgoing e in y
Definition at line 94 of file NDKGen_module.cc.
|
private |
direction cosine of outgoing e in z
Definition at line 95 of file NDKGen_module.cc.
|
private |
momentum of outgoing electrons
Definition at line 92 of file NDKGen_module.cc.
|
private |
art-managed random-number engine
Definition at line 71 of file NDKGen_module.cc.
|
private |
Definition at line 67 of file NDKGen_module.cc.
|
private |
Spectra as generated.
Definition at line 73 of file NDKGen_module.cc.
|
private |
direction cosine of outgoing mu in x
Definition at line 88 of file NDKGen_module.cc.
|
private |
direction cosine of outgoing mu in y
Definition at line 89 of file NDKGen_module.cc.
|
private |
direction cosine of outgoing mu in z
Definition at line 90 of file NDKGen_module.cc.
|
private |
momentum of outgoing muons
Definition at line 87 of file NDKGen_module.cc.
|
private |
CC interaction mode.
Definition at line 98 of file NDKGen_module.cc.
|
private |
Definition at line 66 of file NDKGen_module.cc.
|
private |
keep track of how long it takes to run the job
Definition at line 70 of file NDKGen_module.cc.
|
private |
Definition at line 68 of file NDKGen_module.cc.
|
private |
vertex location of generated events in x
Definition at line 75 of file NDKGen_module.cc.
|
private |
vertex location in xy
Definition at line 79 of file NDKGen_module.cc.
|
private |
vertex location in xz
Definition at line 80 of file NDKGen_module.cc.
|
private |
vertex location of generated events in y
Definition at line 76 of file NDKGen_module.cc.
|
private |
vertex location in yz
Definition at line 81 of file NDKGen_module.cc.
|
private |
vertex location of generated events in z
Definition at line 77 of file NDKGen_module.cc.
1.8.11