#include <SimG4CMS/PPS/interface/PPSPixelG4Hit.h>
Public Member Functions | |
void | addEnergyDeposit (const PPSPixelG4Hit &aHit) |
void | addEnergyDeposit (double em, double hd) |
void | Draw () override |
double | eM () const |
double | energyDeposit () const |
float | energyLoss () const |
const G4ThreeVector & | entryPoint () const |
const G4ThreeVector & | exitPoint () const |
double | hadr () const |
double | incidentEnergy () const |
const G4ThreeVector & | meanPosition () const |
const PPSPixelG4Hit & | operator= (const PPSPixelG4Hit &right) |
int | operator== (const PPSPixelG4Hit &) |
float | p () const |
int | parentId () const |
int | particleType () const |
float | phiAtEntry () const |
PPSPixelG4Hit () | |
PPSPixelG4Hit (const PPSPixelG4Hit &right) | |
void | Print () override |
float | px () const |
float | py () const |
float | pz () const |
void | setEM (double e) |
void | setEnergyLoss (float e) |
void | setEntryPoint (const G4ThreeVector &) |
void | setExitPoint (const G4ThreeVector &) |
void | setHadr (double e) |
void | setIncidentEnergy (double e) |
void | setMeanPosition (const G4ThreeVector &a) |
void | setP (float e) |
void | setParentId (int p) |
void | setParticleType (short i) |
void | setPhiAtEntry (float f) |
void | setPx (float e) |
void | setPy (float e) |
void | setPz (float e) |
void | setThetaAtEntry (float t) |
void | setTimeSlice (double d) |
void | setTof (float e) |
void | setTrackID (int i) |
void | setUnitID (uint32_t i) |
void | setVPx (float e) |
void | setVPy (float e) |
void | setVPz (float e) |
void | setVx (float p) |
void | setVy (float p) |
void | setVz (float p) |
void | setX (float t) |
void | setY (float t) |
void | setZ (float t) |
float | thetaAtEntry () const |
double | timeSlice () const |
int | timeSliceID () const |
float | tof () const |
int | trackID () const |
uint32_t | unitID () const |
float | vPx () const |
float | vPy () const |
float | vPz () const |
float | vx () const |
float | vy () const |
float | vz () const |
float | x () const |
float | y () const |
float | z () const |
~PPSPixelG4Hit () override=default | |
Private Attributes | |
double | elem_ |
double | hadr_ |
G4ThreeVector | MeanPosition_ |
float | theEnergyLoss_ |
G4ThreeVector | theEntryPoint_ |
G4ThreeVector | theExitPoint_ |
double | theIncidentEnergy_ |
float | thePabs_ |
int | theParentId_ |
int | theParticleType_ |
float | thePhiAtEntry_ |
float | thePx_ |
float | thePy_ |
float | thePz_ |
float | theThetaAtEntry_ |
double | theTimeSlice_ |
float | theTof_ |
int | theTrackID_ |
uint32_t | theUnitID_ |
float | theVPx_ |
float | theVPy_ |
float | theVPz_ |
float | theVx_ |
float | theVy_ |
float | theVz_ |
float | theX_ |
float | theY_ |
float | theZ_ |
Description: Transient Hit class for PPS taken from those for Calorimeters
Usage: One Hit object should be created -for each new particle entering the calorimeter -for each detector unit (= cristal or fiber or scintillator layer) -for each nanosecond of the shower development
This implies that all hit objects created for a given shower have the same value for
Definition at line 38 of file PPSPixelG4Hit.h.
PPSPixelG4Hit::PPSPixelG4Hit | ( | ) |
Definition at line 24 of file PPSPixelG4Hit.cc.
References elem_, hadr_, theEnergyLoss_, theIncidentEnergy_, thePabs_, theParentId_, theParticleType_, thePhiAtEntry_, thePx_, thePy_, thePz_, theThetaAtEntry_, theTimeSlice_, theTof_, theTrackID_, theUnitID_, theVPx_, theVPy_, theVPz_, theVx_, theVy_, theVz_, theX_, theY_, and theZ_.
|
overridedefault |
PPSPixelG4Hit::PPSPixelG4Hit | ( | const PPSPixelG4Hit & | right | ) |
Definition at line 53 of file PPSPixelG4Hit.cc.
References elem_, hadr_, MeanPosition_, theEnergyLoss_, theEntryPoint_, theExitPoint_, theIncidentEnergy_, thePabs_, theParentId_, theParticleType_, thePhiAtEntry_, thePx_, thePy_, thePz_, theThetaAtEntry_, theTimeSlice_, theTof_, theTrackID_, theUnitID_, theVPx_, theVPy_, theVPz_, theVx_, theVy_, theVz_, theX_, theY_, and theZ_.
void PPSPixelG4Hit::addEnergyDeposit | ( | const PPSPixelG4Hit & | aHit | ) |
void PPSPixelG4Hit::addEnergyDeposit | ( | double | em, |
double | hd | ||
) |
|
inlineoverride |
Definition at line 50 of file PPSPixelG4Hit.h.
double PPSPixelG4Hit::eM | ( | ) | const |
Definition at line 137 of file PPSPixelG4Hit.cc.
References elem_.
Referenced by addEnergyDeposit().
double PPSPixelG4Hit::energyDeposit | ( | ) | const |
float PPSPixelG4Hit::energyLoss | ( | void | ) | const |
Definition at line 165 of file PPSPixelG4Hit.cc.
References theEnergyLoss_.
Referenced by PPSPixelSD::EndOfEvent().
const G4ThreeVector & PPSPixelG4Hit::entryPoint | ( | ) | const |
Definition at line 129 of file PPSPixelG4Hit.cc.
References theEntryPoint_.
Referenced by PPSPixelSD::EndOfEvent().
const G4ThreeVector & PPSPixelG4Hit::exitPoint | ( | ) | const |
Definition at line 133 of file PPSPixelG4Hit.cc.
References theExitPoint_.
Referenced by PPSPixelSD::EndOfEvent().
double PPSPixelG4Hit::hadr | ( | ) | const |
Definition at line 140 of file PPSPixelG4Hit.cc.
References hadr_.
Referenced by addEnergyDeposit().
double PPSPixelG4Hit::incidentEnergy | ( | ) | const |
|
inline |
const PPSPixelG4Hit & PPSPixelG4Hit::operator= | ( | const PPSPixelG4Hit & | right | ) |
Definition at line 87 of file PPSPixelG4Hit.cc.
References elem_, hadr_, MeanPosition_, theEnergyLoss_, theEntryPoint_, theExitPoint_, theIncidentEnergy_, thePabs_, theParentId_, theParticleType_, thePhiAtEntry_, thePx_, thePy_, thePz_, theThetaAtEntry_, theTimeSlice_, theTof_, theTrackID_, theUnitID_, theVPx_, theVPy_, theVPz_, theVx_, theVy_, theVz_, theX_, theY_, and theZ_.
|
inline |
Definition at line 47 of file PPSPixelG4Hit.h.
float PPSPixelG4Hit::p | ( | ) | const |
Definition at line 163 of file PPSPixelG4Hit.cc.
References thePabs_.
Referenced by PPSPixelSD::EndOfEvent(), Electron.Electron::ptErr(), and setParentId().
int PPSPixelG4Hit::parentId | ( | ) | const |
int PPSPixelG4Hit::particleType | ( | ) | const |
Definition at line 166 of file PPSPixelG4Hit.cc.
References theParticleType_.
Referenced by PPSPixelSD::EndOfEvent().
float PPSPixelG4Hit::phiAtEntry | ( | ) | const |
Definition at line 186 of file PPSPixelG4Hit.cc.
References thePhiAtEntry_.
Referenced by PPSPixelSD::EndOfEvent().
|
override |
Definition at line 127 of file PPSPixelG4Hit.cc.
float PPSPixelG4Hit::px | ( | ) | const |
float PPSPixelG4Hit::py | ( | ) | const |
float PPSPixelG4Hit::pz | ( | ) | const |
void PPSPixelG4Hit::setEM | ( | double | e | ) |
Definition at line 138 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and elem_.
void PPSPixelG4Hit::setEnergyLoss | ( | float | e | ) |
Definition at line 182 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and theEnergyLoss_.
Referenced by PPSPixelSD::createNewHit(), and PPSPixelSD::updateHit().
void PPSPixelG4Hit::setEntryPoint | ( | const G4ThreeVector & | xyz | ) |
Definition at line 131 of file PPSPixelG4Hit.cc.
References theEntryPoint_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setExitPoint | ( | const G4ThreeVector & | xyz | ) |
Definition at line 135 of file PPSPixelG4Hit.cc.
References theExitPoint_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setHadr | ( | double | e | ) |
Definition at line 141 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and hadr_.
void PPSPixelG4Hit::setIncidentEnergy | ( | double | e | ) |
Definition at line 144 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and theIncidentEnergy_.
Referenced by PPSPixelSD::createNewHit().
|
inline |
Definition at line 54 of file PPSPixelG4Hit.h.
References a, and MeanPosition_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setP | ( | float | e | ) |
Definition at line 174 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and thePabs_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setParentId | ( | int | p | ) |
Definition at line 201 of file PPSPixelG4Hit.cc.
References p(), and theParentId_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setParticleType | ( | short | i | ) |
Definition at line 183 of file PPSPixelG4Hit.cc.
References mps_fire::i, and theParticleType_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setPhiAtEntry | ( | float | f | ) |
Definition at line 189 of file PPSPixelG4Hit.cc.
References f, and thePhiAtEntry_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setPx | ( | float | e | ) |
Definition at line 175 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and thePx_.
void PPSPixelG4Hit::setPy | ( | float | e | ) |
Definition at line 176 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and thePy_.
void PPSPixelG4Hit::setPz | ( | float | e | ) |
Definition at line 177 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and thePz_.
void PPSPixelG4Hit::setThetaAtEntry | ( | float | t | ) |
Definition at line 188 of file PPSPixelG4Hit.cc.
References submitPVValidationJobs::t, and theThetaAtEntry_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setTimeSlice | ( | double | d | ) |
Definition at line 153 of file PPSPixelG4Hit.cc.
References ztail::d, and theTimeSlice_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setTof | ( | float | e | ) |
Definition at line 181 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and theTof_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setTrackID | ( | int | i | ) |
Definition at line 147 of file PPSPixelG4Hit.cc.
References mps_fire::i, and theTrackID_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setUnitID | ( | uint32_t | i | ) |
Definition at line 150 of file PPSPixelG4Hit.cc.
References mps_fire::i, and theUnitID_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setVPx | ( | float | e | ) |
Definition at line 178 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and theVPx_.
void PPSPixelG4Hit::setVPy | ( | float | e | ) |
Definition at line 179 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and theVPy_.
void PPSPixelG4Hit::setVPz | ( | float | e | ) |
Definition at line 180 of file PPSPixelG4Hit.cc.
References MillePedeFileConverter_cfg::e, and theVPz_.
void PPSPixelG4Hit::setVx | ( | float | p | ) |
Definition at line 204 of file PPSPixelG4Hit.cc.
References submitPVValidationJobs::t, and theVx_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setVy | ( | float | p | ) |
Definition at line 207 of file PPSPixelG4Hit.cc.
References submitPVValidationJobs::t, and theVy_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setVz | ( | float | p | ) |
Definition at line 210 of file PPSPixelG4Hit.cc.
References submitPVValidationJobs::t, and theVz_.
Referenced by PPSPixelSD::createNewHit().
void PPSPixelG4Hit::setX | ( | float | t | ) |
Definition at line 192 of file PPSPixelG4Hit.cc.
References submitPVValidationJobs::t, and theX_.
void PPSPixelG4Hit::setY | ( | float | t | ) |
Definition at line 195 of file PPSPixelG4Hit.cc.
References submitPVValidationJobs::t, and theY_.
void PPSPixelG4Hit::setZ | ( | float | t | ) |
Definition at line 198 of file PPSPixelG4Hit.cc.
References submitPVValidationJobs::t, and theZ_.
float PPSPixelG4Hit::thetaAtEntry | ( | ) | const |
Definition at line 185 of file PPSPixelG4Hit.cc.
References theThetaAtEntry_.
Referenced by PPSPixelSD::EndOfEvent().
double PPSPixelG4Hit::timeSlice | ( | ) | const |
int PPSPixelG4Hit::timeSliceID | ( | ) | const |
Definition at line 154 of file PPSPixelG4Hit.cc.
References theTimeSlice_.
Referenced by PPSPixelSD::hitExists().
float PPSPixelG4Hit::tof | ( | ) | const |
Definition at line 164 of file PPSPixelG4Hit.cc.
References theTof_.
Referenced by PPSPixelSD::EndOfEvent().
int PPSPixelG4Hit::trackID | ( | ) | const |
Definition at line 146 of file PPSPixelG4Hit.cc.
References theTrackID_.
Referenced by PPSPixelSD::EndOfEvent(), and PPSPixelSD::hitExists().
uint32_t PPSPixelG4Hit::unitID | ( | ) | const |
Definition at line 149 of file PPSPixelG4Hit.cc.
References theUnitID_.
Referenced by PPSPixelSD::EndOfEvent(), and PPSPixelSD::hitExists().
float PPSPixelG4Hit::vPx | ( | ) | const |
float PPSPixelG4Hit::vPy | ( | ) | const |
float PPSPixelG4Hit::vPz | ( | ) | const |
float PPSPixelG4Hit::vx | ( | ) | const |
float PPSPixelG4Hit::vy | ( | ) | const |
float PPSPixelG4Hit::vz | ( | ) | const |
float PPSPixelG4Hit::x | ( | ) | const |
Definition at line 191 of file PPSPixelG4Hit.cc.
References theX_.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
float PPSPixelG4Hit::y | ( | ) | const |
Definition at line 194 of file PPSPixelG4Hit.cc.
References theY_.
Referenced by svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
float PPSPixelG4Hit::z | ( | ) | const |
Definition at line 197 of file PPSPixelG4Hit.cc.
References theZ_.
Referenced by PPSPixelSD::EndOfEvent(), geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 132 of file PPSPixelG4Hit.h.
Referenced by addEnergyDeposit(), eM(), energyDeposit(), operator=(), PPSPixelG4Hit(), and setEM().
|
private |
Definition at line 133 of file PPSPixelG4Hit.h.
Referenced by addEnergyDeposit(), energyDeposit(), hadr(), operator=(), PPSPixelG4Hit(), and setHadr().
|
private |
Definition at line 131 of file PPSPixelG4Hit.h.
Referenced by meanPosition(), operator=(), PPSPixelG4Hit(), and setMeanPosition().
|
private |
Definition at line 145 of file PPSPixelG4Hit.h.
Referenced by energyLoss(), operator=(), PPSPixelG4Hit(), and setEnergyLoss().
|
private |
Definition at line 150 of file PPSPixelG4Hit.h.
Referenced by entryPoint(), operator=(), PPSPixelG4Hit(), and setEntryPoint().
|
private |
Definition at line 151 of file PPSPixelG4Hit.h.
Referenced by exitPoint(), operator=(), PPSPixelG4Hit(), and setExitPoint().
|
private |
Definition at line 134 of file PPSPixelG4Hit.h.
Referenced by incidentEnergy(), operator=(), PPSPixelG4Hit(), and setIncidentEnergy().
|
private |
Definition at line 143 of file PPSPixelG4Hit.h.
Referenced by operator=(), p(), PPSPixelG4Hit(), and setP().
|
private |
Definition at line 153 of file PPSPixelG4Hit.h.
Referenced by operator=(), parentId(), PPSPixelG4Hit(), and setParentId().
|
private |
Definition at line 146 of file PPSPixelG4Hit.h.
Referenced by operator=(), particleType(), PPSPixelG4Hit(), and setParticleType().
|
private |
Definition at line 149 of file PPSPixelG4Hit.h.
Referenced by operator=(), phiAtEntry(), PPSPixelG4Hit(), and setPhiAtEntry().
|
private |
Definition at line 152 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), px(), and setPx().
|
private |
Definition at line 152 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), py(), and setPy().
|
private |
Definition at line 152 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), pz(), and setPz().
|
private |
Definition at line 148 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setThetaAtEntry(), and thetaAtEntry().
|
private |
Definition at line 138 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setTimeSlice(), timeSlice(), and timeSliceID().
|
private |
Definition at line 144 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setTof(), and tof().
|
private |
Definition at line 135 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setTrackID(), and trackID().
|
private |
Definition at line 137 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setUnitID(), and unitID().
|
private |
Definition at line 152 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setVPx(), and vPx().
|
private |
Definition at line 152 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setVPy(), and vPy().
|
private |
Definition at line 152 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setVPz(), and vPz().
|
private |
Definition at line 154 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setVx(), and vx().
|
private |
Definition at line 155 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setVy(), and vy().
|
private |
Definition at line 156 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setVz(), and vz().
|
private |
Definition at line 140 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setX(), and x().
|
private |
Definition at line 141 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setY(), and y().
|
private |
Definition at line 142 of file PPSPixelG4Hit.h.
Referenced by operator=(), PPSPixelG4Hit(), setZ(), and z().