| 1 | nikolas | 1.1 | #ifndef PAMVMC_DET_TOF_H | 
| 2 |  |  | #define PAMVMC_DET_TOF_H | 
| 3 |  |  |  | 
| 4 |  |  | #include "PamVMCDetector.h" | 
| 5 |  |  |  | 
| 6 |  |  | #include "PamVMCDetTofS1.h" | 
| 7 |  |  | #include "PamVMCDetTofS2.h" | 
| 8 |  |  | #include "PamVMCDetTofS3.h" | 
| 9 |  |  |  | 
| 10 |  |  | class PamVMCDetTof  : public PamVMCDetector { | 
| 11 |  |  |  | 
| 12 |  |  | public: | 
| 13 |  |  |  | 
| 14 |  |  |  | 
| 15 |  |  | PamVMCDetTof():PamVMCDetector("Tof") | 
| 16 |  |  | { | 
| 17 |  |  | TString t = "S1"; | 
| 18 |  |  | fsubdet.Add( new TObjString(t), new PamVMCDetTofS1()); | 
| 19 |  |  | t = "S2"; | 
| 20 |  |  | fsubdet.Add( new TObjString(t), new PamVMCDetTofS2()); | 
| 21 |  |  | t = "S3"; | 
| 22 |  |  | fsubdet.Add( new TObjString(t), new PamVMCDetTofS3()); | 
| 23 |  |  | } | 
| 24 |  |  |  | 
| 25 |  |  | void DefineGeometry(){; }; | 
| 26 |  |  |  | 
| 27 |  |  | void DefineCuts(){; }; | 
| 28 |  |  |  | 
| 29 |  |  | ClassDef(PamVMCDetTof,1) | 
| 30 |  |  | }; | 
| 31 |  |  |  | 
| 32 |  |  |  | 
| 33 |  |  | #endif //PAMVMC_DET_TOF_H |