#include <Hit.h>
Inherits o2::BasicXYZEHit< float, float >.
|
| | Hit ()=default |
| |
| | Hit (int trackID, unsigned short sensorID, const TVector3 &startPos, const TVector3 &endPos, const TVector3 &startMom, double startE, double endTime, double eLoss, unsigned char startStatus, unsigned char endStatus, int pdg=0, float length=0.f) |
| |
| math_utils::Point3D< float > | GetPosStart () const |
| |
| float | GetStartX () const |
| |
| float | GetStartY () const |
| |
| float | GetStartZ () const |
| |
| void | SetPosStart (const math_utils::Point3D< float > &p) |
| |
| math_utils::Vector3D< float > | GetMomentum () const |
| |
| math_utils::Vector3D< float > & | GetMomentum () |
| |
| float | GetPx () const |
| |
| float | GetPy () const |
| |
| float | GetPz () const |
| |
| float | GetE () const |
| |
| float | GetTotalEnergy () const |
| |
| float | GetLength () const |
| |
| void | SetLength (float l) |
| |
| int | GetPdg () const |
| |
| void | SetPdg (int pdg) |
| |
| unsigned char | GetStatusStart () const |
| |
| unsigned char | GetStatusEnd () const |
| |
| bool | IsEntering () const |
| |
| bool | IsInside () const |
| |
| bool | IsExiting () const |
| |
| bool | IsOut () const |
| |
| bool | IsStopped () const |
| |
| bool | IsAlive () 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, unsigned short did) |
| |
| T | GetX () const |
| |
| T | GetY () const |
| |
| T | GetZ () const |
| |
| math_utils::Point3D< T > | GetPos () const |
| |
| V | GetHitValue () const |
| |
| E | GetTime () const |
| |
| unsigned short | GetDetectorID () const |
| |
| void | SetTime (E time) |
| |
| void | SetHitValue (V val) |
| |
| void | SetDetectorID (unsigned 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, 2) |
| |
| | BaseHit ()=default |
| |
| | BaseHit (int id) |
| |
| int | GetTrackID () const |
| |
| void | SetTrackID (int id) |
| |
Definition at line 38 of file Hit.h.
◆ HitStatus_t
| Enumerator |
|---|
| kTrackEntering | |
| kTrackInside | |
| kTrackExiting | |
| kTrackOut | |
| kTrackStopped | |
| kTrackAlive | |
Definition at line 41 of file Hit.h.
◆ Hit() [1/2]
◆ Hit() [2/2]
| o2::ext::Hit::Hit |
( |
int |
trackID, |
|
|
unsigned short |
sensorID, |
|
|
const TVector3 & |
startPos, |
|
|
const TVector3 & |
endPos, |
|
|
const TVector3 & |
startMom, |
|
|
double |
startE, |
|
|
double |
endTime, |
|
|
double |
eLoss, |
|
|
unsigned char |
startStatus, |
|
|
unsigned char |
endStatus, |
|
|
int |
pdg = 0, |
|
|
float |
length = 0.f |
|
) |
| |
|
inline |
- Parameters
-
| trackID | index of the MCTrack |
| sensorID | index of the sensitive volume (per-detector running id) |
| startPos | coordinates at entrance to the active volume [cm] |
| endPos | coordinates at exit of the active volume [cm] |
| startMom | momentum of the track at entrance [GeV] |
| startE | total energy at entrance [GeV] |
| endTime | time at exit [ns] |
| eLoss | energy deposited in the volume [GeV] |
| startStatus | MC status flags at entrance |
| endStatus | MC status flags at exit |
| pdg | PDG code of the track (optional) |
| length | track length inside the volume [cm] (optional) |
Definition at line 64 of file Hit.h.
◆ GetE()
| float o2::ext::Hit::GetE |
( |
| ) |
const |
|
inline |
Definition at line 91 of file Hit.h.
◆ GetLength()
| float o2::ext::Hit::GetLength |
( |
| ) |
const |
|
inline |
Definition at line 95 of file Hit.h.
◆ GetMomentum() [1/2]
Definition at line 87 of file Hit.h.
◆ GetMomentum() [2/2]
Definition at line 86 of file Hit.h.
◆ GetPdg()
| int o2::ext::Hit::GetPdg |
( |
| ) |
const |
|
inline |
Definition at line 97 of file Hit.h.
◆ GetPosStart()
Definition at line 79 of file Hit.h.
◆ GetPx()
| float o2::ext::Hit::GetPx |
( |
| ) |
const |
|
inline |
Definition at line 88 of file Hit.h.
◆ GetPy()
| float o2::ext::Hit::GetPy |
( |
| ) |
const |
|
inline |
Definition at line 89 of file Hit.h.
◆ GetPz()
| float o2::ext::Hit::GetPz |
( |
| ) |
const |
|
inline |
Definition at line 90 of file Hit.h.
◆ GetStartX()
| float o2::ext::Hit::GetStartX |
( |
| ) |
const |
|
inline |
Definition at line 80 of file Hit.h.
◆ GetStartY()
| float o2::ext::Hit::GetStartY |
( |
| ) |
const |
|
inline |
Definition at line 81 of file Hit.h.
◆ GetStartZ()
| float o2::ext::Hit::GetStartZ |
( |
| ) |
const |
|
inline |
Definition at line 82 of file Hit.h.
◆ GetStatusEnd()
| unsigned char o2::ext::Hit::GetStatusEnd |
( |
| ) |
const |
|
inline |
◆ GetStatusStart()
| unsigned char o2::ext::Hit::GetStatusStart |
( |
| ) |
const |
|
inline |
◆ GetTotalEnergy()
| float o2::ext::Hit::GetTotalEnergy |
( |
| ) |
const |
|
inline |
Definition at line 92 of file Hit.h.
◆ IsAlive()
| bool o2::ext::Hit::IsAlive |
( |
| ) |
const |
|
inline |
◆ IsEntering()
| bool o2::ext::Hit::IsEntering |
( |
| ) |
const |
|
inline |
◆ IsExiting()
| bool o2::ext::Hit::IsExiting |
( |
| ) |
const |
|
inline |
◆ IsInside()
| bool o2::ext::Hit::IsInside |
( |
| ) |
const |
|
inline |
◆ IsOut()
| bool o2::ext::Hit::IsOut |
( |
| ) |
const |
|
inline |
◆ IsStopped()
| bool o2::ext::Hit::IsStopped |
( |
| ) |
const |
|
inline |
◆ SetLength()
| void o2::ext::Hit::SetLength |
( |
float |
l | ) |
|
|
inline |
Definition at line 96 of file Hit.h.
◆ SetPdg()
| void o2::ext::Hit::SetPdg |
( |
int |
pdg | ) |
|
|
inline |
Definition at line 98 of file Hit.h.
◆ SetPosStart()
Definition at line 83 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 file:
- /home/runner/work/AliceO2/AliceO2/Detectors/External/include/ExternalDetectors/Hit.h