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

#include <Hit.h>

Inherits o2::BasicXYZEHit< Float_t, Float_t >.

Public Member Functions

 Hit ()=default
 
 Hit (int trackID, int parent, Bool_t sFlag, Float_t primaryEnergy, Int_t detID, Int_t sectorID, math_utils::Vector3D< float > pos, math_utils::Vector3D< float > mom, Float_t tof, math_utils::Vector3D< float > xImpact, Float_t energyloss, Int_t nphePMC, Int_t nphePMQ)
 
void setPMCLightYield (float val)
 
void setPMQLightYield (float val)
 
void setNoNumContributingSteps (int val)
 
int getParentID () const
 
int getSector () const
 
float getPMCLightYield () const
 
float getPMQLightYield () const
 
int getNumContributingSteps () 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 26 of file Hit.h.

Constructor & Destructor Documentation

◆ Hit() [1/2]

o2::zdc::Hit::Hit ( )
default

◆ Hit() [2/2]

o2::zdc::Hit::Hit ( int  trackID,
int  parent,
Bool_t  sFlag,
Float_t  primaryEnergy,
Int_t  detID,
Int_t  sectorID,
math_utils::Vector3D< float >  pos,
math_utils::Vector3D< float >  mom,
Float_t  tof,
math_utils::Vector3D< float >  xImpact,
Float_t  energyloss,
Int_t  nphePMC,
Int_t  nphePMQ 
)
inline

Class Constructor

Parameters
trackIDIndex of MCTrack
detIDDetector ID
parentmother of the track
sflagtrue if it is a secondary
primaryEnergyenergy of the primary [GeV]
detIDdetector ID (1-ZNA, 2-ZPA, 3-ZEM, 4-ZNC, 5-ZPC)
sectorIDsector ID
postrack position
momtrack momentum
toftrack TOF
xImpactx,y,z of the impact of the 1st particle
energylossdeposited energy
nphePMClight output on common PMT
nphePMQlight output on sector PMT

Definition at line 76 of file Hit.h.

Member Function Documentation

◆ getNumContributingSteps()

int o2::zdc::Hit::getNumContributingSteps ( ) const
inline

Definition at line 60 of file Hit.h.

◆ getParentID()

int o2::zdc::Hit::getParentID ( ) const
inline

Definition at line 56 of file Hit.h.

◆ getPMCLightYield()

float o2::zdc::Hit::getPMCLightYield ( ) const
inline

Definition at line 58 of file Hit.h.

◆ getPMQLightYield()

float o2::zdc::Hit::getPMQLightYield ( ) const
inline

Definition at line 59 of file Hit.h.

◆ getSector()

int o2::zdc::Hit::getSector ( ) const
inline

Definition at line 57 of file Hit.h.

◆ setNoNumContributingSteps()

void o2::zdc::Hit::setNoNumContributingSteps ( int  val)
inline

Definition at line 54 of file Hit.h.

◆ setPMCLightYield()

void o2::zdc::Hit::setPMCLightYield ( float  val)
inline

Definition at line 52 of file Hit.h.

◆ setPMQLightYield()

void o2::zdc::Hit::setPMQLightYield ( float  val)
inline

Definition at line 53 of file Hit.h.


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