/[PAMELA software]/PamVMC_update/tof/include/PamVMCDetTofS1.h
ViewVC logotype

Contents of /PamVMC_update/tof/include/PamVMCDetTofS1.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Tue Oct 15 15:51:21 2013 UTC (11 years, 1 month ago) by formato
Branch: MAIN, rel
CVS Tags: reltag, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
PamVMC update

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(t);
26 fdetSD.Add(new TObjString(t), s11y);
27 PamVMCSDMgr::Instance()->SetSD(t,s11y);
28 GetVol(t)->SetField(s11y);
29
30 t = "S12X";
31 PamVMCTofSD *s12x = new PamVMCTofSD(t);
32 fdetSD.Add(new TObjString(t), s12x);
33 PamVMCSDMgr::Instance()->SetSD(t,s12x);
34 GetVol(t)->SetField(s12x);
35 }
36
37 ClassDef(PamVMCDetTofS1,1)
38 };
39
40
41 #endif //PAMVMC_DET_TOF_S1_H

  ViewVC Help
Powered by ViewVC 1.1.23