Project
Loading...
Searching...
No Matches
o2::trk::Hit Class Reference

#include <Hit.h>

Inherits o2::itsmft::Hit.

Additional Inherited Members

- Public Types inherited from o2::itsmft::Hit
enum  HitStatus_t {
  kTrackEntering = 0x1 , kTrackInside = 0x1 << 1 , kTrackExiting = 0x1 << 2 , kTrackOut = 0x1 << 3 ,
  kTrackStopped = 0x1 << 4 , kTrackAlive = 0x1 << 5
}
 
- Public Member Functions inherited from o2::itsmft::Hit
 Hit ()=default
 Default constructor.
 
 Hit (int trackID, unsigned short detID, const TVector3 &startPos, const TVector3 &pos, const TVector3 &mom, double startE, double endTime, double eLoss, unsigned char statusStart, unsigned char status)
 
math_utils::Point3D< Float_tGetPosStart () const
 
Float_t GetStartX () const
 
Float_t GetStartY () const
 
Float_t GetStartZ () const
 
template<typename F >
void GetStartPosition (F &x, F &y, F &z) const
 
math_utils::Vector3D< Float_tGetMomentum () const
 
math_utils::Vector3D< Float_t > & GetMomentum ()
 
Float_t GetPx () const
 
Float_t GetPy () const
 
Float_t GetPz () const
 
Float_t GetE () const
 
Float_t GetTotalEnergy () const
 
UChar_t GetStatusEnd () const
 
UChar_t GetStatusStart () const
 
Bool_t IsEntering () const
 
Bool_t IsInside () const
 
Bool_t IsExiting () const
 
Bool_t IsOut () const
 
Bool_t IsStopped () const
 
Bool_t IsAlive () const
 
Bool_t IsEnteringStart () const
 
Bool_t IsInsideStart () const
 
Bool_t IsExitingStart () const
 
Bool_t IsOutStart () const
 
Bool_t IsStoppedStart () const
 
Bool_t IsAliveStart () const
 
void SetPosStart (const math_utils::Point3D< Float_t > &p)
 
void Print (const Option_t *opt) const
 Output to screen.
 
- Public Member Functions inherited from o2::BasicXYZEHit< Float_t, Float_t >
float GetEnergyLoss () const
 
void SetEnergyLoss (float val)
 
 ClassDefNV (BasicXYZEHit, 1)
 
- Public Member Functions inherited from o2::BasicXYZVHit< T, E, V >
 BasicXYZVHit ()=default
 
 BasicXYZVHit (T x, T y, T z, E time, V val, int trackid, unsigned short did)
 
GetX () const
 
GetY () const
 
GetZ () const
 
math_utils::Point3D< T > GetPos () const
 
GetHitValue () const
 
GetTime () const
 
unsigned short GetDetectorID () const
 
void SetTime (E time)
 
void SetHitValue (V val)
 
void SetDetectorID (unsigned short detID)
 
void SetX (T x)
 
void SetY (T y)
 
void SetZ (T z)
 
void SetXYZ (T x, T y, T z)
 
void SetPos (math_utils::Point3D< T > const &p)
 
 ClassDefNV (BasicXYZVHit, 2)
 
- Public Member Functions inherited from o2::BaseHit
 BaseHit ()=default
 
 BaseHit (int id)
 
int GetTrackID () const
 
void SetTrackID (int id)
 

Detailed Description

Definition at line 22 of file Hit.h.


The documentation for this class was generated from the following file: