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