15#ifndef ALICEO2_ECAL_DETECTOR_H
16#define ALICEO2_ECAL_DETECTOR_H
23#include <TLorentzVector.h>
41 const TVector3& startMom,
double startE,
double endTime,
double eLoss,
42 unsigned char startStatus,
unsigned char endStatus);
53 void Reset()
override;
56 std::vector<o2::itsmft::Hit>*
getHits(
int iColl)
const
71 unsigned char mTrkStatusStart;
72 TLorentzVector mPositionStart;
73 TLorentzVector mMomentumStart;
77 GeometryTGeo* mGeometryTGeo;
78 std::vector<o2::itsmft::Hit>* mHits;
80 void defineSensitiveVolumes();
85 bool mEnableEndcap{
true};
88 template <
typename Det>
101struct UseShm<
o2::ecal::Detector> {
102 static constexpr bool value =
true;
Definition of the Detector class.
Definition of the ITSMFT Hit class.
bool ProcessHits(FairVolume *v=nullptr) override
void BeginPrimary() override
o2::itsmft::Hit * addHit(int trackID, int detID, const TVector3 &startPos, const TVector3 &endPos, const TVector3 &startMom, double startE, double endTime, double eLoss, unsigned char startStatus, unsigned char endStatus)
void PostTrack() override
void EndOfEvent() override
void ConstructGeometry() override
ClassDefOverride(Detector, 1)
void InitializeO2Detector() override
void FinishPrimary() override
std::vector< o2::itsmft::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 ...