Geant4
10.03
|
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. More...
#include <B4dDetectorConstruction.hh>
Public Member Functions | |
B4dDetectorConstruction () | |
virtual | ~B4dDetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
virtual void | ConstructSDandField () |
Public Member Functions inherited from G4VUserDetectorConstruction | |
G4VUserDetectorConstruction () | |
virtual | ~G4VUserDetectorConstruction () |
virtual void | CloneSD () |
virtual void | CloneF () |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
G4int | ConstructParallelGeometries () |
void | ConstructParallelSD () |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
Private Member Functions | |
void | DefineMaterials () |
G4VPhysicalVolume * | DefineVolumes () |
Private Attributes | |
G4bool | fCheckOverlaps |
Static Private Attributes | |
static G4ThreadLocal G4GlobalMagFieldMessenger * | fMagFieldMessenger = 0 |
Additional Inherited Members | |
Protected Member Functions inherited from G4VUserDetectorConstruction | |
void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
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 ConstructSDandField() 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 via G4GlobalMagFieldMessenger class.
Definition at line 56 of file B4dDetectorConstruction.hh.
B4dDetectorConstruction::B4dDetectorConstruction | ( | ) |
Definition at line 63 of file B4dDetectorConstruction.cc.
|
virtual |
Definition at line 71 of file B4dDetectorConstruction.cc.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 77 of file B4dDetectorConstruction.cc.
References DefineMaterials(), and DefineVolumes().
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 279 of file B4dDetectorConstruction.cc.
References G4SDManager::AddNewDetector(), fMagFieldMessenger, G4SDManager::GetSDMpointer(), G4AutoDelete::Register(), G4VPrimitiveScorer::SetFilter(), G4VUserDetectorConstruction::SetSensitiveDetector(), G4GlobalMagFieldMessenger::SetVerboseLevel(), and G4SDManager::SetVerboseLevel().
|
private |
Definition at line 88 of file B4dDetectorConstruction.cc.
References a, cm3, g, G4cout, G4endl, G4Material::GetMaterialTable(), G4NistManager::Instance(), kelvin, kStateGas, mole, and pascal.
Referenced by Construct().
|
private |
Definition at line 111 of file B4dDetectorConstruction.cc.
References cm, FatalException, fCheckOverlaps, G4cout, G4endl, G4Exception(), G4VisAttributes::GetInvisible(), G4Material::GetMaterial(), kZAxis, and mm.
Referenced by Construct().
|
private |
Definition at line 77 of file B4dDetectorConstruction.hh.
Referenced by DefineVolumes().
|
staticprivate |
Definition at line 74 of file B4dDetectorConstruction.hh.
Referenced by ConstructSDandField().