1 |
nikolas |
1.1 |
#ifndef PAMVMC_VOL_CROSS_H |
2 |
|
|
#define PAMVMC_VOL_CROSS_H |
3 |
|
|
#include <iostream> |
4 |
|
|
#include <TObject.h> |
5 |
|
|
#include <TString.h> |
6 |
|
|
#include <TObjString.h> |
7 |
|
|
#include <TMap.h> |
8 |
|
|
#include "PamVMCGeoID.h" |
9 |
|
|
#include "PamVMCGeoIDMgr.h" |
10 |
|
|
//#include <TG4G3Units.h> |
11 |
|
|
|
12 |
|
|
class PamVMCVolCross : public TObject { |
13 |
|
|
|
14 |
|
|
protected: |
15 |
|
|
|
16 |
|
|
TString fdname; |
17 |
|
|
PamVMCGeoID *fdetID; |
18 |
|
|
|
19 |
|
|
public: |
20 |
|
|
|
21 |
|
|
|
22 |
|
|
PamVMCVolCross(char *dname=""): fdname(dname), fdetID(0) |
23 |
|
|
{ |
24 |
|
|
fdetID=new PamVMCGeoID(dname); |
25 |
|
|
} |
26 |
|
|
|
27 |
|
|
|
28 |
|
|
virtual ~PamVMCVolCross() { delete fdetID;} |
29 |
|
|
|
30 |
|
|
virtual void CrossVol(){ |
31 |
|
|
fdetID->FillVolID(); |
32 |
|
|
FillCrossMap(); |
33 |
|
|
} |
34 |
|
|
|
35 |
|
|
virtual void FillCrossMap()=0; |
36 |
|
|
|
37 |
|
|
virtual void Reset()=0; |
38 |
|
|
|
39 |
|
|
virtual Bool_t IsVolCross(){ return kFALSE; }; |
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
ClassDef(PamVMCVolCross,1) |
44 |
|
|
}; |
45 |
|
|
|
46 |
|
|
|
47 |
|
|
#endif //PAMVMC_VOL_CROSS_H |