EDepSimMeanCountGenerator.cc
Go to the documentation of this file.
1 #include <G4Poisson.hh>
2 
5 
7  double mean,
8  double intensity)
9  : EDepSim::VCountGenerator(name, intensity), fMean(mean) {}
10 
12 
14  return G4Poisson(fMean);
15 }
static QCString name
Definition: declinfo.cpp:673
int GetCount()
Return the number of events to generate.
Construct a module from components.
Definition: TG4HitSegment.h:10
MeanCountGenerator(G4String name, double mean, double intensity)
double fMean
The number of events to generate.
double mean(sqlite3 *db, std::string const &table_name, std::string const &column_name)
Definition: statistics.cc:16