38 lines
1.0 KiB
C++
38 lines
1.0 KiB
C++
// 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.
|
|
//
|
|
// $Id: G4VUserDetectorConstruction.hh,v 1.2.4.1 1999/12/07 20:52:59 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-01-00 $
|
|
//
|
|
|
|
#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
|
|
|