12#ifndef ALICEO2_IOTOF_DETECTOR_H
13#define ALICEO2_IOTOF_DETECTOR_H
22#include <TLorentzVector.h>
40 const TVector3& startMom,
double startE,
double endTime,
double eLoss,
41 unsigned char startStatus,
unsigned char endStatus);
52 void Reset()
override;
55 std::vector<o2::itsmft::Hit>*
getHits(
int iColl)
const
63 void configLayers(
bool itof =
true,
bool otof =
true,
bool ftof =
true,
bool btof =
true);
73 unsigned char mTrkStatusStart;
74 TLorentzVector mPositionStart;
75 TLorentzVector mMomentumStart;
79 GeometryTGeo* mGeometryTGeo;
80 std::vector<o2::itsmft::Hit>* mHits;
86 void defineSensitiveVolumes();
88 template <
typename Det>
101struct UseShm<
o2::iotof::Detector> {
102 static constexpr bool value =
true;
Definition of the Detector class.
Definition of the ITSMFT Hit class.
void BeginPrimary() override
bool ProcessHits(FairVolume *v=nullptr) override
std::vector< o2::itsmft::Hit > * getHits(int iColl) const
void PostTrack() override
void configLayers(bool itof=true, bool otof=true, bool ftof=true, bool btof=true)
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 ConstructGeometry() override
void InitializeO2Detector() override
void FinishPrimary() override
void EndOfEvent() override
GLsizei const GLfloat * value
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...