15#ifndef ALICEO2_FT3_DETECTOR_H_
16#define ALICEO2_FT3_DETECTOR_H_
25#include "TGeoManager.h"
26#include "TLorentzVector.h"
82 std::vector<o2::itsmft::Hit>*
getHits(Int_t iColl)
const
91 void Reset()
override;
98 const TVector3& startMom,
double startE,
double endTime,
double eLoss,
99 unsigned char startStatus,
unsigned char endStatus);
135 unsigned char mTrkStatusStart;
136 TLorentzVector mPositionStart;
137 TLorentzVector mMomentumStart;
142 std::vector<o2::itsmft::Hit>* mHits;
145 virtual void createMaterials();
148 void createGeometry();
151 void defineSensitiveVolumes();
157 std::vector<std::vector<FT3Layer>> mLayers;
158 bool mIsPipeActivated =
true;
160 template <
typename Det>
174struct UseShm<
o2::ft3::Detector> {
175 static constexpr bool value =
true;
Definition of the Detector class.
Definition of the GeometryManager class.
Definition of the ITSMFT Hit class.
static int getSensID(o2::detectors::DetID detid, int sensid)
~Detector() override
Default destructor.
GeometryTGeo * mGeometryTGeo
std::vector< std::vector< TString > > mLayerName
void InitializeO2Detector() override
Initialization of the detector is done here.
void BeginPrimary() override
void EndOfEvent() override
Int_t getNumberOfLayers() const
Returns the number of layers.
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)
This method is an example of how to add your own point of type Hit to the clones array.
void Register() override
Registers the produced collections in FAIRRootManager.
void buildFT3FromFile(std::string)
std::vector< o2::itsmft::Hit > * getHits(Int_t iColl) const
Gets the produced collections.
void ConstructGeometry() override
Base class to create the detector geometry.
Detector()
Default constructor.
Bool_t ProcessHits(FairVolume *v=nullptr) override
This method is called for each step during simulation (see FairMCApplication::Stepping())
std::vector< Int_t > mLayerID
void buildBasicFT3(const FT3BaseParam ¶m)
Int_t chipVolUID(Int_t id) const
void buildFT3NewVacuumVessel()
void FinishPrimary() override
void Reset() override
Has to be called after each event to reset the containers.
void PostTrack() override
void exportLayout()
access to geometry details
GLsizei const GLfloat * value
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...