1 |
#ifndef PAMG4_REGION_CONSTRUCTION_H |
2 |
#define PAMG4_REGION_CONSTRUCTION_H |
3 |
|
4 |
#include <G4LogicalVolume.hh> |
5 |
#include <TG4VUserRegionConstruction.h> |
6 |
|
7 |
#include "TG4Globals.h" |
8 |
|
9 |
|
10 |
class PamG4RegionConstruction: public TG4VUserRegionConstruction |
11 |
{ |
12 |
public: |
13 |
PamG4RegionConstruction(const G4String& name = "Range cuts"); |
14 |
PamG4RegionConstruction(G4int verboseLevel, |
15 |
const G4String& name = "Range cuts"); |
16 |
|
17 |
virtual ~PamG4RegionConstruction() {; }; |
18 |
|
19 |
virtual void Construct(); |
20 |
|
21 |
protected: |
22 |
|
23 |
void LoopDaughters(G4LogicalVolume * vol); |
24 |
void SetCuts(G4LogicalVolume * vol); |
25 |
|
26 |
private: |
27 |
|
28 |
G4String fname; |
29 |
G4int fverboselevel; |
30 |
}; |
31 |
#endif //PAMG4_REGION_CONSTRUCTION_H |
32 |
|