Geant4
9.6.p02
|
#include <B4cDetectorConstruction.hh>
Public Member Functions | |
B4cDetectorConstruction () | |
virtual | ~B4cDetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
void | SetMagField (G4double fieldValue) |
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 DefineVolumes(), sensitive detectors of B4cCalorimeterSD type are created and associated with the Absorber and Gap volumes.
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 61 of file B4cDetectorConstruction.hh.
B4cDetectorConstruction::B4cDetectorConstruction | ( | ) |
|
virtual |
Definition at line 78 of file B4cDetectorConstruction.cc.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 86 of file B4cDetectorConstruction.cc.
Definition at line 301 of file B4cDetectorConstruction.cc.