diff options
Diffstat (limited to 'include/G4BeamTestDetectorConstruction.h')
| -rw-r--r-- | include/G4BeamTestDetectorConstruction.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/include/G4BeamTestDetectorConstruction.h b/include/G4BeamTestDetectorConstruction.h new file mode 100644 index 0000000..ce53256 --- /dev/null +++ b/include/G4BeamTestDetectorConstruction.h @@ -0,0 +1,45 @@ +#ifndef _TOPSIMULATOR_G4BEAMTESTDETECTORCONSTRUCTION_H_ +#define _TOPSIMULATOR_G4BEAMTESTDETECTORCONSTRUCTION_H_ + +#include <G4VUserDetectorConstruction.hh> +#include <G4ThreeVector.hh> + +// class G4BeamTestTank; + +class G4BeamTestDetectorConstruction: public G4VUserDetectorConstruction +{ + public: + G4BeamTestDetectorConstruction(); + + ~G4BeamTestDetectorConstruction(); + + G4VPhysicalVolume* Construct(); + + void SetVerboseLevel(G4int level) {verboseLevel_=level;} + + /* void InstallTank(G4BeamTestTank* tank) {tankList_.push_back(tank);} */ + + const G4ThreeVector& GetWorldOrigin() const {return origin_;} + + private: + + void CreateMaterials(); + + void CreateAir(); + /* void CreateIce(); */ + /* void CreateSnow(); */ + void CreateWater(); + void CreatePlastic(); + /* void CreateTyvek(); */ + /* void CreatePerlite(); */ + void CreateGlassSphere(); + void CreateEffectiveDOMMaterial(); + + G4ThreeVector origin_; + + G4int verboseLevel_; + + // std::vector<G4BeamTestTank*> tankList_; +}; + +#endif |
