Parent Directory | Revision Log
Initial revision
1 | formato | 1.1 | #ifndef PAMVMC_DET_S4_H |
2 | #define PAMVMC_DET_S4_H | ||
3 | |||
4 | #include "PamVMCDetector.h" | ||
5 | |||
6 | #include "PamVMCS4SD.h" | ||
7 | |||
8 | class PamVMCS4SD; | ||
9 | |||
10 | class PamVMCDetS4 : public PamVMCDetector { | ||
11 | |||
12 | public: | ||
13 | |||
14 | |||
15 | PamVMCDetS4():PamVMCDetector("S4") | ||
16 | {; }; | ||
17 | |||
18 | void DefineGeometry(); | ||
19 | |||
20 | void DefineCuts(); | ||
21 | |||
22 | virtual void InitMC(){ | ||
23 | |||
24 | TString t = "S4"; | ||
25 | PamVMCS4SD *s4 = new PamVMCS4SD(); | ||
26 | fdetSD.Add(new TObjString(t), s4); | ||
27 | PamVMCSDMgr::Instance()->SetSD(t,s4); | ||
28 | GetVol(t)->SetField(s4); | ||
29 | } | ||
30 | |||
31 | ClassDef(PamVMCDetS4,1) | ||
32 | }; | ||
33 | |||
34 | |||
35 | #endif //PAMVMC_DET_S4_H |
ViewVC Help | |
Powered by ViewVC 1.1.23 |