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

Annotation of /PamVMC_update/tof/include/PamVMCDetTofS3.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_S3_H
2     #define PAMVMC_DET_TOF_S3_H
3    
4     #include "PamVMCDetector.h"
5    
6     #include "PamVMCTofSD.h"
7    
8     class PamVMCTofSD;
9    
10     class PamVMCDetTofS3 : public PamVMCDetector {
11    
12     public:
13    
14    
15     PamVMCDetTofS3():PamVMCDetector("S3")
16     {; };
17    
18    
19     void DefineGeometry();
20    
21     void DefineCuts();
22    
23     virtual void InitMC(){
24    
25     TString t = "S31Y";
26     PamVMCTofSD *s31y = new PamVMCTofSD(t);
27     fdetSD.Add(new TObjString(t), s31y);
28     PamVMCSDMgr::Instance()->SetSD(t,s31y);
29     GetVol(t)->SetField(s31y);
30    
31     t = "S32X";
32     PamVMCTofSD *s32x = new PamVMCTofSD(t);
33     fdetSD.Add(new TObjString(t), s32x);
34     PamVMCSDMgr::Instance()->SetSD(t,s32x);
35     GetVol(t)->SetField(s32x);
36     }
37    
38     ClassDef(PamVMCDetTofS3,1)
39     };
40    
41    
42     #endif //PAMVMC_DET_TOF_S3_H

  ViewVC Help
Powered by ViewVC 1.1.23