Parent Directory
|
Revision Log
PamVMC update
| 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 |