From 3a83ec3bce239359f1cd71d1c0bfbf23b61d0db8 Mon Sep 17 00:00:00 2001 From: shivesh Date: Thu, 16 Aug 2018 14:01:19 +0100 Subject: initial commit --- include/G4BeamTestDetectorConstruction.h | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 include/G4BeamTestDetectorConstruction.h (limited to 'include/G4BeamTestDetectorConstruction.h') 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 +#include + +// 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 tankList_; +}; + +#endif -- cgit v1.2.3