EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairRadMapManager.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairRadMapManager.h
1 // -------------------------------------------------------------------------
2 // ----- FairRadMapManager source file -----
3 // -------------------------------------------------------------------------
4 #ifndef FAIRRADMAPMANAGER_H
5 #define FAIRRADMAPMANAGER_H 1
6 
7 #include "Rtypes.h"
8 #include "TClonesArray.h"
9 #include "TLorentzVector.h"
10 #include "TGeoManager.h"
11 
12 
19 {
20 
21  public:
28 
32  virtual ~FairRadMapManager();
33 
38 
39 
40  private:
41 
44 
46 
50  TClonesArray* fPointCollection;
52  Int_t fTrackID;
53 
54  Int_t fVolumeID;
55 
56  Int_t fPdg;
57 
58  TLorentzVector fPosIn;
59 
60  TLorentzVector fPosOut;
61 
62  TLorentzVector fMomIn;
63 
64  TLorentzVector fMomOut;
65 
66  Double_t fTime;
67 
68  Double_t fLength;
69 
70  Double_t fStep;
72  Double_t fELoss;
73 
74  Double_t fDose;
75  Double_t fDoseSL;
77  Float_t fA;
79  Float_t fZmat;
81  Float_t fRadl;
83  Float_t fDensity;
85  Float_t fAbsl;
86  //**volume, mass */
87  Double_t fActVol;
88  Double_t fActMass;
89 
90  TMap* fMassMap;
91 
92 
93  public:
95  void AddPoint(Int_t& ModuleId);
97  void Init();
99  void Reset();
105  static FairRadMapManager* Instance();
106  // void GetGeoManager();
107 };
108 
109 #endif