1 |
nikolas |
1.1 |
#ifndef PAMVMC_DET_TOF_S2_H |
2 |
|
|
#define PAMVMC_DET_TOF_S2_H |
3 |
|
|
|
4 |
|
|
#include "PamVMCDetector.h" |
5 |
|
|
|
6 |
|
|
#include "PamVMCTofSD.h" |
7 |
|
|
|
8 |
|
|
class PamVMCTofSD; |
9 |
|
|
|
10 |
|
|
class PamVMCDetTofS2 : public PamVMCDetector { |
11 |
|
|
|
12 |
|
|
private: |
13 |
|
|
|
14 |
|
|
Bool_t TPLAfirst; |
15 |
|
|
|
16 |
|
|
public: |
17 |
|
|
|
18 |
|
|
|
19 |
|
|
PamVMCDetTofS2():PamVMCDetector("S2") |
20 |
|
|
{; }; |
21 |
|
|
|
22 |
|
|
void DefineGeometry(); |
23 |
|
|
|
24 |
|
|
void DefineCuts(); |
25 |
|
|
|
26 |
|
|
virtual void InitMC(){ |
27 |
|
|
|
28 |
|
|
TString t = "S21X"; |
29 |
|
|
PamVMCTofSD *s21x = new PamVMCTofSD("S21X"); |
30 |
|
|
fdetSD.Add(new TObjString(t), s21x); |
31 |
|
|
PamVMCSDMgr::Instance()->SetSD("S21X",s21x); |
32 |
|
|
|
33 |
|
|
t = "S22Y"; |
34 |
|
|
PamVMCTofSD *s22y = new PamVMCTofSD("S22Y"); |
35 |
|
|
fdetSD.Add(new TObjString(t), s22y); |
36 |
|
|
PamVMCSDMgr::Instance()->SetSD("S22Y",s22y); |
37 |
|
|
} |
38 |
|
|
|
39 |
|
|
ClassDef(PamVMCDetTofS2,1) |
40 |
|
|
}; |
41 |
|
|
|
42 |
|
|
|
43 |
|
|
#endif //PAMVMC_DET_TOF_S2_H |