1 |
pamelats |
1.1 |
#ifndef PAMVMC_DET_TOF_S1_H |
2 |
|
|
#define PAMVMC_DET_TOF_S1_H |
3 |
|
|
|
4 |
|
|
#include "PamVMCDetector.h" |
5 |
|
|
|
6 |
|
|
#include "PamVMCTofSD.h" |
7 |
|
|
|
8 |
|
|
class PamVMCTofSD; |
9 |
|
|
|
10 |
|
|
class PamVMCDetTofS1 : public PamVMCDetector { |
11 |
|
|
|
12 |
|
|
public: |
13 |
|
|
|
14 |
|
|
|
15 |
|
|
PamVMCDetTofS1():PamVMCDetector("S1") |
16 |
|
|
{ }; |
17 |
|
|
|
18 |
|
|
void DefineGeometry(); |
19 |
|
|
|
20 |
|
|
void DefineCuts(); |
21 |
|
|
|
22 |
|
|
virtual void InitMC(){ |
23 |
|
|
|
24 |
|
|
TString t = "S11Y"; |
25 |
|
|
PamVMCTofSD *s11y = new PamVMCTofSD("S11Y"); |
26 |
|
|
fdetSD.Add(new TObjString(t), s11y); |
27 |
|
|
PamVMCSDMgr::Instance()->SetSD("S11Y",s11y); |
28 |
|
|
|
29 |
|
|
t = "S12X"; |
30 |
|
|
PamVMCTofSD *s12x = new PamVMCTofSD("S12X"); |
31 |
|
|
fdetSD.Add(new TObjString(t), s12x); |
32 |
|
|
PamVMCSDMgr::Instance()->SetSD("S12X",s12x); |
33 |
|
|
} |
34 |
|
|
|
35 |
|
|
ClassDef(PamVMCDetTofS1,1) |
36 |
|
|
}; |
37 |
|
|
|
38 |
|
|
|
39 |
|
|
#endif //PAMVMC_DET_TOF_S1_H |