module to produce single or multiple specified particles in the detector More...
Public Member Functions | |
| GaisserParam (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 Types | |
| typedef std::map< double, TH1 * > | dhist_Map |
| typedef std::map< double, TH1 * >::iterator | dhist_Map_it |
Private Member Functions | |
| void | produce (art::Event &evt) override |
| void | beginJob () override |
| void | beginRun (art::Run &run) override |
| void | SampleOne (unsigned int i, simb::MCTruth &mct, CLHEP::HepRandomEngine &engine) |
| void | Sample (simb::MCTruth &mct, CLHEP::HepRandomEngine &engine) |
| std::pair< double, double > | GetThetaAndEnergy (double rand1, double rand2) |
| void | MakePDF () |
| void | ResetMap () |
| double | GaisserMuonFlux_Integrand (Double_t *x, Double_t *par) |
| double | GaisserFlux (double e, double theta) |
| std::vector< double > | GetBinning (const TAxis *axis, bool finalEdge=true) |
Private Attributes | |
| TFile * | m_File |
| dhist_Map * | m_PDFmap |
| TH1 * | m_thetaHist |
| CLHEP::HepRandomEngine & | fEngine |
| art-managed random-number engine More... | |
| int | fMode |
| bool | fPadOutVectors |
| std::vector< int > | fPDG |
| PDG code of particles to generate. More... | |
| int | fCharge |
| Charge. More... | |
| std::string | fInputDir |
| Input Directory. More... | |
| double | fEmin |
| Minimum Kinetic Energy (GeV) More... | |
| double | fEmax |
| Maximum Kinetic Energy (GeV) More... | |
| double | fEmid |
| Energy to go from low to high (GeV) More... | |
| int | fEBinsLow |
| Number of low energy Bins. More... | |
| int | fEBinsHigh |
| Number of high energy Bins. More... | |
| double | fThetamin |
| Minimum theta. More... | |
| double | fThetamax |
| Maximum theta. More... | |
| int | fThetaBins |
| Number of theta Bins. More... | |
| double | fXHalfRange |
| Max X position. More... | |
| double | fYInput |
| Max Y position. More... | |
| double | fZHalfRange |
| Max Z position. More... | |
| double | fT0 |
| Central t position (ns) in world coordinates. More... | |
| double | fSigmaT |
| Variation in t position (ns) More... | |
| int | fTDist |
| How to distribute t (gaus, or uniform) More... | |
| bool | fSetParam |
| Which version of Gaissers Param. More... | |
| bool | fSetRead |
| Whether to Read. More... | |
| bool | fSetWrite |
| Whether to Write. More... | |
| bool | fSetReWrite |
| Whether to ReWrite pdfs. More... | |
| double | fEpsilon |
| Minimum integration sum.... More... | |
| double | fCryoBoundaries [6] |
| double | xNeg = 0 |
| double | xPos = 0 |
| double | zNeg = 0 |
| double | zPos = 0 |
| double | fCenterX = 0 |
| double | fCenterZ = 0 |
| TTree * | fTree |
| double | Time |
| double | Momentum |
| double | KinEnergy |
| double | Gamma |
| double | Energy |
| double | Theta |
| double | Phi |
| double | pnorm |
| double | XPosition |
| double | YPosition |
| double | ZPosition |
| double | DirCosineX |
| double | DirCosineY |
| double | DirCosineZ |
Static Private Attributes | |
| static constexpr int | kGAUS = 1 |
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 () |
module to produce single or multiple specified particles in the detector
Definition at line 60 of file GaisserParam_module.cc.
|
private |
Definition at line 73 of file GaisserParam_module.cc.
|
private |
Definition at line 74 of file GaisserParam_module.cc.
|
explicit |
Definition at line 162 of file GaisserParam_module.cc.
|
overrideprivatevirtual |
Reimplemented from art::EDProducer.
Definition at line 197 of file GaisserParam_module.cc.
|
overrideprivatevirtual |
Reimplemented from art::EDProducer.
Definition at line 245 of file GaisserParam_module.cc.
|
private |
Definition at line 661 of file GaisserParam_module.cc.
|
private |
Definition at line 693 of file GaisserParam_module.cc.
|
private |
Definition at line 702 of file GaisserParam_module.cc.
|
private |
Definition at line 416 of file GaisserParam_module.cc.
|
private |
Definition at line 454 of file GaisserParam_module.cc.
|
overrideprivatevirtual |
unique_ptr allows ownership to be transferred to the art::Event after the put statement
Implements art::EDProducer.
Definition at line 259 of file GaisserParam_module.cc.
|
private |
Definition at line 712 of file GaisserParam_module.cc.
|
private |
Definition at line 388 of file GaisserParam_module.cc.
|
private |
Definition at line 279 of file GaisserParam_module.cc.
|
private |
Definition at line 155 of file GaisserParam_module.cc.
|
private |
Definition at line 155 of file GaisserParam_module.cc.
|
private |
Definition at line 155 of file GaisserParam_module.cc.
|
private |
Definition at line 154 of file GaisserParam_module.cc.
|
private |
Definition at line 149 of file GaisserParam_module.cc.
|
private |
Definition at line 150 of file GaisserParam_module.cc.
|
private |
Charge.
Definition at line 101 of file GaisserParam_module.cc.
|
private |
Definition at line 144 of file GaisserParam_module.cc.
|
private |
Number of high energy Bins.
Definition at line 108 of file GaisserParam_module.cc.
|
private |
Number of low energy Bins.
Definition at line 107 of file GaisserParam_module.cc.
|
private |
Maximum Kinetic Energy (GeV)
Definition at line 105 of file GaisserParam_module.cc.
|
private |
Energy to go from low to high (GeV)
Definition at line 106 of file GaisserParam_module.cc.
|
private |
Minimum Kinetic Energy (GeV)
Definition at line 104 of file GaisserParam_module.cc.
|
private |
art-managed random-number engine
Definition at line 89 of file GaisserParam_module.cc.
|
private |
Minimum integration sum....
Definition at line 126 of file GaisserParam_module.cc.
|
private |
Definition at line 102 of file GaisserParam_module.cc.
|
private |
Particle Selection Mode 0–generate a list of all particles, 1–generate a single particle selected randomly from the list
Definition at line 93 of file GaisserParam_module.cc.
|
private |
Select to pad out configuration vectors if they are not of of the same length as PDG false: don't pad out - all values need to specified true: pad out - default values assumed and printed out
Definition at line 96 of file GaisserParam_module.cc.
|
private |
PDG code of particles to generate.
Definition at line 100 of file GaisserParam_module.cc.
|
private |
Which version of Gaissers Param.
Definition at line 122 of file GaisserParam_module.cc.
|
private |
Whether to Read.
Definition at line 123 of file GaisserParam_module.cc.
|
private |
Whether to ReWrite pdfs.
Definition at line 125 of file GaisserParam_module.cc.
|
private |
Whether to Write.
Definition at line 124 of file GaisserParam_module.cc.
|
private |
Variation in t position (ns)
Definition at line 119 of file GaisserParam_module.cc.
|
private |
Central t position (ns) in world coordinates.
Definition at line 118 of file GaisserParam_module.cc.
|
private |
How to distribute t (gaus, or uniform)
Definition at line 120 of file GaisserParam_module.cc.
|
private |
Number of theta Bins.
Definition at line 112 of file GaisserParam_module.cc.
|
private |
Maximum theta.
Definition at line 111 of file GaisserParam_module.cc.
|
private |
Minimum theta.
Definition at line 110 of file GaisserParam_module.cc.
|
private |
Definition at line 153 of file GaisserParam_module.cc.
|
private |
Max X position.
Definition at line 114 of file GaisserParam_module.cc.
|
private |
Max Y position.
Definition at line 115 of file GaisserParam_module.cc.
|
private |
Max Z position.
Definition at line 116 of file GaisserParam_module.cc.
|
private |
Definition at line 154 of file GaisserParam_module.cc.
|
staticprivate |
Definition at line 91 of file GaisserParam_module.cc.
|
private |
Definition at line 154 of file GaisserParam_module.cc.
|
private |
Definition at line 75 of file GaisserParam_module.cc.
|
private |
Definition at line 76 of file GaisserParam_module.cc.
|
private |
Definition at line 77 of file GaisserParam_module.cc.
|
private |
Definition at line 154 of file GaisserParam_module.cc.
|
private |
Definition at line 154 of file GaisserParam_module.cc.
|
private |
Definition at line 154 of file GaisserParam_module.cc.
|
private |
Definition at line 154 of file GaisserParam_module.cc.
|
private |
Definition at line 154 of file GaisserParam_module.cc.
|
private |
Definition at line 145 of file GaisserParam_module.cc.
|
private |
Definition at line 146 of file GaisserParam_module.cc.
|
private |
Definition at line 155 of file GaisserParam_module.cc.
|
private |
Definition at line 155 of file GaisserParam_module.cc.
|
private |
Definition at line 147 of file GaisserParam_module.cc.
|
private |
Definition at line 148 of file GaisserParam_module.cc.
|
private |
Definition at line 155 of file GaisserParam_module.cc.
1.8.11