#include <SimG4CMS/Forward/interface/TotemG4Hit.h>
Public Member Functions | |
void | addEnergyDeposit (double em, double hd) |
void | addEnergyDeposit (const TotemG4Hit &aHit) |
void | Draw () override |
double | getEM () const |
double | getEnergyDeposit () const |
float | getEnergyLoss () const |
math::XYZPoint | getEntry () const |
double | getHadr () const |
double | getIncidentEnergy () const |
float | getPabs () const |
int | getParentId () const |
int | getParticleType () const |
float | getPhiAtEntry () const |
float | getThetaAtEntry () const |
double | getTimeSlice () const |
int | getTimeSliceID () const |
float | getTof () const |
int | getTrackID () const |
uint32_t | getUnitID () const |
float | getVx () const |
float | getVy () const |
float | getVz () const |
float | getX () const |
float | getY () const |
float | getZ () const |
const TotemG4Hit & | operator= (const TotemG4Hit &right) |
int | operator== (const TotemG4Hit &) |
void | Print () override |
void | setEM (double e) |
void | setEnergyLoss (float e) |
void | setEntry (double x, double y, double z) |
void | setHadr (double e) |
void | setIncidentEnergy (double e) |
void | setPabs (float e) |
void | setParentId (int p) |
void | setParticleType (short i) |
void | setPhiAtEntry (float f) |
void | setThetaAtEntry (float t) |
void | setTimeSlice (double d) |
void | setTof (float e) |
void | setTrackID (int i) |
void | setUnitID (uint32_t i) |
void | setVx (float p) |
void | setVy (float p) |
void | setVz (float p) |
void | setX (float t) |
void | setY (float t) |
void | setZ (float t) |
TotemG4Hit () | |
TotemG4Hit (const TotemG4Hit &right) | |
~TotemG4Hit () override | |
Private Attributes | |
double | elem |
math::XYZPoint | entry |
double | hadr |
float | theEnergyLoss |
math::XYZPoint | theEntryPoint |
math::XYZPoint | theExitPoint |
double | theIncidentEnergy |
float | thePabs |
int | theParentId |
int | theParticleType |
float | thePhiAtEntry |
float | theThetaAtEntry |
double | theTimeSlice |
float | theTof |
int | theTrackID |
uint32_t | theUnitID |
float | theVx |
float | theVy |
float | theVz |
float | theX |
float | theY |
float | theZ |
Description: Transient Hit class for Totem 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 39 of file TotemG4Hit.h.
TotemG4Hit::TotemG4Hit | ( | ) |
Definition at line 22 of file TotemG4Hit.cc.
References elem, hadr, setEntry(), theEnergyLoss, theEntryPoint, theExitPoint, theIncidentEnergy, thePabs, theParentId, theParticleType, thePhiAtEntry, theThetaAtEntry, theTimeSlice, theTof, theTrackID, theUnitID, theVx, theVy, theVz, theX, theY, and theZ.
|
override |
Definition at line 50 of file TotemG4Hit.cc.
TotemG4Hit::TotemG4Hit | ( | const TotemG4Hit & | right | ) |
Definition at line 52 of file TotemG4Hit.cc.
References elem, entry, hadr, theEnergyLoss, theEntryPoint, theExitPoint, theIncidentEnergy, thePabs, theParentId, theParticleType, thePhiAtEntry, theThetaAtEntry, theTimeSlice, theTof, theTrackID, theUnitID, theVx, theVy, theVz, theX, theY, and theZ.
void TotemG4Hit::addEnergyDeposit | ( | double | em, |
double | hd | ||
) |
void TotemG4Hit::addEnergyDeposit | ( | const TotemG4Hit & | aHit | ) |
|
inlineoverride |
double TotemG4Hit::getEM | ( | ) | const |
Definition at line 125 of file TotemG4Hit.cc.
References elem.
Referenced by addEnergyDeposit(), and setEntry().
double TotemG4Hit::getEnergyDeposit | ( | ) | const |
float TotemG4Hit::getEnergyLoss | ( | ) | const |
Definition at line 150 of file TotemG4Hit.cc.
References theEnergyLoss.
Referenced by TotemSD::EndOfEvent(), TotemTestGem::fillEvent(), operator<<(), and setEntry().
math::XYZPoint TotemG4Hit::getEntry | ( | ) | const |
Definition at line 123 of file TotemG4Hit.cc.
References entry.
Referenced by Draw(), TotemSD::EndOfEvent(), TotemTestGem::fillEvent(), and operator<<().
double TotemG4Hit::getHadr | ( | ) | const |
Definition at line 128 of file TotemG4Hit.cc.
References hadr.
Referenced by addEnergyDeposit(), and setEntry().
double TotemG4Hit::getIncidentEnergy | ( | ) | const |
Definition at line 131 of file TotemG4Hit.cc.
References theIncidentEnergy.
Referenced by operator<<(), and setEntry().
float TotemG4Hit::getPabs | ( | ) | const |
Definition at line 148 of file TotemG4Hit.cc.
References thePabs.
Referenced by TotemSD::EndOfEvent(), TotemTestGem::fillEvent(), and setEntry().
int TotemG4Hit::getParentId | ( | ) | const |
Definition at line 173 of file TotemG4Hit.cc.
References theParentId.
Referenced by TotemTestGem::fillEvent(), and setEntry().
int TotemG4Hit::getParticleType | ( | ) | const |
Definition at line 151 of file TotemG4Hit.cc.
References theParticleType.
Referenced by TotemSD::EndOfEvent(), TotemTestGem::fillEvent(), and setEntry().
float TotemG4Hit::getPhiAtEntry | ( | ) | const |
Definition at line 159 of file TotemG4Hit.cc.
References thePhiAtEntry.
Referenced by TotemSD::EndOfEvent(), and setEntry().
float TotemG4Hit::getThetaAtEntry | ( | ) | const |
Definition at line 158 of file TotemG4Hit.cc.
References theThetaAtEntry.
Referenced by TotemSD::EndOfEvent(), and setEntry().
double TotemG4Hit::getTimeSlice | ( | ) | const |
int TotemG4Hit::getTimeSliceID | ( | ) | const |
Definition at line 142 of file TotemG4Hit.cc.
References theTimeSlice.
Referenced by TotemSD::hitExists(), operator<<(), and setEntry().
float TotemG4Hit::getTof | ( | ) | const |
Definition at line 149 of file TotemG4Hit.cc.
References theTof.
Referenced by TotemSD::EndOfEvent(), and setEntry().
int TotemG4Hit::getTrackID | ( | ) | const |
Definition at line 134 of file TotemG4Hit.cc.
References theTrackID.
Referenced by TotemSD::EndOfEvent(), TotemTestGem::fillEvent(), TotemSD::hitExists(), operator<<(), and setEntry().
uint32_t TotemG4Hit::getUnitID | ( | ) | const |
Definition at line 137 of file TotemG4Hit.cc.
References theUnitID.
Referenced by TotemSD::EndOfEvent(), TotemTestGem::fillEvent(), TotemSD::hitExists(), operator<<(), and setEntry().
float TotemG4Hit::getVx | ( | ) | const |
Definition at line 176 of file TotemG4Hit.cc.
References theVx.
Referenced by TotemTestGem::fillEvent(), and setEntry().
float TotemG4Hit::getVy | ( | ) | const |
Definition at line 179 of file TotemG4Hit.cc.
References theVy.
Referenced by TotemTestGem::fillEvent(), and setEntry().
float TotemG4Hit::getVz | ( | ) | const |
Definition at line 182 of file TotemG4Hit.cc.
References theVz.
Referenced by TotemTestGem::fillEvent(), and setEntry().
float TotemG4Hit::getX | ( | ) | const |
float TotemG4Hit::getY | ( | ) | const |
float TotemG4Hit::getZ | ( | ) | const |
const TotemG4Hit & TotemG4Hit::operator= | ( | const TotemG4Hit & | right | ) |
Definition at line 81 of file TotemG4Hit.cc.
References elem, entry, hadr, theEnergyLoss, theEntryPoint, theExitPoint, theIncidentEnergy, thePabs, theParentId, theParticleType, thePhiAtEntry, theThetaAtEntry, theTimeSlice, theTof, theTrackID, theUnitID, theVx, theVy, theVz, theX, theY, and theZ.
|
inline |
Definition at line 50 of file TotemG4Hit.h.
|
override |
void TotemG4Hit::setEM | ( | double | e | ) |
Definition at line 126 of file TotemG4Hit.cc.
References MillePedeFileConverter_cfg::e, and elem.
Referenced by setEntry().
void TotemG4Hit::setEnergyLoss | ( | float | e | ) |
Definition at line 155 of file TotemG4Hit.cc.
References MillePedeFileConverter_cfg::e, and theEnergyLoss.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), setEntry(), and TotemSD::updateHit().
|
inline |
Definition at line 57 of file TotemG4Hit.h.
References addEnergyDeposit(), edmIntegrityCheck::d, MillePedeFileConverter_cfg::e, entry, f, getEM(), getEnergyDeposit(), getEnergyLoss(), getHadr(), getIncidentEnergy(), getPabs(), getParentId(), getParticleType(), getPhiAtEntry(), getThetaAtEntry(), getTimeSlice(), getTimeSliceID(), getTof(), getTrackID(), getUnitID(), getVx(), getVy(), getVz(), getX(), getY(), getZ(), mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, setEM(), setEnergyLoss(), setHadr(), setIncidentEnergy(), setPabs(), setParentId(), setParticleType(), setPhiAtEntry(), setThetaAtEntry(), setTimeSlice(), setTof(), setTrackID(), setUnitID(), setVx(), setVy(), setVz(), setX(), setY(), setZ(), and protons_cff::t.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and TotemG4Hit().
void TotemG4Hit::setHadr | ( | double | e | ) |
Definition at line 129 of file TotemG4Hit.cc.
References MillePedeFileConverter_cfg::e, and hadr.
Referenced by setEntry().
void TotemG4Hit::setIncidentEnergy | ( | double | e | ) |
Definition at line 132 of file TotemG4Hit.cc.
References MillePedeFileConverter_cfg::e, and theIncidentEnergy.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setPabs | ( | float | e | ) |
Definition at line 153 of file TotemG4Hit.cc.
References MillePedeFileConverter_cfg::e, and thePabs.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setParentId | ( | int | p | ) |
Definition at line 174 of file TotemG4Hit.cc.
References AlCaHLTBitMon_ParallelJobs::p, and theParentId.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setParticleType | ( | short | i | ) |
Definition at line 156 of file TotemG4Hit.cc.
References mps_fire::i, and theParticleType.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setPhiAtEntry | ( | float | f | ) |
Definition at line 162 of file TotemG4Hit.cc.
References f, and thePhiAtEntry.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setThetaAtEntry | ( | float | t | ) |
Definition at line 161 of file TotemG4Hit.cc.
References protons_cff::t, and theThetaAtEntry.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setTimeSlice | ( | double | d | ) |
Definition at line 141 of file TotemG4Hit.cc.
References edmIntegrityCheck::d, and theTimeSlice.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setTof | ( | float | e | ) |
Definition at line 154 of file TotemG4Hit.cc.
References MillePedeFileConverter_cfg::e, and theTof.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setTrackID | ( | int | i | ) |
Definition at line 135 of file TotemG4Hit.cc.
References mps_fire::i, and theTrackID.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setUnitID | ( | uint32_t | i | ) |
Definition at line 138 of file TotemG4Hit.cc.
References mps_fire::i, and theUnitID.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setVx | ( | float | p | ) |
Definition at line 177 of file TotemG4Hit.cc.
References protons_cff::t, and theVx.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setVy | ( | float | p | ) |
Definition at line 180 of file TotemG4Hit.cc.
References protons_cff::t, and theVy.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setVz | ( | float | p | ) |
Definition at line 183 of file TotemG4Hit.cc.
References protons_cff::t, and theVz.
Referenced by TotemSD::createNewHit(), TotemSD::createNewHitEvo(), and setEntry().
void TotemG4Hit::setX | ( | float | t | ) |
Definition at line 165 of file TotemG4Hit.cc.
References protons_cff::t, and theX.
Referenced by setEntry().
void TotemG4Hit::setY | ( | float | t | ) |
Definition at line 168 of file TotemG4Hit.cc.
References protons_cff::t, and theY.
Referenced by setEntry().
void TotemG4Hit::setZ | ( | float | t | ) |
Definition at line 171 of file TotemG4Hit.cc.
References protons_cff::t, and theZ.
Referenced by setEntry().
|
private |
Definition at line 119 of file TotemG4Hit.h.
Referenced by addEnergyDeposit(), getEM(), getEnergyDeposit(), operator=(), setEM(), and TotemG4Hit().
|
private |
Definition at line 118 of file TotemG4Hit.h.
Referenced by getEntry(), operator=(), setEntry(), and TotemG4Hit().
|
private |
Definition at line 120 of file TotemG4Hit.h.
Referenced by addEnergyDeposit(), getEnergyDeposit(), getHadr(), operator=(), setHadr(), and TotemG4Hit().
|
private |
Definition at line 133 of file TotemG4Hit.h.
Referenced by getEnergyLoss(), operator=(), setEnergyLoss(), and TotemG4Hit().
|
private |
Definition at line 138 of file TotemG4Hit.h.
Referenced by operator=(), and TotemG4Hit().
|
private |
Definition at line 139 of file TotemG4Hit.h.
Referenced by operator=(), and TotemG4Hit().
|
private |
Definition at line 121 of file TotemG4Hit.h.
Referenced by getIncidentEnergy(), operator=(), setIncidentEnergy(), and TotemG4Hit().
|
private |
Definition at line 131 of file TotemG4Hit.h.
Referenced by getPabs(), operator=(), setPabs(), and TotemG4Hit().
|
private |
Definition at line 141 of file TotemG4Hit.h.
Referenced by getParentId(), operator=(), setParentId(), and TotemG4Hit().
|
private |
Definition at line 134 of file TotemG4Hit.h.
Referenced by getParticleType(), operator=(), setParticleType(), and TotemG4Hit().
|
private |
Definition at line 137 of file TotemG4Hit.h.
Referenced by getPhiAtEntry(), operator=(), setPhiAtEntry(), and TotemG4Hit().
|
private |
Definition at line 136 of file TotemG4Hit.h.
Referenced by getThetaAtEntry(), operator=(), setThetaAtEntry(), and TotemG4Hit().
|
private |
Definition at line 125 of file TotemG4Hit.h.
Referenced by getTimeSlice(), getTimeSliceID(), operator=(), setTimeSlice(), and TotemG4Hit().
|
private |
Definition at line 132 of file TotemG4Hit.h.
Referenced by getTof(), operator=(), setTof(), and TotemG4Hit().
|
private |
Definition at line 122 of file TotemG4Hit.h.
Referenced by getTrackID(), operator=(), setTrackID(), and TotemG4Hit().
|
private |
Definition at line 124 of file TotemG4Hit.h.
Referenced by getUnitID(), operator=(), setUnitID(), and TotemG4Hit().
|
private |
Definition at line 142 of file TotemG4Hit.h.
Referenced by getVx(), operator=(), setVx(), and TotemG4Hit().
|
private |
Definition at line 143 of file TotemG4Hit.h.
Referenced by getVy(), operator=(), setVy(), and TotemG4Hit().
|
private |
Definition at line 144 of file TotemG4Hit.h.
Referenced by getVz(), operator=(), setVz(), and TotemG4Hit().
|
private |
Definition at line 128 of file TotemG4Hit.h.
Referenced by getX(), operator=(), setX(), and TotemG4Hit().
|
private |
Definition at line 129 of file TotemG4Hit.h.
Referenced by getY(), operator=(), setY(), and TotemG4Hit().
|
private |
Definition at line 130 of file TotemG4Hit.h.
Referenced by getZ(), operator=(), setZ(), and TotemG4Hit().