#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 13 of file SingleParticleEvent.h.
|
inline |
Definition at line 16 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 34 of file SingleParticleEvent.h.
double SingleParticleEvent::absmom | ( | ) |
Definition at line 316 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 230 of file SingleParticleEvent.cc.
References E_ug, Eloss(), and waterEquivalents.
double SingleParticleEvent::e | ( | ) |
Definition at line 292 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 212 of file SingleParticleEvent.cc.
References patCaloMETCorrections_cff::A, EPS, and JetChargeProducer_cfi::exp.
Referenced by deltaEmin().
double SingleParticleEvent::Eug | ( | ) |
bool SingleParticleEvent::hitTarget | ( | ) |
Definition at line 260 of file SingleParticleEvent.cc.
References HitTarget.
Referenced by CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
int SingleParticleEvent::id | ( | void | ) |
Definition at line 284 of file SingleParticleEvent.cc.
References ID.
Referenced by create(), CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
int SingleParticleEvent::id_in | ( | ) |
double SingleParticleEvent::m | ( | ) |
Definition at line 294 of file SingleParticleEvent.cc.
References M.
Referenced by create(), and CosmicMuonGenerator::nextEvent().
double SingleParticleEvent::m_in | ( | ) |
double SingleParticleEvent::phi | ( | void | ) |
Definition at line 306 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 12 of file SingleParticleEvent.cc.
References absmom(), absVzTmp(), Air, Clay, ClayWidth, dX, dY, dZ, E, HitTarget, inMat(), MinStepSize, MTCC, MuonMass, Plug, PlugVx, PlugVz, Px, Py, Pz, RadiusCMS, RadiusTracker, RhoAir, RhoClay, RhoPlug, RhoRock, RhoWall, Rock, rVxy(), rVxyTmp(), subtractEloss(), tmpVx, tmpVy, tmpVz, 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 286 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 288 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 290 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 324 of file SingleParticleEvent.cc.
References mathSSE::sqrt(), Vx, and Vy.
Referenced by propagate().
|
private |
Definition at line 256 of file SingleParticleEvent.cc.
References mathSSE::sqrt(), tmpVx, and tmpVy.
Referenced by propagate().
void SingleParticleEvent::setEug | ( | double | Eug | ) |
Definition at line 224 of file SingleParticleEvent.cc.
|
private |
Definition at line 198 of file SingleParticleEvent.cc.
References patCaloMETCorrections_cff::A, absmom(), E, EPS, JetChargeProducer_cfi::exp, MuonMass, Px, Py, Pz, and mathSSE::sqrt().
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 236 of file SingleParticleEvent.cc.
References gather_cfg::cout, Debug, PlugWidth, Py_in, and SurfaceOfEarth.
double SingleParticleEvent::t0 | ( | ) |
Definition at line 302 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 312 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 186 of file SingleParticleEvent.cc.
References dX, dY, dZ, Vx, Vy, and Vz.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), propagate(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 192 of file SingleParticleEvent.cc.
References dX, dY, dZ, tmpVx, tmpVy, and tmpVz.
Referenced by propagate().
double SingleParticleEvent::vx | ( | ) |
Definition at line 296 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 298 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 300 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 111 of file SingleParticleEvent.h.
Referenced by propagate(), and SingleParticleEvent().
|
private |
Definition at line 46 of file SingleParticleEvent.h.
Referenced by propagate(), update(), and updateTmp().
|
private |
Definition at line 46 of file SingleParticleEvent.h.
Referenced by propagate(), update(), and updateTmp().
|
private |
Definition at line 46 of file SingleParticleEvent.h.
Referenced by propagate(), update(), and updateTmp().
|
private |
Definition at line 37 of file SingleParticleEvent.h.
Referenced by create(), e(), propagate(), SingleParticleEvent(), and subtractEloss().
|
private |
Definition at line 40 of file SingleParticleEvent.h.
Referenced by create(), e_in(), and SingleParticleEvent().
double SingleParticleEvent::E_ug |
Definition at line 113 of file SingleParticleEvent.h.
Referenced by deltaEmin(), Eug(), and setEug().
|
private |
Definition at line 42 of file SingleParticleEvent.h.
Referenced by create(), hitTarget(), propagate(), and SingleParticleEvent().
|
private |
Definition at line 36 of file SingleParticleEvent.h.
Referenced by create(), id(), and SingleParticleEvent().
|
private |
Definition at line 39 of file SingleParticleEvent.h.
Referenced by create(), id_in(), and SingleParticleEvent().
|
private |
Definition at line 37 of file SingleParticleEvent.h.
Referenced by create(), m(), and SingleParticleEvent().
|
private |
Definition at line 40 of file SingleParticleEvent.h.
Referenced by create(), m_in(), and SingleParticleEvent().
|
private |
Definition at line 43 of file SingleParticleEvent.h.
Referenced by absVzTmp(), and propagate().
double SingleParticleEvent::PlugVx |
Definition at line 104 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
double SingleParticleEvent::PlugVz |
Definition at line 105 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
|
private |
Definition at line 37 of file SingleParticleEvent.h.
Referenced by absmom(), create(), phi(), propagate(), px(), SingleParticleEvent(), subtractEloss(), and theta().
|
private |
Definition at line 40 of file SingleParticleEvent.h.
Referenced by create(), px_in(), and SingleParticleEvent().
|
private |
Definition at line 37 of file SingleParticleEvent.h.
Referenced by absmom(), create(), propagate(), py(), SingleParticleEvent(), subtractEloss(), and theta().
|
private |
Definition at line 40 of file SingleParticleEvent.h.
Referenced by create(), py_in(), SingleParticleEvent(), and SurfProj().
|
private |
Definition at line 37 of file SingleParticleEvent.h.
Referenced by absmom(), create(), phi(), propagate(), pz(), SingleParticleEvent(), subtractEloss(), and theta().
|
private |
Definition at line 40 of file SingleParticleEvent.h.
Referenced by create(), pz_in(), and SingleParticleEvent().
double SingleParticleEvent::RhoAir |
Definition at line 106 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
double SingleParticleEvent::RhoClay |
Definition at line 109 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
double SingleParticleEvent::RhoPlug |
Definition at line 110 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
double SingleParticleEvent::RhoRock |
Definition at line 108 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
double SingleParticleEvent::RhoWall |
Definition at line 107 of file SingleParticleEvent.h.
Referenced by CosmicMuonGenerator::initialize(), propagate(), and SingleParticleEvent().
|
private |
Definition at line 38 of file SingleParticleEvent.h.
Referenced by create(), SingleParticleEvent(), and t0().
|
private |
Definition at line 41 of file SingleParticleEvent.h.
Referenced by create(), SingleParticleEvent(), and t0_in().
|
private |
Definition at line 47 of file SingleParticleEvent.h.
Referenced by propagate(), rVxyTmp(), and updateTmp().
|
private |
Definition at line 47 of file SingleParticleEvent.h.
Referenced by propagate(), rVxyTmp(), and updateTmp().
|
private |
Definition at line 47 of file SingleParticleEvent.h.
Referenced by absVzTmp(), propagate(), and updateTmp().
|
private |
Definition at line 38 of file SingleParticleEvent.h.
Referenced by create(), propagate(), rVxy(), SingleParticleEvent(), update(), and vx().
|
private |
Definition at line 41 of file SingleParticleEvent.h.
Referenced by create(), SingleParticleEvent(), and vx_in().
|
private |
Definition at line 38 of file SingleParticleEvent.h.
Referenced by create(), propagate(), rVxy(), SingleParticleEvent(), update(), and vy().
|
private |
Definition at line 41 of file SingleParticleEvent.h.
Referenced by create(), SingleParticleEvent(), and vy_in().
|
private |
Definition at line 38 of file SingleParticleEvent.h.
Referenced by absVz(), create(), propagate(), SingleParticleEvent(), update(), and vz().
|
private |
Definition at line 41 of file SingleParticleEvent.h.
Referenced by create(), SingleParticleEvent(), and vz_in().
double SingleParticleEvent::waterEquivalents |
Definition at line 112 of file SingleParticleEvent.h.
Referenced by deltaEmin(), propagate(), and WaterEquivalents().