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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Oct 15 15:51:26 2013 UTC (11 years, 1 month ago) by formato
Branch point for: MAIN, rel
File MIME type: text/plain
Initial revision

1 formato 1.1 #ifndef PAMVMC_DET_TRK_H
2     #define PAMVMC_DET_TRK_H
3    
4     #include "TVector3.h"
5     #include "PamVMCDetector.h"
6     #include "pCombTrans.h"
7     #include "PamVMCTrkSD.h"
8    
9     #define NP_TRK 6
10    
11     class PamVMCTrkSD;
12    
13     class PamVMCDetTrk : public PamVMCDetector {
14    
15     Double_t dxflo[NP_TRK*NP_TRK], dyflo[NP_TRK*NP_TRK];
16     CombTransMap fctmap;
17     void ReadPaddlesPos();
18     public:
19    
20    
21     PamVMCDetTrk():PamVMCDetector("Tracker")
22     {; };
23    
24     ~PamVMCDetTrk(){
25     fctmap.clear();
26     }
27    
28     void DefineGeometry();
29    
30     void DefineCuts();
31    
32     virtual void InitMC(){
33    
34     TString t = "TSPA";
35     PamVMCTrkSD *trk = new PamVMCTrkSD();
36     fdetSD.Add(new TObjString(t), trk);
37     PamVMCSDMgr::Instance()->SetSD(t,trk);
38     //insert SD in Field of Volume
39     GetVol(t)->SetField(trk);
40     }
41    
42     ClassDef(PamVMCDetTrk,1)
43     };
44    
45    
46     #endif //PAMVMC_DET_TRK_H

  ViewVC Help
Powered by ViewVC 1.1.23