#include <Hit.h>
Inherits o2::BasicXYZEHit< Float_t, Float_t >.
|
| Hit ()=default |
| Default constructor.
|
|
| Hit (int trackID, int cellID, const math_utils::Point3D< float > &startPos, const math_utils::Point3D< float > &endPos, const math_utils::Vector3D< float > &startMom, double startE, double endTime, double eLoss, Int_t particlePdg) |
|
math_utils::Point3D< Float_t > const & | GetPosStart () 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_t > const & | GetMomentum () 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 | GetTotalEnergyAtEntrance () const |
|
int | GetParticlePdg () const |
|
void | Print (const Option_t *opt) const |
|
float | GetEnergyLoss () const |
|
void | SetEnergyLoss (float val) |
|
| ClassDefNV (BasicXYZEHit, 1) |
|
| BasicXYZVHit ()=default |
|
| BasicXYZVHit (T x, T y, T z, E time, V val, int trackid, short did) |
|
T | GetX () const |
|
T | GetY () const |
|
T | GetZ () const |
|
math_utils::Point3D< T > | GetPos () const |
|
V | GetHitValue () const |
|
E | 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) |
|
| BaseHit ()=default |
|
| BaseHit (int id) |
|
int | GetTrackID () const |
|
void | SetTrackID (int id) |
|
Definition at line 29 of file Hit.h.
◆ Hit() [1/2]
◆ Hit() [2/2]
Class Constructor
- Parameters
-
trackID | Index of MCTrack |
cellID | Cell ID |
startPos | Coordinates at entrance to active volume [cm] |
endPos | Coordinates to active volume [cm] |
startMom | Momentum of track at entrance [GeV] |
startE | Energy of track at entrance [GeV] |
endTime | Final time [ns] |
eLoss | Energy deposit [GeV] |
particlePdg | PDG code of the partcile associated with the track |
Definition at line 89 of file Hit.h.
◆ GetE()
Float_t o2::fv0::Hit::GetE |
( |
| ) |
const |
|
inline |
Definition at line 74 of file Hit.h.
◆ GetMomentum() [1/2]
Definition at line 70 of file Hit.h.
◆ GetMomentum() [2/2]
Definition at line 69 of file Hit.h.
◆ GetParticlePdg()
int o2::fv0::Hit::GetParticlePdg |
( |
| ) |
const |
|
inline |
Definition at line 76 of file Hit.h.
◆ GetPosStart()
Definition at line 56 of file Hit.h.
◆ GetPx()
Float_t o2::fv0::Hit::GetPx |
( |
| ) |
const |
|
inline |
Definition at line 71 of file Hit.h.
◆ GetPy()
Float_t o2::fv0::Hit::GetPy |
( |
| ) |
const |
|
inline |
Definition at line 72 of file Hit.h.
◆ GetPz()
Float_t o2::fv0::Hit::GetPz |
( |
| ) |
const |
|
inline |
Definition at line 73 of file Hit.h.
◆ GetStartPosition()
template<typename F >
void o2::fv0::Hit::GetStartPosition |
( |
F & |
x, |
|
|
F & |
y, |
|
|
F & |
z |
|
) |
| const |
|
inline |
Definition at line 61 of file Hit.h.
◆ GetStartX()
Float_t o2::fv0::Hit::GetStartX |
( |
| ) |
const |
|
inline |
Definition at line 57 of file Hit.h.
◆ GetStartY()
Float_t o2::fv0::Hit::GetStartY |
( |
| ) |
const |
|
inline |
Definition at line 58 of file Hit.h.
◆ GetStartZ()
Float_t o2::fv0::Hit::GetStartZ |
( |
| ) |
const |
|
inline |
Definition at line 59 of file Hit.h.
◆ GetTotalEnergyAtEntrance()
Float_t o2::fv0::Hit::GetTotalEnergyAtEntrance |
( |
| ) |
const |
|
inline |
Definition at line 75 of file Hit.h.
◆ Print()
void o2::fv0::Hit::Print |
( |
const Option_t * |
opt | ) |
const |
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/FIT/FV0/include/DataFormatsFV0/Hit.h
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/FIT/FV0/src/Hit.cxx