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

#include <Hit.h>

Inherits o2::BasicXYZEHit< Float_t, Float_t >.

Public Member Functions

 Hit ()=default
 
 Hit (int trackID, unsigned short detID, const TVector3 &Pos, double Time, double eLoss, int nPhot)
 
Int_t GetNphot () const
 
- 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, 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 27 of file Hit.h.

Constructor & Destructor Documentation

◆ Hit() [1/2]

o2::fdd::Hit::Hit ( )
default

◆ Hit() [2/2]

o2::fdd::Hit::Hit ( int  trackID,
unsigned short  detID,
const TVector3 &  Pos,
double  Time,
double  eLoss,
int  nPhot 
)
inline

Definition at line 43 of file Hit.h.

Member Function Documentation

◆ GetNphot()

Int_t o2::fdd::Hit::GetNphot ( ) const
inline

Definition at line 35 of file Hit.h.


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