Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ExG4DetectorConstruction02 Class Reference

Simple detector construction with a box volume placed in a world. More...

#include <ExG4DetectorConstruction02.hh>

Inheritance diagram for ExG4DetectorConstruction02:
Inheritance graph
[legend]
Collaboration diagram for ExG4DetectorConstruction02:
Collaboration graph
[legend]

Public Member Functions

 ExG4DetectorConstruction02 (const G4String &boxMaterialName="G4_AIR", G4double boxHx=40 *CLHEP::cm, G4double boxHy=40 *CLHEP::cm, G4double boxHz=40 *CLHEP::cm, const G4String &worldMaterialName="G4_AIR", G4double worldSizeFactor=1.25)
 
 ~ExG4DetectorConstruction02 ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetBoxMaterial (const G4String &materialName)
 
void SetWorldMaterial (const G4String &materialName)
 
void SetBoxDimensions (G4double hx, G4double hy, G4double hz)
 
void SetWorldSizeFactor (G4double factor)
 
- Public Member Functions inherited from G4VUserDetectorConstruction
 G4VUserDetectorConstruction ()
 
virtual ~G4VUserDetectorConstruction ()
 
void RegisterParallelWorld (G4VUserParallelWorld *)
 
G4int ConstructParallelGeometries ()
 
G4int GetNumberOfParallelWorld () const
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

Detailed Description

Simple detector construction with a box volume placed in a world.

Definition at line 48 of file ExG4DetectorConstruction02.hh.

Constructor & Destructor Documentation

ExG4DetectorConstruction02::ExG4DetectorConstruction02 ( const G4String boxMaterialName = "G4_AIR",
G4double  boxHx = 40*CLHEP::cm,
G4double  boxHy = 40*CLHEP::cm,
G4double  boxHz = 40*CLHEP::cm,
const G4String worldMaterialName = "G4_AIR",
G4double  worldSizeFactor = 1.25 
)

Definition at line 43 of file ExG4DetectorConstruction02.cc.

ExG4DetectorConstruction02::~ExG4DetectorConstruction02 ( )

Definition at line 61 of file ExG4DetectorConstruction02.cc.

Member Function Documentation

G4VPhysicalVolume * ExG4DetectorConstruction02::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 67 of file ExG4DetectorConstruction02.cc.

Here is the call graph for this function:

void ExG4DetectorConstruction02::SetBoxDimensions ( G4double  hx,
G4double  hy,
G4double  hz 
)

Set box dimension (in half lengths). This setting has effect only if called in PreInit> phase

Definition at line 176 of file ExG4DetectorConstruction02.cc.

Here is the caller graph for this function:

void ExG4DetectorConstruction02::SetBoxMaterial ( const G4String materialName)

Definition at line 136 of file ExG4DetectorConstruction02.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void ExG4DetectorConstruction02::SetWorldMaterial ( const G4String materialName)

Definition at line 156 of file ExG4DetectorConstruction02.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void ExG4DetectorConstruction02::SetWorldSizeFactor ( G4double  factor)

Set the multiplication factor from box dimensions to world dimensions. This setting has effect only if called in PreInit> phase

Definition at line 187 of file ExG4DetectorConstruction02.cc.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: