17#ifndef ALICEO2_ECAL_DETECTOR_H
18#define ALICEO2_ECAL_DETECTOR_H
23#include <TLorentzVector.h>
46 void Reset()
override;
47 std::vector<o2::ecal::Hit>*
getHits(
int iColl)
const {
return !iColl ? mHits :
nullptr; }
50 void createMaterials();
51 void createGeometry();
52 void defineSamplingFactor();
53 std::unordered_map<int, int> mSuperParentIndices;
54 int currentTrackId = -1;
55 int superparentId = -1;
57 std::vector<o2::ecal::Hit>* mHits;
58 double mSamplingFactorTransportModel = 1.;
61 template <
typename Det>
74struct UseShm<
o2::ecal::Detector> {
75 static constexpr bool value =
true;
Definition of the Detector class.
MC hit class to store energy loss per cell and per superparent.
Class containing ECal volume naming patterns.
Detector()
Default Constructor.
bool ProcessHits(FairVolume *v=nullptr) override
void BeginPrimary() override
void PostTrack() override
void EndOfEvent() override
void ConstructGeometry() override
ClassDefOverride(Detector, 1)
void InitializeO2Detector() override
void FinishPrimary() override
std::vector< o2::ecal::Hit > * getHits(int iColl) const
GLsizei const GLfloat * value
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...