#include <SingleParticleEvent.h>
Public Member Functions | |
double | absmom () |
double | absVz () |
void | create (int id, double px, double py, double pz, double e, double m, double vx, double vy, double vz, double t0) |
double | deltaEmin (double Energy) |
double | e () |
double | e_in () |
double | Eloss (double waterEquivalents, double Energy) |
double | Eug () |
bool | hitTarget () |
int | id () |
int | id_in () |
double | m () |
double | m_in () |
double | phi () |
void | propagate (double ElossScaleFac, double RadiusTarget, double Z_DistTarget, double Z_CentrTarget, bool TrackerOnly, bool MTCCHalf) |
double | px () |
double | px_in () |
double | py () |
double | py_in () |
double | pz () |
double | pz_in () |
double | rVxy () |
void | setEug (double Eug) |
SingleParticleEvent () | |
void | SurfProj (double Vx_in, double Vy_in, double Vz_in, double Px_in, double Py_in, double Pz_in, double &Vx_up, double &Vy_up, double &Vz_up) |
double | t0 () |
double | t0_in () |
double | theta () |
double | vx () |
double | vx_in () |
double | vy () |
double | vy_in () |
double | vz () |
double | vz_in () |
double | WaterEquivalents () |
~SingleParticleEvent () | |
Public Attributes | |
double | ClayWidth |
double | E_ug |
double | PlugVx |
double | PlugVz |
double | RhoAir |
double | RhoClay |
double | RhoPlug |
double | RhoRock |
double | RhoWall |
double | waterEquivalents |
Private Member Functions | |
double | absVzTmp () |
double | rVxyTmp () |
void | subtractEloss (double waterEquivalents) |
void | update (double stepSize) |
void | updateTmp (double stepSize) |
Private Attributes | |
double | dX |
double | dY |
double | dZ |
double | E |
double | E_in |
bool | HitTarget |
int | ID |
int | ID_in |
double | M |
double | M_in |
bool | MTCC |
double | Px |
double | Px_in |
double | Py |
double | Py_in |
double | Pz |
double | Pz_in |
double | T0 |
double | T0_in |
double | tmpVx |
double | tmpVy |
double | tmpVz |
double | Vx |
double | Vx_in |
double | Vy |
double | Vy_in |
double | Vz |
double | Vz_in |
Definition at line 12 of file SingleParticleEvent.h.
|
inline |
Definition at line 15 of file SingleParticleEvent.h.
References ClayWidth, DefaultClayWidth, E, E_in, HitTarget, ID, ID_in, M, M_in, PlugOnShaftVx, PlugOnShaftVz, PlugVx, PlugVz, Px, Px_in, Py, Py_in, Pz, Pz_in, RhoAir, RhoClay, RhoPlug, RhoRock, RhoWall, T0, T0_in, Vx, Vx_in, Vy, Vy_in, Vz, and Vz_in.
|
inline |
Definition at line 47 of file SingleParticleEvent.h.
double SingleParticleEvent::absmom | ( | ) |
Definition at line 347 of file SingleParticleEvent.cc.
References Px, Py, Pz, and mathSSE::sqrt().
Referenced by propagate(), and subtractEloss().
double SingleParticleEvent::absVz | ( | ) |
|
private |
void SingleParticleEvent::create | ( | int | id, |
double | px, | ||
double | py, | ||
double | pz, | ||
double | e, | ||
double | m, | ||
double | vx, | ||
double | vy, | ||
double | vz, | ||
double | t0 | ||
) |
Definition at line 3 of file SingleParticleEvent.cc.
References E, e(), E_in, HitTarget, ID, id(), ID_in, M, m(), M_in, Px, px(), Px_in, Py, py(), Py_in, Pz, pz(), Pz_in, T0, t0(), T0_in, Vx, vx(), Vx_in, Vy, vy(), Vy_in, Vz, vz(), and Vz_in.
Referenced by CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
double SingleParticleEvent::deltaEmin | ( | double | Energy | ) |
Definition at line 261 of file SingleParticleEvent.cc.
References E_ug, Eloss(), and waterEquivalents.
double SingleParticleEvent::e | ( | ) |
Definition at line 324 of file SingleParticleEvent.cc.
References E.
Referenced by create(), CosmicMuonGenerator::displayEv(), CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
double SingleParticleEvent::e_in | ( | ) |
double SingleParticleEvent::Eloss | ( | double | waterEquivalents, |
double | Energy | ||
) |
Definition at line 246 of file SingleParticleEvent.cc.
References A, B, EcalCondDBWriter_cfi::Energy, MaterialEffects_cfi::EnergyLoss, EPS, JetChargeProducer_cfi::exp, and waterEquivalents.
Referenced by deltaEmin().
double SingleParticleEvent::Eug | ( | ) |
bool SingleParticleEvent::hitTarget | ( | ) |
Definition at line 294 of file SingleParticleEvent.cc.
References HitTarget.
Referenced by CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
int SingleParticleEvent::id | ( | void | ) |
Definition at line 316 of file SingleParticleEvent.cc.
References ID.
Referenced by create(), CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
int SingleParticleEvent::id_in | ( | ) |
double SingleParticleEvent::m | ( | ) |
Definition at line 326 of file SingleParticleEvent.cc.
References M.
Referenced by create(), and CosmicMuonGenerator::nextEvent().
double SingleParticleEvent::m_in | ( | ) |
double SingleParticleEvent::phi | ( | void | ) |
Definition at line 338 of file SingleParticleEvent.cc.
Referenced by Particle.Particle::__str__(), CosmicMuonGenerator::goodOrientation(), CosmicMuonGenerator::nextEvent(), and ntupleDataFormat.Track::phiPull().
void SingleParticleEvent::propagate | ( | double | ElossScaleFac, |
double | RadiusTarget, | ||
double | Z_DistTarget, | ||
double | Z_CentrTarget, | ||
bool | TrackerOnly, | ||
bool | MTCCHalf | ||
) |
Definition at line 18 of file SingleParticleEvent.cc.
References absmom(), absVzTmp(), Air, Clay, ClayWidth, dX, dY, dZ, E, HitTarget, inMat(), MinStepSize, MTCC, CMSCGENproducer_cfi::MTCCHalf, MuonMass, Plug, PlugVx, PlugVz, Px, Py, Pz, RadiusCMS, RadiusTracker, RhoAir, RhoClay, RhoPlug, RhoRock, RhoWall, Rock, rVxy(), rVxyTmp(), subtractEloss(), tmpVx, tmpVy, tmpVz, CMSCGENproducer_cfi::TrackerOnly, update(), updateTmp(), Vx, Vy, Vz, Wall, waterEquivalents, Z_DistCMS, and Z_DistTracker.
Referenced by CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
double SingleParticleEvent::px | ( | ) |
Definition at line 318 of file SingleParticleEvent.cc.
References Px.
Referenced by create(), CosmicMuonGenerator::displayEv(), CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
double SingleParticleEvent::px_in | ( | ) |
double SingleParticleEvent::py | ( | ) |
Definition at line 320 of file SingleParticleEvent.cc.
References Py.
Referenced by create(), CosmicMuonGenerator::displayEv(), CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
double SingleParticleEvent::py_in | ( | ) |
double SingleParticleEvent::pz | ( | ) |
Definition at line 322 of file SingleParticleEvent.cc.
References Pz.
Referenced by create(), CosmicMuonGenerator::displayEv(), CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
double SingleParticleEvent::pz_in | ( | ) |
double SingleParticleEvent::rVxy | ( | ) |
Definition at line 351 of file SingleParticleEvent.cc.
References mathSSE::sqrt(), Vx, and Vy.
Referenced by propagate().
|
private |
Definition at line 292 of file SingleParticleEvent.cc.
References mathSSE::sqrt(), tmpVx, and tmpVy.
Referenced by propagate().
void SingleParticleEvent::setEug | ( | double | Eug | ) |
Definition at line 257 of file SingleParticleEvent.cc.
|
private |
Definition at line 232 of file SingleParticleEvent.cc.
References A, absmom(), B, E, EPS, JetChargeProducer_cfi::exp, MuonMass, Px, Py, Pz, mathSSE::sqrt(), and waterEquivalents.
Referenced by propagate().
void SingleParticleEvent::SurfProj | ( | double | Vx_in, |
double | Vy_in, | ||
double | Vz_in, | ||
double | Px_in, | ||
double | Py_in, | ||
double | Pz_in, | ||
double & | Vx_up, | ||
double & | Vy_up, | ||
double & | Vz_up | ||
) |
Definition at line 266 of file SingleParticleEvent.cc.
References gather_cfg::cout, Debug, PVValHelper::dy, PlugWidth, Px_in, Py_in, Pz_in, SurfaceOfEarth, Vx_in, Vy_in, and Vz_in.
double SingleParticleEvent::t0 | ( | ) |
Definition at line 334 of file SingleParticleEvent.cc.
References T0.
Referenced by create(), CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
double SingleParticleEvent::t0_in | ( | ) |
double SingleParticleEvent::theta | ( | void | ) |
Definition at line 345 of file SingleParticleEvent.cc.
References Px, Py, Pz, and mathSSE::sqrt().
Referenced by CosmicMuonGenerator::goodOrientation(), CosmicMuonGenerator::nextEvent(), and Tau.Tau::zImpact().
|
private |
Definition at line 220 of file SingleParticleEvent.cc.
References dX, dY, dZ, Vx, Vy, and Vz.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), MatrixUtil.Steps::overwrite(), and propagate().
|
private |
Definition at line 226 of file SingleParticleEvent.cc.
References dX, dY, dZ, tmpVx, tmpVy, and tmpVz.
Referenced by propagate().
double SingleParticleEvent::vx | ( | ) |
Definition at line 328 of file SingleParticleEvent.cc.
References Vx.
Referenced by create(), CosmicMuonGenerator::displayEv(), CosmicMuonGenerator::goodOrientation(), CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
double SingleParticleEvent::vx_in | ( | ) |
double SingleParticleEvent::vy | ( | ) |
Definition at line 330 of file SingleParticleEvent.cc.
References Vy.
Referenced by create(), CosmicMuonGenerator::displayEv(), CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
double SingleParticleEvent::vy_in | ( | ) |
double SingleParticleEvent::vz | ( | ) |
Definition at line 332 of file SingleParticleEvent.cc.
References Vz.
Referenced by create(), CosmicMuonGenerator::displayEv(), CosmicMuonGenerator::goodOrientation(), CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
double SingleParticleEvent::vz_in | ( | ) |
double SingleParticleEvent::WaterEquivalents | ( | ) |
double SingleParticleEvent::ClayWidth |
Definition at line 153 of file SingleParticleEvent.h.
Referenced by propagate(), and SingleParticleEvent().
|
private |
Definition at line 74 of file SingleParticleEvent.h.
Referenced by propagate(), update(), and updateTmp().
|
private |
Definition at line 75 of file SingleParticleEvent.h.
Referenced by propagate(), update(), and updateTmp().
|
private |
Definition at line 76 of file SingleParticleEvent.h.
Referenced by propagate(), update(), and updateTmp().
|
private |
Definition at line 54 of file SingleParticleEvent.h.
Referenced by create(), e(), propagate(), SingleParticleEvent(), and subtractEloss().
|
private |
Definition at line 64 of file SingleParticleEvent.h.
Referenced by create(), e_in(), and SingleParticleEvent().
double SingleParticleEvent::E_ug |
Definition at line 155 of file SingleParticleEvent.h.
Referenced by deltaEmin(), Eug(), and setEug().
|
private |
Definition at line 70 of file SingleParticleEvent.h.
Referenced by create(), hitTarget(), propagate(), and SingleParticleEvent().
|
private |
Definition at line 50 of file SingleParticleEvent.h.
Referenced by create(), id(), and SingleParticleEvent().
|
private |
Definition at line 60 of file SingleParticleEvent.h.
Referenced by create(), id_in(), and SingleParticleEvent().
|
private |
Definition at line 55 of file SingleParticleEvent.h.
Referenced by create(), m(), and SingleParticleEvent().
|
private |
Definition at line 65 of file SingleParticleEvent.h.
Referenced by create(), m_in(), and SingleParticleEvent().
|
private |
Definition at line 71 of file SingleParticleEvent.h.
Referenced by absVzTmp(), and propagate().
double SingleParticleEvent::PlugVx |
Definition at line 146 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
double SingleParticleEvent::PlugVz |
Definition at line 147 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
|
private |
Definition at line 51 of file SingleParticleEvent.h.
Referenced by absmom(), create(), phi(), propagate(), px(), SingleParticleEvent(), subtractEloss(), and theta().
|
private |
Definition at line 61 of file SingleParticleEvent.h.
Referenced by create(), px_in(), SingleParticleEvent(), and SurfProj().
|
private |
Definition at line 52 of file SingleParticleEvent.h.
Referenced by absmom(), create(), propagate(), py(), SingleParticleEvent(), subtractEloss(), and theta().
|
private |
Definition at line 62 of file SingleParticleEvent.h.
Referenced by create(), py_in(), SingleParticleEvent(), and SurfProj().
|
private |
Definition at line 53 of file SingleParticleEvent.h.
Referenced by absmom(), create(), phi(), propagate(), pz(), SingleParticleEvent(), subtractEloss(), and theta().
|
private |
Definition at line 63 of file SingleParticleEvent.h.
Referenced by create(), pz_in(), SingleParticleEvent(), and SurfProj().
double SingleParticleEvent::RhoAir |
Definition at line 148 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
double SingleParticleEvent::RhoClay |
Definition at line 151 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
double SingleParticleEvent::RhoPlug |
Definition at line 152 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
double SingleParticleEvent::RhoRock |
Definition at line 150 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
double SingleParticleEvent::RhoWall |
Definition at line 149 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
|
private |
Definition at line 59 of file SingleParticleEvent.h.
Referenced by create(), SingleParticleEvent(), and t0().
|
private |
Definition at line 69 of file SingleParticleEvent.h.
Referenced by create(), SingleParticleEvent(), and t0_in().
|
private |
Definition at line 77 of file SingleParticleEvent.h.
Referenced by propagate(), rVxyTmp(), and updateTmp().
|
private |
Definition at line 78 of file SingleParticleEvent.h.
Referenced by propagate(), rVxyTmp(), and updateTmp().
|
private |
Definition at line 79 of file SingleParticleEvent.h.
Referenced by absVzTmp(), propagate(), and updateTmp().
|
private |
Definition at line 56 of file SingleParticleEvent.h.
Referenced by create(), propagate(), rVxy(), SingleParticleEvent(), update(), and vx().
|
private |
Definition at line 66 of file SingleParticleEvent.h.
Referenced by create(), SingleParticleEvent(), SurfProj(), and vx_in().
|
private |
Definition at line 57 of file SingleParticleEvent.h.
Referenced by create(), propagate(), rVxy(), SingleParticleEvent(), update(), and vy().
|
private |
Definition at line 67 of file SingleParticleEvent.h.
Referenced by create(), SingleParticleEvent(), SurfProj(), and vy_in().
|
private |
Definition at line 58 of file SingleParticleEvent.h.
Referenced by absVz(), create(), propagate(), SingleParticleEvent(), update(), and vz().
|
private |
Definition at line 68 of file SingleParticleEvent.h.
Referenced by create(), SingleParticleEvent(), SurfProj(), and vz_in().
double SingleParticleEvent::waterEquivalents |
Definition at line 154 of file SingleParticleEvent.h.
Referenced by deltaEmin(), Eloss(), propagate(), subtractEloss(), and WaterEquivalents().