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