12#ifndef O2_MID_SIMULATION_DETECTOR_H
13#define O2_MID_SIMULATION_DETECTOR_H
32 bool isMTSafe()
const override {
return true; }
38 std::vector<o2::mid::Hit>*
getHits(
int iColl);
50 void defineSensitiveVolumes();
52 bool setHits(
int iColl, std::vector<o2::mid::Hit>*
ptr);
56 template <
typename Det>
70struct UseShm<
o2::mid::Detector> {
71 static constexpr bool value =
true;
Definition of the Detector class.
Detector()
Default Constructor.
void ConstructGeometry() override
bool ProcessHits(FairVolume *vol=nullptr) override
void EndOfEvent() override
std::vector< o2::mid::Hit > * getHits(int iColl)
bool isMTSafe() const override
whether this detector may run in multithreaded Geant4, with one clone per worker thread
void InitializeO2Detector() override
GLsizei const GLfloat * value
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...