/[PAMELA software]/PamVMC/ac/include/PamVMCDetCard.h
ViewVC logotype

Annotation of /PamVMC/ac/include/PamVMCDetCard.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Feb 19 16:00:11 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_CARD_H
2     #define PAMVMC_DET_CARD_H
3    
4     #include "PamVMCDetector.h"
5    
6     #include "PamVMCCardSD.h"
7    
8     class PamVMCCardSD;
9    
10     class PamVMCDetCard : public PamVMCDetector {
11    
12     public:
13    
14    
15     PamVMCDetCard():PamVMCDetector("Card")
16     {; };
17    
18     void DefineGeometry();
19    
20     void DefineCuts();
21    
22     virtual void InitMC(){
23    
24     TString t = "C1D1";
25     PamVMCCardSD *c1d1 = new PamVMCCardSD("C1D1");
26     fdetSD.Add(new TObjString(t), c1d1);
27     PamVMCSDMgr::Instance()->SetSD("C1D1",c1d1);
28    
29     t = "C2D1";
30     PamVMCCardSD *c2d1 = new PamVMCCardSD("C2D1");
31     fdetSD.Add(new TObjString(t), c2d1);
32     PamVMCSDMgr::Instance()->SetSD("C2D1",c2d1);
33     }
34    
35     ClassDef(PamVMCDetCard,1)
36     };
37    
38    
39     #endif //PAMVMC_DET_CARD_H

  ViewVC Help
Powered by ViewVC 1.1.23