1 |
#ifndef PAMVMC_DET_CAT_H |
2 |
#define PAMVMC_DET_CAT_H |
3 |
|
4 |
#include "PamVMCDetector.h" |
5 |
|
6 |
#include "PamVMCCatSD.h" |
7 |
|
8 |
class PamVMCCatSD; |
9 |
|
10 |
class PamVMCDetCat : public PamVMCDetector { |
11 |
|
12 |
private: |
13 |
|
14 |
Bool_t TPLAfirst; |
15 |
|
16 |
public: |
17 |
|
18 |
|
19 |
PamVMCDetCat():PamVMCDetector("Cat") |
20 |
{; }; |
21 |
|
22 |
void DefineGeometry(); |
23 |
|
24 |
void DefineCuts(); |
25 |
|
26 |
virtual void InitMC(){ |
27 |
|
28 |
TString t = "TOP1"; |
29 |
PamVMCCatSD *mgsc = new PamVMCCatSD(); |
30 |
fdetSD.Add(new TObjString(t), mgsc); |
31 |
PamVMCSDMgr::Instance()->SetSD(t,mgsc); |
32 |
GetVol(t)->SetField(mgsc); |
33 |
} |
34 |
|
35 |
ClassDef(PamVMCDetCat,1) |
36 |
}; |
37 |
|
38 |
|
39 |
#endif //PAMVMC_DET_CAT_H |