Geant4
9.6.p02
|
#include <B4DetectorConstruction.hh>
Public Member Functions | |
B4DetectorConstruction () | |
virtual | ~B4DetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
void | SetMagField (G4double fieldValue) |
const G4VPhysicalVolume * | GetAbsorberPV () const |
const G4VPhysicalVolume * | GetGapPV () const |
B4DetectorConstruction () | |
virtual | ~B4DetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
void | SetMagField (G4double fieldValue) |
const G4VPhysicalVolume * | GetAbsorberPV () const |
const G4VPhysicalVolume * | GetGapPV () const |
Public Member Functions inherited from G4VUserDetectorConstruction | |
G4VUserDetectorConstruction () | |
virtual | ~G4VUserDetectorConstruction () |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
G4int | ConstructParallelGeometries () |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
Detector construction class to define materials and geometry. The calorimeter is a box made of a given number of layers. A layer consists of an absorber plate and of a detection gap. The layer is replicated.
Four parameters define the geometry of the calorimeter :
In addition a transverse uniform magnetic field is defined in SetMagField() method which can be activated via a command defined using G4GenericMessenger class:
Definition at line 59 of file B4DetectorConstruction.hh.
B4DetectorConstruction::B4DetectorConstruction | ( | ) |
|
virtual |
Definition at line 83 of file B4DetectorConstruction.cc.
B4DetectorConstruction::B4DetectorConstruction | ( | ) |
|
virtual |
|
virtual |
Implements G4VUserDetectorConstruction.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 91 of file B4DetectorConstruction.cc.
const G4VPhysicalVolume* B4DetectorConstruction::GetAbsorberPV | ( | ) | const |
|
inline |
Definition at line 96 of file B4DetectorConstruction.hh.
const G4VPhysicalVolume* B4DetectorConstruction::GetGapPV | ( | ) | const |
|
inline |
Definition at line 100 of file B4DetectorConstruction.hh.
Definition at line 293 of file B4DetectorConstruction.cc.