12#ifndef AliceO2_TPC_Detector_H_
13#define AliceO2_TPC_Detector_H_
17#include "TLorentzVector.h"
96 std::vector<HitGroup>*
getHits(Int_t iColl)
const
98 if (iColl >= 0 && iColl < Sector::MAXSECTOR) {
99 return mHitsPerSectorCollection[iColl];
124 template <
typename T>
136 Double_t Gamma(Double_t k);
154 int mElectronCounter = 0;
155 int mStepCounter = 0;
159 virtual void CreateMaterials();
166 void LoadGeometryFromFile();
168 void ConstructTPCGeometry();
171 void defineSensitiveVolumes();
174 bool setHits(Int_t iColl, std::vector<HitGroup>*
ptr)
176 if (iColl >= 0 && iColl < Sector::MAXSECTOR) {
177 mHitsPerSectorCollection[iColl] =
ptr;
179 if (iColl < Sector::MAXSECTOR - 1) {
187 std::vector<HitGroup>* mHitsPerSectorCollection[Sector::MAXSECTOR];
189 TString mGeoFileName;
197 template <
typename Det>
211struct UseShm<
o2::tpc::Detector> {
212 static constexpr bool value =
true;
Definition of the Detector class.
Detector & operator=(const Detector &)
Detector()
Default Constructor.
void BeginPrimary() override
void ConstructGeometry() override
Point * addHit(float x, float y, float z, float time, float nElectrons, float trackID, float detID)
Bool_t ProcessHits(FairVolume *v=nullptr) override
void FinishPrimary() override
const TString & GetGeoFileName() const
static T BetheBlochAleph(T bg, T kp1, T kp2, T kp3, T kp4, T kp5)
Copied from AliRoot - should go to someplace else.
void InitializeO2Detector() override
void PostTrack() override
std::vector< HitGroup > * getHits(Int_t iColl) const
void FinishRun() override
std::string getHitBranchNames(int coll) const override
void EndOfEvent() override
void SetGeoFileName(const TString file)
static o2::base::Detector * create(bool active)
GLsizei const GLfloat * value
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...