// This code implementation is the intellectual property of // the GEANT4 collaboration. // // By copying, distributing or modifying the Program (or any work // based on the Program) you indicate your acceptance of this statement, // and all its terms. // // GEANT4 tag // #ifndef G4VUserDetectorConstruction_h #define G4VUserDetectorConstruction_h 1 class G4VPhysicalVolume; // class description: // // This is the abstract base class of the user's mandatory initialization class // for detector setup. It has only one pure virtual method Construct() which is // invoked by G4RunManager when it's Initialize() method is invoked. // The Construct() method must return the G4VPhysicalVolume pointer which represents // the world volume. // class G4VUserDetectorConstruction { public: G4VUserDetectorConstruction(); virtual ~G4VUserDetectorConstruction(); public: virtual G4VPhysicalVolume* Construct() = 0; }; #endif