Public Member Functions | Private Attributes | List of all members
gar::evgen::CosmicsGen Class Reference

A module to check the results from the Monte Carlo generator. More...

Inheritance diagram for gar::evgen::CosmicsGen:
art::EDProducer art::detail::Producer art::detail::LegacyModule art::Modifier art::ModuleBase art::ProductRegistryHelper

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
 
Produceroperator= (Producer const &)=delete
 
Produceroperator= (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
 
Modifieroperator= (Modifier const &)=delete
 
Modifieroperator= (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 &current_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::CRYHelperfCRYHelp
 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
ConsumesCollectorconsumesCollector ()
 
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 ()
 

Detailed Description

A module to check the results from the Monte Carlo generator.

Definition at line 46 of file CosmicsGen_module.cc.

Constructor & Destructor Documentation

gar::evgen::CosmicsGen::CosmicsGen ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 101 of file CosmicsGen_module.cc.

101  :
102  art::EDProducer{pset}, fCRYHelp(0)
103  {
104 
105  //the buffer box bounds specified here will extend on the cryostat boundaries
106  fbuffbox = pset.get< std::vector<double> >("BufferBox",{0.0, 0.0, 0.0, 0.0, 0.0, 0.0});
107  fSeed = pset.get< rndm::NuRandomService::seed_t >("Seed",0);
108  this->reconfigure(pset);
109 
110  produces< std::vector<simb::MCTruth> >();
111  produces< gar::sumdata::RunData, ::art::InRun >();
112  }
rndm::NuRandomService::seed_t fSeed
override seed with a fcl parameter not equal to zero
evgb::CRYHelper * fCRYHelp
CRY generator object.
void reconfigure(fhicl::ParameterSet const &p)
std::vector< double > fbuffbox
gar::evgen::CosmicsGen::~CosmicsGen ( )
virtual

Definition at line 115 of file CosmicsGen_module.cc.

116  {
117  if(fCRYHelp) delete fCRYHelp;
118  }
evgb::CRYHelper * fCRYHelp
CRY generator object.

Member Function Documentation

void gar::evgen::CosmicsGen::beginJob ( )
virtual

Reimplemented from art::EDProducer.

Definition at line 138 of file CosmicsGen_module.cc.

139  {
141 
142  fPhotonAngles = tfs->make<TH2F>("fPhotonAngles", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
143  fPhotonAnglesLo = tfs->make<TH2F>("fPhotonAnglesLo", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
144  fPhotonAnglesMi = tfs->make<TH2F>("fPhotonAnglesMi", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
145  fPhotonAnglesHi = tfs->make<TH2F>("fPhotonAnglesHi", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
146  fPhotonCosQ = tfs->make<TH1F>("fPhotonCosQ", ";cos#theta;tracks", 50,-1.0,1.0);
147  fPhotonEnergy = tfs->make<TH1F>("fPhotonEnergy", ";E (GeV)", 5000,0.0,1000.0);
148  fPhotonsPerSample = tfs->make<TH1F>("fPhotonsPerSample", ";Number Photons;Samples", 100, 0, 1000);
149  fPhotonsInTPC = tfs->make<TH1F>("fPhotonsInTPC", ";Number Photons;Samples", 100, 0, 1000);
150 
151  fElectronAngles = tfs->make<TH2F>("fElectronAngles", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
152  fElectronAnglesLo = tfs->make<TH2F>("fElectronAnglesLo", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
153  fElectronAnglesMi = tfs->make<TH2F>("fElectronAnglesMi", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
154  fElectronAnglesHi = tfs->make<TH2F>("fElectronAnglesHi", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
155  fElectronCosQ = tfs->make<TH1F>("fElectronCosQ", ";cos#theta;tracks", 50,-1.0,1.0);
156  fElectronEnergy = tfs->make<TH1F>("fElectronEnergy", ";E (GeV)", 5000,0.0,1000.0);
157  fElectronsPerSample = tfs->make<TH1F>("fElectronsPerSample", ";Number Electrons;Samples", 100, 0, 1000);
158  fElectronsInTPC = tfs->make<TH1F>("fElectronsInTPC", ";Number Electrons;Samples", 100, 0, 1000);
159 
160  fMuonAngles = tfs->make<TH2F>("fMuonAngles", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
161  fMuonAnglesLo = tfs->make<TH2F>("fMuonAnglesLo", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
162  fMuonAnglesMi = tfs->make<TH2F>("fMuonAnglesMi", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
163  fMuonAnglesHi = tfs->make<TH2F>("fMuonAnglesHi", ";#phi;cos#theta", 36,-180.0,180.0,50,-1.0,1.0);
164  fMuonCosQ = tfs->make<TH1F>("fMuonCosQ", ";cos#theta;tracks", 50,-1.0,1.0);
165  fMuonEnergy = tfs->make<TH1F>("fMuonEnergy", ";E (GeV)", 5000,0.0,1000.0);
166  fMuonsPerSample = tfs->make<TH1F>("fMuonsPerSample", ";Number Muons;Samples", 100, 0, 1000);
167  fMuonsInTPC = tfs->make<TH1F>("fMuonsInTPC", ";Number Muons;Samples", 100, 0, 1000);
168 
169  }
TH2F * fMuonAngles
Muon rate vs angle.
TH1F * fElectronsPerSample
number of electrons in the sampled time window
TH2F * fMuonAnglesHi
Muon rate vs angle, high momenta.
TH1F * fPhotonCosQ
Photon rate vs cos(Q)
TH2F * fElectronAnglesLo
Electron rate vs angle, low momenta.
TH1F * fPhotonsPerSample
number of photons in the sampled time window
TH2F * fPhotonAngles
Photon rate vs angle.
TH1F * fElectronCosQ
Electron rate vs cos(Q)
TH2F * fElectronAnglesHi
Electron rate vs angle, high momenta.
TH2F * fMuonAnglesMi
Muon rate vs angle, middle momenta.
TH2F * fElectronAngles
Electron rate vs angle.
TH1F * fMuonCosQ
Muon rate vs cos(Q)
TH2F * fPhotonAnglesLo
Photon rate vs angle, low momenta.
TH2F * fMuonAnglesLo
Muon rate vs angle, low momenta.
TH2F * fPhotonAnglesHi
Photon rate vs angle, high momenta.
TH1F * fElectronEnergy
Electron energy (GeV)
TH1F * fPhotonEnergy
Photon energy (GeV)
TH2F * fPhotonAnglesMi
Photon rate vs angle, middle momenta.
TH1F * fMuonsPerSample
number of muons in the sampled time window
TH2F * fElectronAnglesMi
Electron rate vs angle, middle momenta.
TH1F * fMuonEnergy
Muon energy (GeV)
void gar::evgen::CosmicsGen::beginRun ( ::art::Run run)

Definition at line 172 of file CosmicsGen_module.cc.

173  {
174  // grab the geometry object to see what geometry we are using
175  auto geo = gar::providerFrom<geo::GeometryGAr>();
176 
177  std::unique_ptr<gar::sumdata::RunData> runcol(new gar::sumdata::RunData(geo->DetectorName()));
178 
179  run.put(std::move(runcol));
180 
181  return;
182  }
def move(depos, offset)
Definition: depos.py:107
ProductID put(std::unique_ptr< PROD > &&edp, std::string const &instance={})
Definition: DataViewImpl.h:686
LArSoft geometry interface.
Definition: ChannelGeo.h:16
void gar::evgen::CosmicsGen::produce ( ::art::Event evt)

Definition at line 185 of file CosmicsGen_module.cc.

186  {
187  std::unique_ptr< std::vector<simb::MCTruth> > truthcol(new std::vector<simb::MCTruth>);
188 
189  // fill some histograms about this event
190  auto geom = gar::providerFrom<geo::GeometryGAr>();
191 
192  // int nCrossCryostat = 0; // no cryostat here.
193 
194  simb::MCTruth truth;
195 
196  // don't need to have a particle on every event
197 
198  //while(nCrossCryostat < 1){
199 
200  simb::MCTruth pretruth;
202  //std::cout << " calling CRY Helper: " << geom->SurfaceY() << " " << geom->TPCLength() << std::endl;
203  fCRYHelp->Sample(pretruth,
204  geom->SurfaceY(),
205  geom->TPCLength(),
206  0);
207 
208  int numPhotons = 0;
209  int numElectrons = 0;
210  int numMuons = 0;
211  int allPhotons = 0;
212  int allElectrons = 0;
213  int allMuons = 0;
214 
215  // loop over particles in the truth object
216  for(int i = 0; i < pretruth.NParticles(); ++i){
217  simb::MCParticle particle = pretruth.GetParticle(i);
218  const TLorentzVector& p4 = particle.Momentum();
219 
220  if (std::abs(particle.PdgCode())==13) ++allMuons;
221  else if (std::abs(particle.PdgCode())==22) ++allPhotons;
222  else if (std::abs(particle.PdgCode())==11) ++allElectrons;
223 
224  TH1F* hCosQ = 0;
225  TH2F* hAngles = 0;
226  TH2F* hAnglesLo = 0;
227  TH2F* hAnglesMi = 0;
228  TH2F* hAnglesHi = 0;
229  TH1F* hEnergy = 0;
230  if (std::abs(particle.PdgCode())==13) {
231  hCosQ = fMuonCosQ;
232  hAngles = fMuonAngles;
233  hAnglesLo = fMuonAnglesLo;
234  hAnglesMi = fMuonAnglesMi;
235  hAnglesHi = fMuonAnglesHi;
236  hEnergy = fMuonEnergy;
237  }
238  else if (std::abs(particle.PdgCode())==22) {
239  hCosQ = fPhotonCosQ;
240  hAngles = fPhotonAngles;
241  hAnglesLo = fPhotonAnglesLo;
242  hAnglesMi = fPhotonAnglesMi;
243  hAnglesHi = fPhotonAnglesHi;
244  hEnergy = fPhotonEnergy;
245  }
246  else if (std::abs(particle.PdgCode())==11) {
247  hCosQ = fElectronCosQ;
248  hAngles = fElectronAngles;
249  hAnglesLo = fElectronAnglesLo;
250  hAnglesMi = fElectronAnglesMi;
251  hAnglesHi = fElectronAnglesHi;
252  hEnergy = fElectronEnergy;
253  }
254 
255  // TODO: check if the particle goes through the detector, if it does
256  // add it to the list
257 
258  truth.Add(particle);
259 
260  if (std::abs(particle.PdgCode())==13) ++numMuons;
261  else if (std::abs(particle.PdgCode())==22) ++numPhotons;
262  else if (std::abs(particle.PdgCode())==11) ++numElectrons;
263 
264  if (hCosQ!=0) {
265  double cosq = -p4.Py()/p4.P();
266  double phi = std::atan2(p4.Pz(),p4.Px());
267  phi *= 180/M_PI;
268  hCosQ->Fill(cosq);
269  hAngles->Fill(phi,cosq);
270  if (p4.E()<1.0) hAnglesLo->Fill(phi,cosq);
271  else if (p4.E()<10.0) hAnglesMi->Fill(phi,cosq);
272  else hAnglesHi->Fill(phi,cosq);
273  hEnergy->Fill(p4.E());
274  }//end if there is a cos(theta) histogram
275 
276  }// loop on particles
277 
278  //}
279 
280  truthcol->push_back(truth);
281  evt.put(std::move(truthcol));
282 
283  return;
284  }// end produce
TH2F * fMuonAngles
Muon rate vs angle.
int PdgCode() const
Definition: MCParticle.h:212
TH2F * fMuonAnglesHi
Muon rate vs angle, high momenta.
TH1F * fPhotonCosQ
Photon rate vs cos(Q)
evgb::CRYHelper * fCRYHelp
CRY generator object.
void SetOrigin(simb::Origin_t origin)
Definition: MCTruth.h:82
TH2F * fElectronAnglesLo
Electron rate vs angle, low momenta.
TH2F * fPhotonAngles
Photon rate vs angle.
TH1F * fElectronCosQ
Electron rate vs cos(Q)
int NParticles() const
Definition: MCTruth.h:75
TH2F * fElectronAnglesHi
Electron rate vs angle, high momenta.
TH2F * fMuonAnglesMi
Muon rate vs angle, middle momenta.
T abs(T value)
double Sample(simb::MCTruth &mctruth, double const &surfaceY, double const &detectorLength, double *w, double rantime=0)
Definition: CRYHelper.cxx:97
TH2F * fElectronAngles
Electron rate vs angle.
TH1F * fMuonCosQ
Muon rate vs cos(Q)
def move(depos, offset)
Definition: depos.py:107
TH2F * fPhotonAnglesLo
Photon rate vs angle, low momenta.
TH2F * fMuonAnglesLo
Muon rate vs angle, low momenta.
ProductID put(std::unique_ptr< PROD > &&edp, std::string const &instance={})
Definition: DataViewImpl.h:686
TH2F * fPhotonAnglesHi
Photon rate vs angle, high momenta.
const simb::MCParticle & GetParticle(int i) const
Definition: MCTruth.h:76
#define M_PI
Definition: includeROOT.h:54
TH1F * fElectronEnergy
Electron energy (GeV)
TH1F * fPhotonEnergy
Photon energy (GeV)
TH2F * fPhotonAnglesMi
Photon rate vs angle, middle momenta.
const TLorentzVector & Momentum(const int i=0) const
Definition: MCParticle.h:220
TH2F * fElectronAnglesMi
Electron rate vs angle, middle momenta.
Event generator information.
Definition: MCTruth.h:32
TH1F * fMuonEnergy
Muon energy (GeV)
Cosmic rays.
Definition: MCTruth.h:24
void gar::evgen::CosmicsGen::reconfigure ( fhicl::ParameterSet const &  p)

Definition at line 121 of file CosmicsGen_module.cc.

122  {
123  if(fCRYHelp){
124  delete fCRYHelp;
125  fCRYHelp = 0;
126  }
127 
128  CLHEP::HepRandomEngine &engine = art::ServiceHandle<rndm::NuRandomService>()->createEngine(*this,p,"Seed");
129 
130  auto geo = gar::providerFrom<gar::geo::GeometryGAr>();
131 
132  fCRYHelp = new evgb::CRYHelper(p, engine, geo->GetWorldVolumeName());
133 
134  return;
135  }
base_engine_t & createEngine(seed_t seed)
Interface to the CRY cosmic-ray generator.
Definition: CRYHelper.h:26
evgb::CRYHelper * fCRYHelp
CRY generator object.
p
Definition: test.py:223
LArSoft geometry interface.
Definition: ChannelGeo.h:16

Member Data Documentation

std::vector<double> gar::evgen::CosmicsGen::fbuffbox
private

Definition at line 61 of file CosmicsGen_module.cc.

evgb::CRYHelper* gar::evgen::CosmicsGen::fCRYHelp
private

CRY generator object.

Definition at line 59 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fElectronAngles
private

Electron rate vs angle.

Definition at line 73 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fElectronAnglesHi
private

Electron rate vs angle, high momenta.

Definition at line 76 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fElectronAnglesLo
private

Electron rate vs angle, low momenta.

Definition at line 74 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fElectronAnglesMi
private

Electron rate vs angle, middle momenta.

Definition at line 75 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fElectronCosQ
private

Electron rate vs cos(Q)

Definition at line 77 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fElectronEnergy
private

Electron energy (GeV)

Definition at line 78 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fElectronsInTPC
private

number of electrons in the tpc during the sampled time window

Definition at line 80 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fElectronsPerSample
private

number of electrons in the sampled time window

Definition at line 79 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fMuonAngles
private

Muon rate vs angle.

Definition at line 83 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fMuonAnglesHi
private

Muon rate vs angle, high momenta.

Definition at line 86 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fMuonAnglesLo
private

Muon rate vs angle, low momenta.

Definition at line 84 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fMuonAnglesMi
private

Muon rate vs angle, middle momenta.

Definition at line 85 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fMuonCosQ
private

Muon rate vs cos(Q)

Definition at line 87 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fMuonEnergy
private

Muon energy (GeV)

Definition at line 88 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fMuonsInTPC
private

number of muons in the tpc during the sampled time window

Definition at line 90 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fMuonsPerSample
private

number of muons in the sampled time window

Definition at line 89 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fPhotonAngles
private

Photon rate vs angle.

Definition at line 63 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fPhotonAnglesHi
private

Photon rate vs angle, high momenta.

Definition at line 66 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fPhotonAnglesLo
private

Photon rate vs angle, low momenta.

Definition at line 64 of file CosmicsGen_module.cc.

TH2F* gar::evgen::CosmicsGen::fPhotonAnglesMi
private

Photon rate vs angle, middle momenta.

Definition at line 65 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fPhotonCosQ
private

Photon rate vs cos(Q)

Definition at line 67 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fPhotonEnergy
private

Photon energy (GeV)

Definition at line 68 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fPhotonsInTPC
private

number of photons in the tpc during the sampled time window

Definition at line 70 of file CosmicsGen_module.cc.

TH1F* gar::evgen::CosmicsGen::fPhotonsPerSample
private

number of photons in the sampled time window

Definition at line 69 of file CosmicsGen_module.cc.

rndm::NuRandomService::seed_t gar::evgen::CosmicsGen::fSeed
private

override seed with a fcl parameter not equal to zero

Definition at line 93 of file CosmicsGen_module.cc.


The documentation for this class was generated from the following file: