|
Geant4
9.6.p02
|
#include <B4dDetectorConstruction.hh>


Public Member Functions | |
| B4dDetectorConstruction () | |
| virtual | ~B4dDetectorConstruction () |
| 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 G4MultiFunctionalDetector type with primitive scorers 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 63 of file B4dDetectorConstruction.hh.
| B4dDetectorConstruction::B4dDetectorConstruction | ( | ) |
|
virtual |
Definition at line 83 of file B4dDetectorConstruction.cc.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 91 of file B4dDetectorConstruction.cc.
Definition at line 329 of file B4dDetectorConstruction.cc.


1.8.4