12#ifndef ALICEO2_TRD_DETECTOR_H_
13#define ALICEO2_TRD_DETECTOR_H_
40 std::vector<Hit>*
getHits(
int iColl)
const
48 void Reset()
override;
59 void InitializeParams();
62 void defineSensitiveVolumes();
66 void addHit(T
x, T
y, T
z, T locC, T locR, T locT, T tof,
int charge,
int trackId,
int detId,
bool drift =
false);
69 void createTRhit(
int);
71 std::vector<Hit>* mHits =
nullptr;
74 float mGasNobleFraction;
86 template <
typename Det>
92void Detector::addHit(T
x, T
y, T
z, T locC, T locR, T locT, T tof,
int charge,
int trackId,
int detId,
bool drift)
94 mHits->emplace_back(
x,
y,
z, locC, locR, locT, tof,
charge, trackId, detId, drift);
106struct UseShm<
o2::trd::Detector> {
107 static constexpr bool value =
true;
Definition of the Detector class.
Detector()
Default Constructor.
void InitializeO2Detector() override
void EndOfEvent() override
void ConstructGeometry() override
void addAlignableVolumes() const override
Add alignable top volumes.
bool ProcessHits(FairVolume *v=nullptr) override
std::vector< Hit > * getHits(int iColl) const
void FinishEvent() override
GLsizei const GLfloat * value
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...