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

#include <Hit.h>

Inherits o2::BasicXYZEHit< float >.

Public Member Functions

 Hit (int trackId=0, short detElemId=0, math_utils::Point3D< float > entrancePoint={}, const math_utils::Point3D< float > exitPoint={}, float eloss=0.0, float length=0.0, float entranceTof=0.0, float eTot=0.0)
 
math_utils::Point3D< float > entrancePoint () const
 
math_utils::Point3D< float > exitPoint () const
 
float entranceTof () const
 
float eTot () const
 
short detElemId () const
 
- Public Member Functions inherited from o2::BasicXYZEHit< float >
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, short did)
 
GetX () const
 
GetY () const
 
GetZ () const
 
math_utils::Point3D< T > GetPos () const
 
GetHitValue () const
 
GetTime () const
 
short GetDetectorID () const
 
void SetTime (E time)
 
void SetHitValue (V val)
 
void SetDetectorID (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, 1)
 
- Public Member Functions inherited from o2::BaseHit
 BaseHit ()=default
 
 BaseHit (int id)
 
int GetTrackID () const
 
void SetTrackID (int id)
 

Detailed Description

Definition at line 23 of file Hit.h.

Constructor & Destructor Documentation

◆ Hit()

o2::mch::Hit::Hit ( int  trackId = 0,
short  detElemId = 0,
math_utils::Point3D< float >  entrancePoint = {},
const math_utils::Point3D< float >  exitPoint = {},
float  eloss = 0.0,
float  length = 0.0,
float  entranceTof = 0.0,
float  eTot = 0.0 
)
inline

Definition at line 27 of file Hit.h.

Member Function Documentation

◆ detElemId()

short o2::mch::Hit::detElemId ( ) const
inline

Definition at line 41 of file Hit.h.

◆ entrancePoint()

math_utils::Point3D< float > o2::mch::Hit::entrancePoint ( ) const
inline

Definition at line 33 of file Hit.h.

◆ entranceTof()

float o2::mch::Hit::entranceTof ( ) const
inline

Definition at line 37 of file Hit.h.

◆ eTot()

float o2::mch::Hit::eTot ( ) const
inline

Definition at line 39 of file Hit.h.

◆ exitPoint()

math_utils::Point3D< float > o2::mch::Hit::exitPoint ( ) const
inline

Definition at line 34 of file Hit.h.


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