#ifndef CONSTRUCTION_HH #define CONSTRUCTION_HH #include "G4VUserDetectorConstruction.hh" #include "G4VPhysicalVolume.hh" #include "G4LogicalVolume.hh" #include "G4Box.hh" #include "G4PVPlacement.hh" #include "G4NistManager.hh" #include "G4SystemOfUnits.hh" #include "G4LogicalBorderSurface.hh" #include "G4LogicalSkinSurface.hh" #include "G4OpticalSurface.hh" #include "G4Material.hh" #include "G4Element.hh" class MyDetectorConstruction : public G4VUserDetectorConstruction { public: MyDetectorConstruction(); virtual ~MyDetectorConstruction(); virtual G4VPhysicalVolume *Construct(); G4LogicalVolume *GetScoringVolume() const { return fScoringVolume; } G4LogicalVolume *GetScoringScintillatorVolume() const { return ScintillatorScoringVolume; } private: virtual void ConstructSDandField(); G4LogicalVolume *fScoringVolume; G4LogicalVolume *ScintillatorScoringVolume; }; #endif