/[PAMELA software]/PamVMC/tof/include/PamVMCDetTofS2.h
ViewVC logotype

Contents of /PamVMC/tof/include/PamVMCDetTofS2.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Feb 19 16:00:16 2009 UTC (15 years, 9 months ago) by nikolas
Branch: MAIN
File MIME type: text/plain
Cleaning files before release

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

  ViewVC Help
Powered by ViewVC 1.1.23