Public Member Functions | |
| Gen311 (fhicl::ParameterSet const &p) | |
| virtual | ~Gen311 () |
| Gen311 (Gen311 const &)=delete | |
| Gen311 (Gen311 &&)=delete | |
| Gen311 & | operator= (Gen311 const &)=delete |
| Gen311 & | operator= (Gen311 &&)=delete |
| void | produce (art::Event &e) override |
| void | reconfigure (fhicl::ParameterSet const &p) |
| void | beginJob () override |
| void | beginRun (art::Run &run) override |
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 | openDBs () |
| void | populateNShowers () |
| void | populateTOffset () |
| bool | InTPC (const simb::MCParticle particle) |
| double | wrapvar (const double var, const double low, const double high) |
| double | wrapvarBoxNo (const double var, const double low, const double high, int &boxno) |
| void | GetSample (simb::MCTruth &) |
Private Attributes | |
| int | fShowerInputs =0 |
| Number of shower inputs to process from. More... | |
| std::vector< double > | fNShowersPerEvent |
| Number of showers to put in each event of duration fSampleTime; one per showerinput. More... | |
| std::vector< int > | fMaxShowers |
| double | fShowerBounds [6] ={0.,0.,0.,0.,0.,0.} |
| Boundaries of area over which showers are to be distributed. More... | |
| double | fToffset_corsika =0. |
| Timing offset to account for propagation time through atmosphere, populated from db. More... | |
| ifdh_ns::ifdh * | fIFDH =0 |
| (optional) flux file handling More... | |
| double | fProjectToHeight =0. |
| Height to which particles will be projected [cm]. More... | |
| std::vector< std::string > | fShowerInputFiles |
| Set of CORSIKA shower data files to use. More... | |
| std::vector< double > | fShowerFluxConstants |
| Set of flux constants to be associated with each shower data file. More... | |
| double | fSampleTime =0. |
| Duration of sample [s]. More... | |
| double | fToffset =0. |
| Time offset of sample, defaults to zero (no offset) [s]. More... | |
| std::vector< double > | fBuffBox |
| Buffer box extensions to cryostat in each direction (6 of them: x_lo,x_hi,y_lo,y_hi,z_lo,z_hi) [cm]. More... | |
| double | fShowerAreaExtension =0. |
| Extend distribution of corsika particles in x,z by this much (e.g. 1000 will extend 10 m in -x, +x, -z, and +z) [cm]. More... | |
| sqlite3 * | fdb [5] |
| Pointers to sqlite3 database object, max of 5. More... | |
| double | fRandomYZShift =0. |
| Each shower will be shifted by a random amount in xz so that showers won't repeatedly sample the same space [cm]. More... | |
| std::vector< double > | fActiveVolumeCut |
| Active volume cut. More... | |
| std::vector< double > | fLeadingParticlesList |
| bool | fUseIFDH |
| < List of pdg codes for particles that can be potentially used as triggers More... | |
| int | fRun |
| int | fEvent |
| double | fTheta |
| double | fPhi |
| double | fMomX |
| double | fMomY |
| double | fMomZ |
| double | fMomT |
| double | fStartX |
| double | fStartY |
| double | fStartZ |
| TTree * | fTree |
| art::ServiceHandle< geo::Geometry > | geom |
| CLHEP::HepRandomEngine & | fGenEngine |
| CLHEP::HepRandomEngine & | fPoisEngine |
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 () |
Definition at line 55 of file Gen311_module.cc.
|
explicit |
Definition at line 247 of file Gen311_module.cc.
|
virtual |
Definition at line 287 of file Gen311_module.cc.
|
delete |
|
delete |
|
overridevirtual |
|
overridevirtual |
Reimplemented from art::EDProducer.
Definition at line 320 of file Gen311_module.cc.
|
private |
Definition at line 617 of file Gen311_module.cc.
|
private |
|
private |
Definition at line 329 of file Gen311_module.cc.
|
private |
Definition at line 531 of file Gen311_module.cc.
|
private |
Definition at line 504 of file Gen311_module.cc.
|
overridevirtual |
Implements art::EDProducer.
Definition at line 1144 of file Gen311_module.cc.
| void evgendp::Gen311::reconfigure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 295 of file Gen311_module.cc.
|
private |
Definition at line 606 of file Gen311_module.cc.
|
private |
Definition at line 611 of file Gen311_module.cc.
|
private |
Active volume cut.
Definition at line 91 of file Gen311_module.cc.
|
private |
Buffer box extensions to cryostat in each direction (6 of them: x_lo,x_hi,y_lo,y_hi,z_lo,z_hi) [cm].
Definition at line 87 of file Gen311_module.cc.
|
private |
Pointers to sqlite3 database object, max of 5.
Definition at line 89 of file Gen311_module.cc.
|
private |
Definition at line 96 of file Gen311_module.cc.
|
private |
Definition at line 110 of file Gen311_module.cc.
|
private |
(optional) flux file handling
Definition at line 79 of file Gen311_module.cc.
|
private |
Definition at line 92 of file Gen311_module.cc.
|
private |
Definition at line 76 of file Gen311_module.cc.
|
private |
Definition at line 103 of file Gen311_module.cc.
|
private |
Definition at line 100 of file Gen311_module.cc.
|
private |
Definition at line 101 of file Gen311_module.cc.
|
private |
Definition at line 102 of file Gen311_module.cc.
|
private |
Number of showers to put in each event of duration fSampleTime; one per showerinput.
Definition at line 75 of file Gen311_module.cc.
|
private |
Definition at line 99 of file Gen311_module.cc.
|
private |
Definition at line 111 of file Gen311_module.cc.
|
private |
Height to which particles will be projected [cm].
Definition at line 82 of file Gen311_module.cc.
|
private |
Each shower will be shifted by a random amount in xz so that showers won't repeatedly sample the same space [cm].
Definition at line 90 of file Gen311_module.cc.
|
private |
Definition at line 95 of file Gen311_module.cc.
|
private |
Duration of sample [s].
Definition at line 85 of file Gen311_module.cc.
|
private |
Extend distribution of corsika particles in x,z by this much (e.g. 1000 will extend 10 m in -x, +x, -z, and +z) [cm].
Definition at line 88 of file Gen311_module.cc.
|
private |
Boundaries of area over which showers are to be distributed.
Definition at line 77 of file Gen311_module.cc.
|
private |
Set of flux constants to be associated with each shower data file.
Definition at line 84 of file Gen311_module.cc.
|
private |
Set of CORSIKA shower data files to use.
Definition at line 83 of file Gen311_module.cc.
|
private |
Number of shower inputs to process from.
Definition at line 74 of file Gen311_module.cc.
|
private |
Definition at line 104 of file Gen311_module.cc.
|
private |
Definition at line 105 of file Gen311_module.cc.
|
private |
Definition at line 106 of file Gen311_module.cc.
|
private |
Definition at line 98 of file Gen311_module.cc.
|
private |
Time offset of sample, defaults to zero (no offset) [s].
Definition at line 86 of file Gen311_module.cc.
|
private |
Timing offset to account for propagation time through atmosphere, populated from db.
Definition at line 78 of file Gen311_module.cc.
|
private |
Definition at line 107 of file Gen311_module.cc.
|
private |
< List of pdg codes for particles that can be potentially used as triggers
< use ifdh protocol
Definition at line 93 of file Gen311_module.cc.
|
private |
Definition at line 109 of file Gen311_module.cc.
1.8.11