1 // This code implementation is the intellectual property of
2 // the GEANT4 collaboration.
4 // By copying, distributing or modifying the Program (or any work
5 // based on the Program) you indicate your acceptance of this statement,
12 #ifndef G4VUserDetectorConstruction_h
13 #define G4VUserDetectorConstruction_h 1
15 class G4VPhysicalVolume;
19 // This is the abstract base class of the user's mandatory initialization class
20 // for detector setup. It has only one pure virtual method Construct() which is
21 // invoked by G4RunManager when it's Initialize() method is invoked.
22 // The Construct() method must return the G4VPhysicalVolume pointer which represents
26 class G4VUserDetectorConstruction
29 G4VUserDetectorConstruction();
30 virtual ~G4VUserDetectorConstruction();
33 virtual G4VPhysicalVolume* Construct() = 0;