15#ifndef ALICEO2_FCT_DETECTOR_H_
16#define ALICEO2_FCT_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);
123 std::vector<Int_t> mLayerID;
124 std::vector<Int_t> mConverterLayerId;
125 std::vector<TString> mLayerName;
126 std::vector<TString> mConverterLayerName;
127 Int_t mNumberOfLayers;
128 Int_t mNumberOfConverterLayers;
133 unsigned char mTrkStatusStart;
134 TLorentzVector mPositionStart;
135 TLorentzVector mMomentumStart;
140 std::vector<o2::itsmft::Hit>* mHits;
143 virtual void createMaterials();
146 void createGeometry();
149 void defineSensitiveVolumes();
155 std::vector<FCTLayer> mLayers;
156 std::vector<FCTLayer> mConverterLayers;
157 bool mIsPipeActivated =
true;
159 template <
typename Det>
173struct UseShm<
o2::fct::Detector> {
174 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)
Int_t chipVolUID(Int_t id) const
~Detector() override
Default destructor.
void InitializeO2Detector() override
Initialization of the detector is done here.
void FinishPrimary() override
void EndOfEvent() 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)
This method is an example of how to add your own point of type Hit to the clones array.
void buildBasicFCT(const FCTBaseParam ¶m)
void Register() override
Registers the produced collections in FAIRRootManager.
Bool_t ProcessHits(FairVolume *v=nullptr) override
This method is called for each step during simulation (see FairMCApplication::Stepping())
void buildFCTFromFile(std::string)
void BeginPrimary() override
void ConstructGeometry() override
Base class to create the detector geometry.
Detector()
Default constructor.
GeometryTGeo * mGeometryTGeo
void PostTrack() override
std::vector< o2::itsmft::Hit > * getHits(Int_t iColl) const
Gets the produced collections.
void Reset() override
Has to be called after each event to reset the containers.
void exportLayout()
access to geometry details
Int_t getNumberOfLayers() const
Returns the number of layers.
GLsizei const GLfloat * value
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...