12#ifndef O2_MCH_SIMULATION_DETECTOR_H
13#define O2_MCH_SIMULATION_DETECTOR_H
37 bool isMTSafe()
const override {
return true; }
48 std::vector<o2::mch::Hit>*
getHits(
int);
56 void defineSensitiveVolumes();
58 bool setHits(
int i, std::vector<o2::mch::Hit>*
ptr);
62 template <
typename Det>
76struct UseShm<
o2::mch::Detector> {
77 static constexpr bool value =
true;
Definition of the Detector class.
Detector()
Default Constructor.
Bool_t ProcessHits(FairVolume *v=nullptr) override
void InitializeO2Detector() override
void ConstructGeometry() override
void EndOfEvent() override
void addAlignableVolumes() const override
Add alignable top volumes.
bool isMTSafe() const override
whether this detector may run in multithreaded Geant4, with one clone per worker thread
std::vector< o2::mch::Hit > * getHits(int)
GLsizei const GLfloat * value
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...