#include <Hit.h>
Inherits o2::BasicXYZEHit< Float_t, Float_t >.
|
| Hit ()=default |
| Default constructor.
|
|
| Hit (int trackID, unsigned short detID, const TVector3 &startPos, const TVector3 &pos, const TVector3 &mom, double startE, double endTime, double eLoss, unsigned char statusStart, unsigned char status) |
|
math_utils::Point3D< Float_t > | 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 > | 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 | GetTotalEnergy () const |
|
UChar_t | GetStatusEnd () const |
|
UChar_t | GetStatusStart () const |
|
Bool_t | IsEntering () const |
|
Bool_t | IsInside () const |
|
Bool_t | IsExiting () const |
|
Bool_t | IsOut () const |
|
Bool_t | IsStopped () const |
|
Bool_t | IsAlive () const |
|
Bool_t | IsEnteringStart () const |
|
Bool_t | IsInsideStart () const |
|
Bool_t | IsExitingStart () const |
|
Bool_t | IsOutStart () const |
|
Bool_t | IsStoppedStart () const |
|
Bool_t | IsAliveStart () const |
|
void | SetPosStart (const math_utils::Point3D< Float_t > &p) |
|
void | Print (const Option_t *opt) const |
| Output to screen.
|
|
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.
◆ HitStatus_t
Enumerator |
---|
kTrackEntering | |
kTrackInside | |
kTrackExiting | |
kTrackOut | |
kTrackStopped | |
kTrackAlive | |
Definition at line 33 of file Hit.h.
◆ Hit() [1/2]
◆ Hit() [2/2]
o2::itsmft::Hit::Hit |
( |
int |
trackID, |
|
|
unsigned short |
detID, |
|
|
const TVector3 & |
startPos, |
|
|
const TVector3 & |
pos, |
|
|
const TVector3 & |
mom, |
|
|
double |
startE, |
|
|
double |
endTime, |
|
|
double |
eLoss, |
|
|
unsigned char |
statusStart, |
|
|
unsigned char |
status |
|
) |
| |
|
inline |
Class Constructor
- Parameters
-
trackID | Index of MCTrack |
detID | Detector ID |
startPos | Coordinates at entrance to active volume [cm] |
pos | Coordinates to active volume [cm] |
mom | Momentum of track at entrance [GeV] |
endTime | Time at entrance [ns] |
time | Time since event start [ns] |
eLoss | Energy deposit [GeV] |
startStatus | status at entrance |
endStatus | status at exit |
Definition at line 124 of file Hit.h.
◆ GetE()
Float_t o2::itsmft::Hit::GetE |
( |
| ) |
const |
|
inline |
Definition at line 77 of file Hit.h.
◆ GetMomentum() [1/2]
Definition at line 73 of file Hit.h.
◆ GetMomentum() [2/2]
Definition at line 72 of file Hit.h.
◆ GetPosStart()
Definition at line 60 of file Hit.h.
◆ GetPx()
Float_t o2::itsmft::Hit::GetPx |
( |
| ) |
const |
|
inline |
Definition at line 74 of file Hit.h.
◆ GetPy()
Float_t o2::itsmft::Hit::GetPy |
( |
| ) |
const |
|
inline |
Definition at line 75 of file Hit.h.
◆ GetPz()
Float_t o2::itsmft::Hit::GetPz |
( |
| ) |
const |
|
inline |
Definition at line 76 of file Hit.h.
◆ GetStartPosition()
template<typename F >
void o2::itsmft::Hit::GetStartPosition |
( |
F & |
x, |
|
|
F & |
y, |
|
|
F & |
z |
|
) |
| const |
|
inline |
Definition at line 65 of file Hit.h.
◆ GetStartX()
Float_t o2::itsmft::Hit::GetStartX |
( |
| ) |
const |
|
inline |
Definition at line 61 of file Hit.h.
◆ GetStartY()
Float_t o2::itsmft::Hit::GetStartY |
( |
| ) |
const |
|
inline |
Definition at line 62 of file Hit.h.
◆ GetStartZ()
Float_t o2::itsmft::Hit::GetStartZ |
( |
| ) |
const |
|
inline |
Definition at line 63 of file Hit.h.
◆ GetStatusEnd()
UChar_t o2::itsmft::Hit::GetStatusEnd |
( |
| ) |
const |
|
inline |
Definition at line 80 of file Hit.h.
◆ GetStatusStart()
UChar_t o2::itsmft::Hit::GetStatusStart |
( |
| ) |
const |
|
inline |
Definition at line 81 of file Hit.h.
◆ GetTotalEnergy()
Float_t o2::itsmft::Hit::GetTotalEnergy |
( |
| ) |
const |
|
inline |
Definition at line 78 of file Hit.h.
◆ IsAlive()
Bool_t o2::itsmft::Hit::IsAlive |
( |
| ) |
const |
|
inline |
Definition at line 88 of file Hit.h.
◆ IsAliveStart()
Bool_t o2::itsmft::Hit::IsAliveStart |
( |
| ) |
const |
|
inline |
Definition at line 95 of file Hit.h.
◆ IsEntering()
Bool_t o2::itsmft::Hit::IsEntering |
( |
| ) |
const |
|
inline |
Definition at line 83 of file Hit.h.
◆ IsEnteringStart()
Bool_t o2::itsmft::Hit::IsEnteringStart |
( |
| ) |
const |
|
inline |
Definition at line 90 of file Hit.h.
◆ IsExiting()
Bool_t o2::itsmft::Hit::IsExiting |
( |
| ) |
const |
|
inline |
Definition at line 85 of file Hit.h.
◆ IsExitingStart()
Bool_t o2::itsmft::Hit::IsExitingStart |
( |
| ) |
const |
|
inline |
Definition at line 92 of file Hit.h.
◆ IsInside()
Bool_t o2::itsmft::Hit::IsInside |
( |
| ) |
const |
|
inline |
Definition at line 84 of file Hit.h.
◆ IsInsideStart()
Bool_t o2::itsmft::Hit::IsInsideStart |
( |
| ) |
const |
|
inline |
Definition at line 91 of file Hit.h.
◆ IsOut()
Bool_t o2::itsmft::Hit::IsOut |
( |
| ) |
const |
|
inline |
Definition at line 86 of file Hit.h.
◆ IsOutStart()
Bool_t o2::itsmft::Hit::IsOutStart |
( |
| ) |
const |
|
inline |
Definition at line 93 of file Hit.h.
◆ IsStopped()
Bool_t o2::itsmft::Hit::IsStopped |
( |
| ) |
const |
|
inline |
Definition at line 87 of file Hit.h.
◆ IsStoppedStart()
Bool_t o2::itsmft::Hit::IsStoppedStart |
( |
| ) |
const |
|
inline |
Definition at line 94 of file Hit.h.
◆ Print()
void Hit::Print |
( |
const Option_t * |
opt | ) |
const |
Output to screen.
Definition at line 27 of file Hit.cxx.
◆ SetPosStart()
Definition at line 98 of file Hit.h.
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
of, |
|
|
const Hit & |
point |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/Detectors/ITSMFT/common/simulation/include/ITSMFTSimulation/Hit.h
- /home/runner/work/AliceO2/AliceO2/Detectors/ITSMFT/common/simulation/src/Hit.cxx