15#ifndef ALICEO2_FD3_DETECTOR_H_
16#define ALICEO2_FD3_DETECTOR_H_
24#include "TGeoManager.h"
25#include "TLorentzVector.h"
58 const math_utils::Point3D<float>& startPos,
59 const math_utils::Point3D<float>& endPos,
60 const math_utils::Vector3D<float>& startMom,
69 std::vector<o2::fd3::Hit>*
getHits(Int_t iColl)
86 void Reset()
override;
100 std::vector<o2::fd3::Hit>* mHits =
nullptr;
103 TGeoVolumeAssembly* buildModuleScint(
float etaMin,
float etaMax);
104 TGeoVolumeAssembly* buildModuleCherenkov_v1();
105 TGeoVolumeAssembly* buildModuleCherenkov_v2();
108 std::map<int, int> mChannelId;
110 float getRingSize(
float zmod,
float eta);
112 void defineSensitiveVolumes();
113 void definePassiveVolumes();
118 unsigned char mTrkStatusStart;
119 TLorentzVector mPositionStart;
120 TLorentzVector mMomentumStart;
124 template <
typename Det>
142struct UseShm<
o2::fd3::Detector> {
143 static constexpr bool value =
true;
Definition of the Detector class.
o2::fd3::Hit * addHit(int trackId, unsigned int detId, const math_utils::Point3D< float > &startPos, const math_utils::Point3D< float > &endPos, const math_utils::Vector3D< float > &startMom, double startE, double endTime, double eLoss, int particlePdg)
This method is an example of how to add your own point of type Hit to the clones array.
void InitializeO2Detector() override
void BeginPrimary() override
void FinishPrimary() override
std::vector< o2::fd3::Hit > * getHits(Int_t iColl)
void EndOfEvent() override
void ConstructGeometry() override
bool ProcessHits(FairVolume *v=nullptr) override
void PostTrack() override
GLsizei GLsizei GLchar * source
GLsizei const GLfloat * value
std::istream & operator>>(std::istream &os, Detector &source)
std::ostream & operator<<(std::ostream &os, Detector &source)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...