#include <UpdatablePSimHit.h>
Public Member Functions | |
void | addEnergyLoss (float eloss) |
void | setEnergyLoss (float eloss) |
void | setEntryPoint (const Local3DPoint &entry) |
void | setExitPoint (const Local3DPoint &exit) |
void | setTrackId (unsigned int k) |
UpdatablePSimHit () | |
UpdatablePSimHit (const Local3DPoint &entry, const Local3DPoint &exit, float pabs, float tof, float eloss, int particleType, unsigned int detId, unsigned int trackId, float theta, float phi, unsigned short processType=0) | |
void | updateExitPoint (const Local3DPoint &exit) |
~UpdatablePSimHit () | |
Public Member Functions inherited from PSimHit | |
unsigned int | detUnitId () const |
float | energyLoss () const |
The energy deposit in the PSimHit, in ???. More... | |
Local3DPoint | entryPoint () const |
Entry point in the local Det frame. More... | |
EncodedEventId | eventId () const |
Local3DPoint | exitPoint () const |
Exit point in the local Det frame. More... | |
LocalVector | localDirection () const |
Obsolete. Same as momentumAtEntry().unit(), for backward compatibility. More... | |
Local3DPoint | localPosition () const |
LocalVector | momentumAtEntry () const |
The momentum of the track that produced the hit, at entry point. More... | |
unsigned int | offsetTrackId () const |
unsigned int | originalTrackId () const |
float | pabs () const |
fast and more accurate access to momentumAtEntry().mag() More... | |
int | particleType () const |
Geom::Phi< float > | phiAtEntry () const |
fast and more accurate access to momentumAtEntry().phi() More... | |
unsigned short | processType () const |
PSimHit () | |
PSimHit (const Local3DPoint &entry, const Local3DPoint &exit, float pabs, float tof, float eloss, int particleType, unsigned int detId, unsigned int trackId, float theta, float phi, unsigned short processType=0) | |
void | setEventId (EncodedEventId e) |
void | setTof (float tof) |
Geom::Theta< float > | thetaAtEntry () const |
fast and more accurate access to momentumAtEntry().theta() More... | |
float | timeOfFlight () const |
float | tof () const |
deprecated name for timeOfFlight() More... | |
unsigned int | trackId () const |
Additional Inherited Members | |
Static Public Member Functions inherited from PSimHit | |
static unsigned int | addTrackIdOffset (unsigned int tId, unsigned int offset) |
Static Public Attributes inherited from PSimHit | |
static constexpr unsigned int | k_tidOffset = 200000000 |
Protected Attributes inherited from PSimHit | |
unsigned int | theDetUnitId |
float | theEnergyLoss |
Local3DPoint | theEntryPoint |
EncodedEventId | theEventId |
float | thePabs |
int | theParticleType |
float | thePhiAtEntry |
unsigned short | theProcessType |
Local3DVector | theSegment |
float | theThetaAtEntry |
float | theTof |
unsigned int | theTrackId |
extension of PSimHit; the exit point and the energy loss can be modified; maybe not the final solution
Definition at line 12 of file UpdatablePSimHit.h.
|
inline |
Definition at line 14 of file UpdatablePSimHit.h.
|
inline |
Definition at line 15 of file UpdatablePSimHit.h.
|
inline |
Definition at line 27 of file UpdatablePSimHit.h.
|
inline |
Definition at line 34 of file UpdatablePSimHit.h.
References PSimHit::theEnergyLoss.
Referenced by TkAccumulatingSensitiveDetector::updateHit(), and MuonSensitiveDetector::updateHit().
|
inline |
|
inline |
Definition at line 30 of file UpdatablePSimHit.h.
References mps_splice::entry, PSimHit::theEntryPoint, and PSimHit::theSegment.
|
inline |
Definition at line 29 of file UpdatablePSimHit.h.
References beamvalidation::exit(), and updateExitPoint().
Referenced by TkAccumulatingSensitiveDetector::updateHit().
|
inline |
|
inline |
Definition at line 28 of file UpdatablePSimHit.h.
References beamvalidation::exit(), PSimHit::theEntryPoint, and PSimHit::theSegment.
Referenced by setExitPoint(), and MuonSensitiveDetector::updateHit().