float timeOfFlight() const
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)
float tof() const
deprecated name for timeOfFlight()
Local3DPoint theEntryPoint
Local3DPoint entryPoint() const
Entry point in the local Det frame.
EncodedEventId eventId() const
unsigned int detUnitId() const
float pabs() const
fast and more accurate access to momentumAtEntry().mag()
unsigned short theProcessType
unsigned short processType() const
Local3DPoint exitPoint() const
Exit point in the local Det frame.
Local3DPoint localPosition() const
Geom::Theta< T > theta() const
LocalVector localDirection() const
Obsolete. Same as momentumAtEntry().unit(), for backward compatibility.
Local3DVector LocalVector
Geom::Phi< float > phiAtEntry() const
fast and more accurate access to momentumAtEntry().phi()
std::ostream & operator<<(std::ostream &o, const PSimHit &hit)
LocalVector momentumAtEntry() const
The momentum of the track that produced the hit, at entry point.
float energyLoss() const
The energy deposit in the PSimHit, in ???.
unsigned int trackId() const
Geom::Theta< float > thetaAtEntry() const
fast and more accurate access to momentumAtEntry().theta()
void setEventId(EncodedEventId e)
unsigned int theDetUnitId
EncodedEventId theEventId