/[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.2 - (hide annotations) (download)
Tue Mar 24 14:03:57 2009 UTC (15 years, 9 months ago) by pizzolot
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -0 lines
File MIME type: text/plain
setting of random seed; new distribution for primary generation

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

  ViewVC Help
Powered by ViewVC 1.1.23