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