12#ifndef ALICEO2_HMPID_DETECTOR_H_
13#define ALICEO2_HMPID_DETECTOR_H_
32 std::vector<o2::hmpid::HitType>*
getHits(
int iColl)
const
41 bool isMTSafe()
const override {
return true; }
46 float Fresnel(
float ene,
float pdoti, Bool_t pola);
48 void Reset()
override;
68 std::vector<o2::hmpid::HitType>* mHits =
nullptr;
83 std::vector<TGeoVolume*> mSensitiveVolumes;
100 int mHcel6VolID = -1;
104 Double_t mMipEntry[3] = {0, 0, 0};
106 template <
typename Det>
121struct UseShm<
o2::hmpid::Detector> {
122 static constexpr bool value =
true;
Definition of the Detector class.
Detector()
Default Constructor.
float Fresnel(float ene, float pdoti, Bool_t pola)
TGeoVolume * createAbsorber(int chamber, float tickness)
o2::hmpid::HitType * AddHit(float x, float y, float z, float time, float energy, Int_t trackId, Int_t detId)
void InitializeO2Detector() override
bool ProcessHits(FairVolume *v) override
TGeoVolume * createChamber(int number)
void ConstructOpGeometry() override
TGeoVolume * CreateCradle()
void EndOfEvent() override
void IdealPositionCradle(int iCh, TGeoHMatrix *pMatrix)
TGeoVolume * CradleBaseVolume(TGeoMedium *med, double l[7], const char *name)
void ConstructGeometry() override
void IdealPosition(int iCh, TGeoHMatrix *pMatrix)
bool isMTSafe() const override
whether this detector may run in multithreaded Geant4, with one clone per worker thread
void defineOpticalProperties()
~Detector() override=default
std::vector< o2::hmpid::HitType > * getHits(int iColl) const
GLuint const GLchar * name
GLsizei const GLfloat * value
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...