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

Annotation of /PamVMC_update/tof/include/PamVMCDetTofS2.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide 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 formato 1.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(t);
30     fdetSD.Add(new TObjString(t), s21x);
31     PamVMCSDMgr::Instance()->SetSD(t,s21x);
32     GetVol(t)->SetField(s21x);
33    
34     t = "S22Y";
35     PamVMCTofSD *s22y = new PamVMCTofSD(t);
36     fdetSD.Add(new TObjString(t), s22y);
37     PamVMCSDMgr::Instance()->SetSD(t,s22y);
38     GetVol(t)->SetField(s22y);
39     }
40    
41     ClassDef(PamVMCDetTofS2,1)
42     };
43    
44    
45     #endif //PAMVMC_DET_TOF_S2_H

  ViewVC Help
Powered by ViewVC 1.1.23