er  dev
ERGadastSetup.h
1 // -------------------------------------------------------------------------
2 // ----- ERGadastSetup header file -----
3 // ----- Created data by Schetinin Vitaliy -----
4 // -------------------------------------------------------------------------
5 
6 
7 #ifndef ERGadastSetup_H
8 #define ERGadastSetup_H
9 
10 
11 #include "TVector3.h"
12 #include "TGeoMatrix.h"
13 #include "TGeoPhysicalNode.h"
14 
15 
16 #include "ERGadastDigiPar.h"
17 #include "ERSupport.h"
18 
20 public:
21  static ERGadastSetup* Instance();
22  static Bool_t Init();
23  static Float_t CsILC(TVector3* pos);
24  static Float_t LaBrLC(TVector3* pos);
25  static Float_t CsIDispA(TVector3* pos);
26  static Float_t LaBrDispA(TVector3* pos);
27  static Float_t CsIDispB(TVector3* pos);
28  static Float_t LaBrDispB(TVector3* pos);
29 
30  int GetMeshElement(TVector3* pos, SensetiveType detType);
31 private:
32  ERGadastSetup();
33  static ERGadastSetup* fInstance;
34  static ERGadastDigiPar* fDigiPar;
35  static TGeoPhysicalNode* fGadastNode;
36 };
37 
38 #endif