/[PAMELA software]/PamVMC_update/ac/include/PamVMCDetCas.h
ViewVC logotype

Annotation of /PamVMC_update/ac/include/PamVMCDetCas.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Tue Oct 15 15:51:31 2013 UTC (11 years, 3 months ago) by formato
Branch: MAIN, rel
CVS Tags: reltag, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
PamVMC update

1 formato 1.1 #ifndef PAMVMC_DET_CAS_H
2     #define PAMVMC_DET_CAS_H
3    
4     #include "PamVMCDetector.h"
5    
6     #include "PamVMCCasSD.h"
7    
8     class PamVMCCasSD;
9    
10     class PamVMCDetCas : public PamVMCDetector {
11    
12     public:
13    
14    
15     PamVMCDetCas():PamVMCDetector("Cas")
16     { ; };
17    
18     void DefineGeometry();
19    
20     void DefineCuts();
21    
22     virtual void InitMC(){
23    
24     TString t = "SID1";
25     PamVMCCasSD *sid1 = new PamVMCCasSD();
26     fdetSD.Add(new TObjString(t), sid1);
27     PamVMCSDMgr::Instance()->SetSD(t,sid1);
28     GetVol(t)->SetField(sid1);
29     }
30    
31     ClassDef(PamVMCDetCas,1)
32     };
33    
34    
35     #endif //PAMVMC_DET_CAS_H

  ViewVC Help
Powered by ViewVC 1.1.23