Geant4
10.02.p02
|
#include <GB03DetectorConstruction.hh>
Public Member Functions | |
GB03DetectorConstruction () | |
virtual | ~GB03DetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
virtual void | ConstructSDandField () |
void | PrintCalorParameters () const |
void | SetAbsorberMaterial (G4String materialChoice) |
G4String | GetAbsorberMaterial () const |
void | SetGapMaterial (G4String materialChoice) |
G4String | GetGapMaterial () const |
void | SetNumberOfLayers (G4int nl) |
G4int | GetVerboseLevel () const |
void | SetVerboseLevel (G4int val) |
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 |
Static Public Member Functions | |
static G4int | GetNumberOfLayers () |
Private Member Functions | |
void | DefineMaterials () |
void | SetupGeometry () |
void | SetupDetectors () |
void | SetupBiasing () |
Private Attributes | |
G4double | fTotalThickness |
G4double | fLayerThickness |
total thinkness of one calorimeter More... | |
G4bool | fConstructed |
= fTotalThickness / fNumberOfLayers More... | |
G4String | fCalName |
G4Material * | fWorldMaterial |
G4Material * | fAbsorberMaterial |
G4Material * | fGapMaterial |
G4Box * | fLayerSolid |
G4Box * | fGapSolid |
G4LogicalVolume * | fWorldLogical |
G4LogicalVolume * | fCalorLogical |
G4LogicalVolume * | fLayerLogical |
G4LogicalVolume * | fGapLogical |
G4VPhysicalVolume * | fWorldPhysical |
G4VPhysicalVolume * | fCalorPhysical |
G4PVReplica * | fLayerPhysical |
G4VPhysicalVolume * | fGapPhysical |
GB03DetectorMessenger * | fDetectorMessenger |
G4int | fVerboseLevel |
Static Private Attributes | |
static G4int | fNumberOfLayers = 40 |
static G4ThreadLocal G4bool | fConstructedSDandField = false |
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) |
Definition at line 44 of file GB03DetectorConstruction.hh.
GB03DetectorConstruction::GB03DetectorConstruction | ( | ) |
Definition at line 65 of file GB03DetectorConstruction.cc.
References fCalName, fDetectorMessenger, fLayerThickness, fNumberOfLayers, and fTotalThickness.
|
virtual |
Definition at line 82 of file GB03DetectorConstruction.cc.
References fDetectorMessenger.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 87 of file GB03DetectorConstruction.cc.
References DefineMaterials(), fConstructed, fWorldPhysical, GetVerboseLevel(), PrintCalorParameters(), and SetupGeometry().
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 103 of file GB03DetectorConstruction.cc.
References fConstructedSDandField, SetupBiasing(), and SetupDetectors().
|
private |
Definition at line 115 of file GB03DetectorConstruction.cc.
References a, G4Material::AddElement(), G4Element::AddIsotope(), Air, C(), cm3, density, fAbsorberMaterial, fGapMaterial, fWorldMaterial, g, G4cout, G4endl, G4Material::GetMaterialTable(), GetVerboseLevel(), iz, kelvin, kStateGas, mg, mole, n, name, pascal, perCent, symbol, and z.
Referenced by Construct().
G4String GB03DetectorConstruction::GetAbsorberMaterial | ( | ) | const |
Definition at line 361 of file GB03DetectorConstruction.cc.
References fAbsorberMaterial, and G4Material::GetName().
Referenced by GB03DetectorMessenger::GetCurrentValue().
G4String GB03DetectorConstruction::GetGapMaterial | ( | ) | const |
Definition at line 389 of file GB03DetectorConstruction.cc.
References fGapMaterial, and G4Material::GetName().
Referenced by GB03DetectorMessenger::GetCurrentValue().
|
inlinestatic |
Definition at line 59 of file GB03DetectorConstruction.hh.
References fNumberOfLayers.
Referenced by GB03DetectorMessenger::GetCurrentValue().
|
inline |
Definition at line 61 of file GB03DetectorConstruction.hh.
References fVerboseLevel.
Referenced by Construct(), DefineMaterials(), GB03DetectorMessenger::GetCurrentValue(), SetAbsorberMaterial(), and SetGapMaterial().
void GB03DetectorConstruction::PrintCalorParameters | ( | ) | const |
Definition at line 323 of file GB03DetectorConstruction.cc.
References fAbsorberMaterial, fGapMaterial, G4cout, G4endl, and G4Material::GetName().
Referenced by Construct(), SetAbsorberMaterial(), and SetGapMaterial().
void GB03DetectorConstruction::SetAbsorberMaterial | ( | G4String | materialChoice | ) |
Definition at line 335 of file GB03DetectorConstruction.cc.
References fAbsorberMaterial, fCalorLogical, fConstructed, fLayerLogical, G4cerr, G4endl, G4RunManager::GeometryHasBeenModified(), G4Material::GetMaterial(), G4RunManager::GetRunManager(), GetVerboseLevel(), PrintCalorParameters(), and G4LogicalVolume::SetMaterial().
Referenced by GB03DetectorMessenger::SetNewValue().
void GB03DetectorConstruction::SetGapMaterial | ( | G4String | materialChoice | ) |
Definition at line 366 of file GB03DetectorConstruction.cc.
References fConstructed, fGapLogical, fGapMaterial, G4cerr, G4endl, G4RunManager::GeometryHasBeenModified(), G4Material::GetMaterial(), G4RunManager::GetRunManager(), GetVerboseLevel(), PrintCalorParameters(), and G4LogicalVolume::SetMaterial().
Referenced by GB03DetectorMessenger::SetNewValue().
void GB03DetectorConstruction::SetNumberOfLayers | ( | G4int | nl | ) |
Definition at line 394 of file GB03DetectorConstruction.cc.
References fCalName, fCalorLogical, fConstructed, fGapPhysical, fGapSolid, fLayerLogical, fLayerPhysical, fLayerSolid, fLayerThickness, fNumberOfLayers, fTotalThickness, G4RunManager::GeometryHasBeenModified(), G4RunManager::GetRunManager(), kZAxis, G4LogicalVolume::RemoveDaughter(), G4VPhysicalVolume::SetTranslation(), and G4Box::SetZHalfLength().
Referenced by GB03DetectorMessenger::SetNewValue().
|
private |
Definition at line 315 of file GB03DetectorConstruction.cc.
References G4VBiasingOperator::AttachTo(), and fLayerLogical.
Referenced by ConstructSDandField().
|
private |
Definition at line 266 of file GB03DetectorConstruction.cc.
References fCalName, fGapLogical, fLayerLogical, G4SDManager::GetSDMpointer(), G4MultiFunctionalDetector::RegisterPrimitive(), G4VPrimitiveScorer::SetFilter(), G4VUserDetectorConstruction::SetSensitiveDetector(), and G4SDManager::SetVerboseLevel().
Referenced by ConstructSDandField().
|
private |
Definition at line 216 of file GB03DetectorConstruction.cc.
References fAbsorberMaterial, fCalName, fCalorLogical, fCalorPhysical, fGapLogical, fGapMaterial, fGapPhysical, fGapSolid, fLayerLogical, fLayerPhysical, fLayerSolid, fLayerThickness, fNumberOfLayers, fTotalThickness, fWorldLogical, fWorldMaterial, fWorldPhysical, G4VisAttributes::Invisible, kZAxis, m, G4LogicalVolume::SetVisAttributes(), and G4VisAttributes::SetVisibility().
Referenced by Construct().
|
inline |
Definition at line 62 of file GB03DetectorConstruction.hh.
References fVerboseLevel.
Referenced by GB03DetectorMessenger::SetNewValue().
|
private |
Definition at line 82 of file GB03DetectorConstruction.hh.
Referenced by DefineMaterials(), GetAbsorberMaterial(), PrintCalorParameters(), SetAbsorberMaterial(), and SetupGeometry().
|
private |
Definition at line 79 of file GB03DetectorConstruction.hh.
Referenced by GB03DetectorConstruction(), SetNumberOfLayers(), SetupDetectors(), and SetupGeometry().
|
private |
Definition at line 89 of file GB03DetectorConstruction.hh.
Referenced by SetAbsorberMaterial(), SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 94 of file GB03DetectorConstruction.hh.
Referenced by SetupGeometry().
|
private |
= fTotalThickness / fNumberOfLayers
Definition at line 76 of file GB03DetectorConstruction.hh.
Referenced by Construct(), SetAbsorberMaterial(), SetGapMaterial(), and SetNumberOfLayers().
|
staticprivate |
Definition at line 77 of file GB03DetectorConstruction.hh.
Referenced by ConstructSDandField().
|
private |
Definition at line 98 of file GB03DetectorConstruction.hh.
Referenced by GB03DetectorConstruction(), and ~GB03DetectorConstruction().
|
private |
Definition at line 91 of file GB03DetectorConstruction.hh.
Referenced by SetGapMaterial(), SetupDetectors(), and SetupGeometry().
|
private |
Definition at line 83 of file GB03DetectorConstruction.hh.
Referenced by DefineMaterials(), GetGapMaterial(), PrintCalorParameters(), SetGapMaterial(), and SetupGeometry().
|
private |
Definition at line 96 of file GB03DetectorConstruction.hh.
Referenced by SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 86 of file GB03DetectorConstruction.hh.
Referenced by SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 90 of file GB03DetectorConstruction.hh.
Referenced by SetAbsorberMaterial(), SetNumberOfLayers(), SetupBiasing(), SetupDetectors(), and SetupGeometry().
|
private |
Definition at line 95 of file GB03DetectorConstruction.hh.
Referenced by SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 85 of file GB03DetectorConstruction.hh.
Referenced by SetNumberOfLayers(), and SetupGeometry().
|
private |
total thinkness of one calorimeter
Definition at line 74 of file GB03DetectorConstruction.hh.
Referenced by GB03DetectorConstruction(), SetNumberOfLayers(), and SetupGeometry().
|
staticprivate |
Definition at line 71 of file GB03DetectorConstruction.hh.
Referenced by GB03DetectorConstruction(), GetNumberOfLayers(), SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 73 of file GB03DetectorConstruction.hh.
Referenced by GB03DetectorConstruction(), SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 100 of file GB03DetectorConstruction.hh.
Referenced by GetVerboseLevel(), and SetVerboseLevel().
|
private |
Definition at line 88 of file GB03DetectorConstruction.hh.
Referenced by SetupGeometry().
|
private |
Definition at line 81 of file GB03DetectorConstruction.hh.
Referenced by DefineMaterials(), and SetupGeometry().
|
private |
Definition at line 93 of file GB03DetectorConstruction.hh.
Referenced by Construct(), and SetupGeometry().