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

#include <Hit.h>

Inherits o2::BasicXYZQHit< float >.

Public Member Functions

 Hit (float x, float y, float z, float lCol, float lRow, float lTime, float tof, int charge, int trackId, int detId, bool drift)
 
bool isFromDriftRegion () const
 
void setLocalC (float lCol)
 
void setLocalR (float lRow)
 
void setLocalT (float lTime)
 
float getLocalC () const
 
float getLocalR () const
 
float getLocalT () const
 
- Public Member Functions inherited from o2::BasicXYZQHit< float >
int GetCharge () const
 
void SetCharge (int val)
 
 ClassDefNV (BasicXYZQHit, 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 22 of file Hit.h.

Constructor & Destructor Documentation

◆ Hit()

o2::trd::Hit::Hit ( float  x,
float  y,
float  z,
float  lCol,
float  lRow,
float  lTime,
float  tof,
int  charge,
int  trackId,
int  detId,
bool  drift 
)
inline

Definition at line 26 of file Hit.h.

Member Function Documentation

◆ getLocalC()

float o2::trd::Hit::getLocalC ( ) const
inline

Definition at line 32 of file Hit.h.

◆ getLocalR()

float o2::trd::Hit::getLocalR ( ) const
inline

Definition at line 33 of file Hit.h.

◆ getLocalT()

float o2::trd::Hit::getLocalT ( ) const
inline

Definition at line 34 of file Hit.h.

◆ isFromDriftRegion()

bool o2::trd::Hit::isFromDriftRegion ( ) const
inline

Definition at line 28 of file Hit.h.

◆ setLocalC()

void o2::trd::Hit::setLocalC ( float  lCol)
inline

Definition at line 29 of file Hit.h.

◆ setLocalR()

void o2::trd::Hit::setLocalR ( float  lRow)
inline

Definition at line 30 of file Hit.h.

◆ setLocalT()

void o2::trd::Hit::setLocalT ( float  lTime)
inline

Definition at line 31 of file Hit.h.


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