14#ifndef ALICEO2_TPC_POINT_H
15#define ALICEO2_TPC_POINT_H
123 mHits.emplace_back(
x,
y,
z,
time, e);
158 mHits.shrink_to_fit();
174 std::vector<o2::tpc::ElementalHit> mHits;
176 using vec_t = std::vector<float, o2::utils::ShmAllocator<float>>;
200 Point(
float x,
float y,
float z,
float time,
float nElectrons,
float trackID,
float detID);
206 void Print(
const Option_t* opt)
const;
216inline Point::Point(
float x,
float y,
float z,
float time,
float nElectrons,
float trackID,
float detID)
float GetEnergyLoss() const
math_utils::Point3D< float > mPos
const math_utils::Point3D< float > & getPos() const
ElementalHit(float x, float y, float z, float time, float e)
ClassDefNV(ElementalHit, 1)
ElementalHit(ElementalHit const &)=default
ElementalHit getHit(size_t index) const
std::vector< float, o2::utils::ShmAllocator< float > > vec_t
void addHit(float x, float y, float z, float time, short e)
void Print(const Option_t *opt) const
Output to screen.
Point()=default
Default constructor.
~Point()=default
Destructor.
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
TPCHitGroupID(int sindex, int c, int e, int gid, int src=0)