12#ifndef ALICEO2_TRK_DETECTOR_H
13#define ALICEO2_TRK_DETECTOR_H
22#include <TLorentzVector.h>
46 const TVector3& startMom,
double startE,
double endTime,
double eLoss,
47 unsigned char startStatus,
unsigned char endStatus);
58 void Reset()
override;
61 std::vector<o2::itsmft::Hit>*
getHits(
int iColl)
const
71 void configFromFile(std::string fileName =
"alice3_TRK_layout.txt");
72 void configToFile(std::string fileName =
"alice3_TRK_layout.txt");
82 unsigned char mTrkStatusStart;
83 TLorentzVector mPositionStart;
84 TLorentzVector mMomentumStart;
87 GeometryTGeo* mGeometryTGeo;
88 std::vector<o2::itsmft::Hit>* mHits;
89 std::vector<TRKLayer> mLayers;
90 TRKServices mServices;
92 void defineSensitiveVolumes();
94 template <
typename Det>
107struct UseShm<
o2::trk::Detector> {
108 static constexpr bool value =
true;
Definition of the Detector class.
Definition of the ITSMFT Hit class.
void ConstructGeometry() 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 InitializeO2Detector() override
void FinishPrimary() override
void PostTrack() override
std::vector< o2::itsmft::Hit > * getHits(int iColl) const
void configFromFile(std::string fileName="alice3_TRK_layout.txt")
void EndOfEvent() override
static o2::base::Detector * create(bool active)
void configToFile(std::string fileName="alice3_TRK_layout.txt")
void buildTRKNewVacuumVessel()
bool ProcessHits(FairVolume *v=nullptr) override
GLsizei const GLfloat * value
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...