Using TGeo to retrieve the mean material budget between two points (M.Ivanov)
[u/mrichter/AliRoot.git] / Flugg / G4VUserDetectorConstruction.hh
CommitLineData
26911512 1// This code implementation is the intellectual property of
2// the GEANT4 collaboration.
3//
4// By copying, distributing or modifying the Program (or any work
5// based on the Program) you indicate your acceptance of this statement,
6// and all its terms.
7//
8
9// GEANT4 tag
10//
11
12#ifndef G4VUserDetectorConstruction_h
13#define G4VUserDetectorConstruction_h 1
14
15class G4VPhysicalVolume;
16
17// class description:
18//
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
23// the world volume.
24//
25
26class G4VUserDetectorConstruction
27{
28 public:
29 G4VUserDetectorConstruction();
30 virtual ~G4VUserDetectorConstruction();
31
32 public:
33 virtual G4VPhysicalVolume* Construct() = 0;
34};
35
36#endif
37
38
39
40