module to produce single or multiple specified particles in the detector More...
Public Member Functions | |
MUSUN (fhicl::ParameterSet const &pset) | |
void | produce (art::Event &evt) |
void | beginJob () |
void | beginRun (art::Run &run) |
void | endRun (art::Run &run) |
Private Member Functions | |
void | SampleOne (unsigned int i, simb::MCTruth &mct, CLHEP::HepRandomEngine &engine) |
void | initialization (double theta1, double theta2, double phi1, double phi2, int figflag, double s_hor, double s_ver1, double s_ver2, double &FI) |
void | sampling (double &E, double &theta, double &phi, double &dep, CLHEP::HepRandomEngine &engine) |
Private Attributes | |
CLHEP::HepRandomEngine & | fEngine |
art-managed random-number engine More... | |
int | fPDG |
PDG code of particles to generate. More... | |
double | fChargeRatio |
Charge ratio of particle / anti-particle. More... | |
std::string | fInputDir |
Input Directory. More... | |
std::string | fInputFile1 |
Input File 1. More... | |
std::string | fInputFile2 |
Input File 2. More... | |
std::string | fInputFile3 |
Input File 3. More... | |
double | fCavernAngle |
Angle of the detector from the North to the East. More... | |
double | fRockDensity |
double | fEmin |
Minimum Kinetic Energy (GeV) More... | |
double | fEmax |
Maximum Kinetic Energy (GeV) More... | |
double | fThetamin |
Minimum theta. More... | |
double | fThetamax |
Maximum theta. More... | |
double | fPhimin |
Minimum phi. More... | |
double | fPhimax |
Maximum phi. More... | |
int | figflag |
If want sampled from sphere or parallelepiped. More... | |
double | fXmin |
Minimum X position. More... | |
double | fYmin |
Minimum Y position. More... | |
double | fZmin |
Minimum Z position. More... | |
double | fXmax |
Maximum X position. More... | |
double | fYmax |
Maximum Y position. More... | |
double | fZmax |
Maximum 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... | |
int | PdgCode |
double | Energy |
double | phi |
double | theta |
double | dep |
double | Time |
double | Momentum |
double | px0 |
double | py0 |
double | pz0 |
double | x0 |
double | y0 |
double | z0 |
double | cx |
double | cy |
double | cz |
double | FI = 0. |
double | s_hor = 0. |
double | s_ver1 = 0. |
double | s_ver2 = 0. |
double | spmu [121][62][51] |
double | fnmu [32401] |
double | depth [360][91] |
double | fmu [360][91] |
double | the1 |
double | the2 |
double | ph1 |
double | ph2 |
double | se = 0. |
double | st = 0. |
double | sp = 0. |
double | sd = 0. |
unsigned int | NEvents = 0 |
TTree * | fTree |
Static Private Attributes | |
static const int | kGAUS = 1 |
module to produce single or multiple specified particles in the detector
Definition at line 191 of file MUSUN_module.cc.
|
explicit |
Definition at line 323 of file MUSUN_module.cc.
void evgen::MUSUN::beginJob | ( | ) |
void evgen::MUSUN::beginRun | ( | art::Run & | run | ) |
void evgen::MUSUN::endRun | ( | art::Run & | run | ) |
|
private |
void evgen::MUSUN::produce | ( | art::Event & | evt | ) |
|
private |
|
private |
|
private |
Definition at line 280 of file MUSUN_module.cc.
|
private |
Definition at line 280 of file MUSUN_module.cc.
|
private |
Definition at line 280 of file MUSUN_module.cc.
|
private |
Definition at line 278 of file MUSUN_module.cc.
|
private |
Definition at line 290 of file MUSUN_module.cc.
|
private |
Definition at line 278 of file MUSUN_module.cc.
|
private |
Angle of the detector from the North to the East.
Definition at line 233 of file MUSUN_module.cc.
|
private |
Charge ratio of particle / anti-particle.
Definition at line 226 of file MUSUN_module.cc.
|
private |
Maximum Kinetic Energy (GeV)
Definition at line 240 of file MUSUN_module.cc.
|
private |
Minimum Kinetic Energy (GeV)
Definition at line 239 of file MUSUN_module.cc.
|
private |
art-managed random-number engine
Definition at line 223 of file MUSUN_module.cc.
|
private |
Definition at line 283 of file MUSUN_module.cc.
|
private |
If want sampled from sphere or parallelepiped.
Definition at line 247 of file MUSUN_module.cc.
|
private |
Input Directory.
Definition at line 228 of file MUSUN_module.cc.
|
private |
Input File 1.
Definition at line 229 of file MUSUN_module.cc.
|
private |
Input File 2.
Definition at line 230 of file MUSUN_module.cc.
|
private |
Input File 3.
Definition at line 231 of file MUSUN_module.cc.
|
private |
Definition at line 291 of file MUSUN_module.cc.
|
private |
Definition at line 289 of file MUSUN_module.cc.
|
private |
PDG code of particles to generate.
Definition at line 225 of file MUSUN_module.cc.
|
private |
Maximum phi.
Definition at line 245 of file MUSUN_module.cc.
|
private |
Minimum phi.
Definition at line 244 of file MUSUN_module.cc.
|
private |
Default rock density is 2.70 g cm-3. If this is changed then the three input files need to be remade. If there is a desire for this contact Vitaly Kudryavtsev at V.Kud ryav tsev@ shef .ac.u k
Definition at line 234 of file MUSUN_module.cc.
|
private |
Variation in t position (ns)
Definition at line 256 of file MUSUN_module.cc.
|
private |
Central t position (ns) in world coordinates.
Definition at line 255 of file MUSUN_module.cc.
|
private |
How to distribute t (gaus, or uniform)
Definition at line 257 of file MUSUN_module.cc.
|
private |
Maximum theta.
Definition at line 243 of file MUSUN_module.cc.
|
private |
Minimum theta.
Definition at line 242 of file MUSUN_module.cc.
|
private |
Definition at line 303 of file MUSUN_module.cc.
|
private |
Maximum X position.
Definition at line 251 of file MUSUN_module.cc.
|
private |
Minimum X position.
Definition at line 248 of file MUSUN_module.cc.
|
private |
Maximum Y position.
Definition at line 252 of file MUSUN_module.cc.
|
private |
Minimum Y position.
Definition at line 249 of file MUSUN_module.cc.
|
private |
Maximum Z position.
Definition at line 253 of file MUSUN_module.cc.
|
private |
Minimum Z position.
Definition at line 250 of file MUSUN_module.cc.
|
staticprivate |
Definition at line 221 of file MUSUN_module.cc.
|
private |
Definition at line 279 of file MUSUN_module.cc.
|
private |
Definition at line 300 of file MUSUN_module.cc.
|
private |
Definition at line 277 of file MUSUN_module.cc.
|
private |
Definition at line 294 of file MUSUN_module.cc.
|
private |
Definition at line 294 of file MUSUN_module.cc.
|
private |
Definition at line 278 of file MUSUN_module.cc.
|
private |
Definition at line 279 of file MUSUN_module.cc.
|
private |
Definition at line 279 of file MUSUN_module.cc.
|
private |
Definition at line 279 of file MUSUN_module.cc.
|
private |
Definition at line 284 of file MUSUN_module.cc.
|
private |
Definition at line 285 of file MUSUN_module.cc.
|
private |
Definition at line 286 of file MUSUN_module.cc.
|
private |
Definition at line 298 of file MUSUN_module.cc.
|
private |
Definition at line 295 of file MUSUN_module.cc.
|
private |
Definition at line 297 of file MUSUN_module.cc.
|
private |
Definition at line 288 of file MUSUN_module.cc.
|
private |
Definition at line 296 of file MUSUN_module.cc.
|
private |
Definition at line 294 of file MUSUN_module.cc.
|
private |
Definition at line 294 of file MUSUN_module.cc.
|
private |
Definition at line 278 of file MUSUN_module.cc.
|
private |
Definition at line 278 of file MUSUN_module.cc.
|
private |
Definition at line 280 of file MUSUN_module.cc.
|
private |
Definition at line 280 of file MUSUN_module.cc.
|
private |
Definition at line 280 of file MUSUN_module.cc.