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

Annotation of /trieste/pamVMC/ac/include/PamVMCDetCard.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Mar 4 12:51:22 2009 UTC (15 years, 9 months ago) by pamelats
Branch: pamVMC
CVS Tags: start, v0r00
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Test pamVMC

1 pamelats 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