/[PAMELA software]/PamVMC/trk/include/PamVMCDetTrk.h
ViewVC logotype

Annotation of /PamVMC/trk/include/PamVMCDetTrk.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Feb 18 17:41:08 2009 UTC (15 years, 9 months ago) by nikolas
Branch: MAIN
File MIME type: text/plain
Cleaning up before a release

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

  ViewVC Help
Powered by ViewVC 1.1.23