17#ifndef ALICEO2_MFT_DETECTOR_H
18#define ALICEO2_MFT_DETECTOR_H
20#include "TLorentzVector.h"
70 void Reset()
override;
76 std::vector<o2::itsmft::Hit>*
getHits(Int_t iColl)
const
132 if (density > 1e-6) {
150 std::vector<o2::itsmft::Hit>* mHits;
155 o2::itsmft::Hit* addHit(
int trackID,
int detID, TVector3 startPos, TVector3 endPos, TVector3 startMom,
double startE,
156 double endTime,
double eLoss,
unsigned char startStatus,
unsigned char endStatus);
161 unsigned char mTrkStatusStart;
162 TLorentzVector mPositionStart;
163 TLorentzVector mMomentumStart;
167 template <
typename Det>
184struct UseShm<
o2::mft::Detector> {
185 static constexpr bool value =
true;
Definition of the Detector class.
Definition of the ITSMFT Hit class.
void setDensitySupportOverSi(Double_t density)
~Detector() override
Default destructor.
void PostTrack() override
void InitializeO2Detector() override
Initialization of the detector is done here.
void createMaterials()
Creating materials for the detector.
GeometryTGeo * mGeometryTGeo
void addAlignableVolumesLadder(Int_t hf, Int_t dk, Int_t lr, TString &parent, Int_t &lastUID) const
void EndOfEvent() override
void BeginPrimary() override
void Register() override
Registers the produced collections in FAIRRootManager.
void FinishPrimary() override
std::vector< o2::itsmft::Hit > * getHits(Int_t iColl) const
Gets the produced hits.
Bool_t ProcessHits(FairVolume *v=nullptr) override
This method is called for each step during simulation (see FairMCApplication::Stepping())
void ConstructGeometry() override
void addAlignableVolumes() const override
Add alignable top volumes.
Detector()
Default constructor.
void defineSensitiveVolumes()
void addAlignableVolumesChip(Int_t hf, Int_t dk, Int_t lr, Int_t ms, TString &parent, Int_t &lastUID) const
void FinishRun() override
Double_t mDensitySupportOverSi
Int_t mVersion
access to geometry details
void addAlignableVolumesDisk(Int_t hf, Int_t dk, TString &parent, Int_t &lastUID) const
void Reset() override
Has to be called after each event to reset the containers.
void addAlignableVolumesHalf(Int_t hf, TString &parent, Int_t &lastUID) const
GLsizei GLsizei GLchar * source
GLsizei const GLfloat * value
std::ostream & operator<<(std::ostream &os, Detector &source)
std::istream & operator>>(std::istream &os, Detector &source)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...