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

Annotation of /PamVMC/tof/include/PamVMCDetTofS3.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide 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 nikolas 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("S31Y");
27     fdetSD.Add(new TObjString(t), s31y);
28     PamVMCSDMgr::Instance()->SetSD("S31Y",s31y);
29    
30     t = "S32X";
31     PamVMCTofSD *s32x = new PamVMCTofSD("S32X");
32     fdetSD.Add(new TObjString(t), s32x);
33     PamVMCSDMgr::Instance()->SetSD("S32X",s32x);
34     }
35    
36     ClassDef(PamVMCDetTofS3,1)
37     };
38    
39    
40     #endif //PAMVMC_DET_TOF_S3_H

  ViewVC Help
Powered by ViewVC 1.1.23