// ********************************** // * * // * DetectorConstruction * // * * // ********************************** // #ifndef DetectorConstruction_h #define DetectorConstruction_h 1 #include "G4VUserDetectorConstruction.hh" #include "globals.hh" class G4VPhysicalVolume; class G4LogicalVolume; /// Detector construction class to define materials and geometry. class DetectorConstruction : public G4VUserDetectorConstruction { public: DetectorConstruction(); virtual ~DetectorConstruction(); virtual G4VPhysicalVolume* Construct(); G4LogicalVolume* GetScoringVolume() const { return fScoringVolume; } private: void DefineMaterials(); protected: G4LogicalVolume* fScoringVolume; }; //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... #endif