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

Annotation of /trieste/pamVMC/include/PamVMCDetPamela.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Mar 4 12:51:10 2009 UTC (15 years, 9 months ago) by pamelats
Branch point for: MAIN, pamVMC
File MIME type: text/plain
Initial revision

1 pamelats 1.1 #ifndef PAMVMC_DET_PAMELA_H
2     #define PAMVMC_DET_PAMELA_H
3    
4     #include "PamVMCDetector.h"
5    
6     #include "PamVMCDetCalo.h"
7     #include "PamVMCDetTrk.h"
8     #include "PamVMCDetTof.h"
9     #include "PamVMCDetAc.h"
10     #include "PamVMCDetS4.h"
11     #include "PamVMCDetND.h"
12    
13    
14    
15     class PamVMCDetPamela : public PamVMCDetector {
16    
17     private:
18    
19    
20     public:
21    
22     PamVMCDetPamela():PamVMCDetector("Pamela")
23     {
24     TString t = "Calorimeter";
25     fsubdet.Add(new TObjString(t), new PamVMCDetCalo());
26     t = "Tracker";
27     fsubdet.Add(new TObjString(t), new PamVMCDetTrk());
28     t = "Tof";
29     fsubdet.Add(new TObjString(t), new PamVMCDetTof());
30     t = "Ac";
31     fsubdet.Add(new TObjString(t), new PamVMCDetAc());
32     t = "S4";
33     fsubdet.Add(new TObjString(t), new PamVMCDetS4());
34     t = "ND";
35     fsubdet.Add(new TObjString(t), new PamVMCDetND());
36    
37     };
38    
39     void DefineMother();
40    
41     void DefineShell();
42    
43     void DefineCuts();
44    
45     //void SetCuts();
46    
47     void DefineGeometry(){
48     DefineMother();
49     DefineShell();
50     }
51    
52     TGeoVolume* GetMotherVol(){ return GetVol("PAME"); }
53    
54    
55    
56     ClassDef(PamVMCDetPamela,1)
57     };
58    
59    
60     #endif //PAMVMC_DET_PAMELA_H

  ViewVC Help
Powered by ViewVC 1.1.23