Geant4
10.00.p02
|
#include <RE06DetectorConstruction.hh>
Public Member Functions | |
RE06DetectorConstruction () | |
virtual | ~RE06DetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
void | ConstructSDandField () |
void | PrintCalorParameters () const |
void | SetAbsorberMaterial (G4String materialChoice) |
G4String | GetAbsorberMaterial () const |
void | SetGapMaterial (G4String materialChoice) |
G4String | GetGapMaterial () const |
void | SetSerialGeometry (G4bool ser) |
void | SetNumberOfLayers (G4int nl) |
G4int | GetNumberOfLayers () const |
G4bool | IsSerial () const |
void | AddMaterial () |
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 |
Private Member Functions | |
void | DefineMaterials () |
void | SetupGeometry () |
void | SetupDetectors () |
Private Attributes | |
G4int | fNumberOfLayers |
G4double | fTotalThickness |
total thinkness of one calorimeter More... | |
G4double | fLayerThickness |
= fTotalThickness / fNumberOfLayers More... | |
G4bool | fConstructed |
G4bool | fConstructedSDandField |
G4String | fCalName [3] |
G4Material * | fWorldMaterial |
G4Material * | fAbsorberMaterial |
G4Material * | fGapMaterial |
G4Box * | fLayerSolid |
G4Box * | fGapSolid |
G4LogicalVolume * | fWorldLogical |
G4LogicalVolume * | fCalorLogical [3] |
G4LogicalVolume * | fLayerLogical [3] |
G4LogicalVolume * | fGapLogical [3] |
G4VPhysicalVolume * | fWorldPhysical |
G4VPhysicalVolume * | fCalorPhysical [3] |
G4PVReplica * | fLayerPhysical [3] |
G4VPhysicalVolume * | fGapPhysical [3] |
G4bool | fSerial |
RE06DetectorMessenger * | fDetectorMessenger |
G4int | fVerboseLevel |
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 45 of file RE06DetectorConstruction.hh.
RE06DetectorConstruction::RE06DetectorConstruction | ( | ) |
Definition at line 66 of file RE06DetectorConstruction.cc.
References fCalName, fCalorLogical, fCalorPhysical, fDetectorMessenger, fGapLogical, fGapPhysical, fLayerLogical, fLayerPhysical, fLayerThickness, fNumberOfLayers, and fTotalThickness.
|
virtual |
Definition at line 105 of file RE06DetectorConstruction.cc.
References fDetectorMessenger.
void RE06DetectorConstruction::AddMaterial | ( | ) |
Definition at line 515 of file RE06DetectorConstruction.cc.
References a, G4Material::AddElement(), atmosphere, cm3, CO2, density, g, G4Element::GetElement(), kelvin, kStateGas, mg, mole, name, symbol, and z.
Referenced by RE06DetectorMessenger::SetNewValue().
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 108 of file RE06DetectorConstruction.cc.
References DefineMaterials(), fConstructed, fWorldPhysical, GetVerboseLevel(), PrintCalorParameters(), SetupDetectors(), and SetupGeometry().
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 123 of file RE06DetectorConstruction.cc.
References fConstructedSDandField, and SetupDetectors().
|
private |
Definition at line 134 of file RE06DetectorConstruction.cc.
References a, G4Material::AddElement(), G4Element::AddIsotope(), Air, 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 RE06DetectorConstruction::GetAbsorberMaterial | ( | ) | const |
Definition at line 435 of file RE06DetectorConstruction.cc.
References fAbsorberMaterial, and G4Material::GetName().
Referenced by RE06DetectorMessenger::GetCurrentValue().
G4String RE06DetectorConstruction::GetGapMaterial | ( | ) | const |
Definition at line 461 of file RE06DetectorConstruction.cc.
References fGapMaterial, and G4Material::GetName().
Referenced by RE06DetectorMessenger::GetCurrentValue().
|
inline |
Definition at line 62 of file RE06DetectorConstruction.hh.
References fNumberOfLayers.
Referenced by RE06DetectorMessenger::GetCurrentValue().
|
inline |
Definition at line 67 of file RE06DetectorConstruction.hh.
References fVerboseLevel.
Referenced by Construct(), DefineMaterials(), RE06DetectorMessenger::GetCurrentValue(), SetAbsorberMaterial(), and SetGapMaterial().
|
inline |
Definition at line 63 of file RE06DetectorConstruction.hh.
References fSerial.
Referenced by RE06DetectorMessenger::GetCurrentValue().
void RE06DetectorConstruction::PrintCalorParameters | ( | ) | const |
Definition at line 393 of file RE06DetectorConstruction.cc.
References fAbsorberMaterial, fGapMaterial, fSerial, G4cout, G4endl, and G4Material::GetName().
Referenced by Construct(), SetAbsorberMaterial(), and SetGapMaterial().
void RE06DetectorConstruction::SetAbsorberMaterial | ( | G4String | materialChoice | ) |
Definition at line 409 of file RE06DetectorConstruction.cc.
References fAbsorberMaterial, fCalorLogical, fConstructed, fLayerLogical, G4cerr, G4endl, G4RunManager::GeometryHasBeenModified(), G4Material::GetMaterial(), G4RunManager::GetRunManager(), GetVerboseLevel(), PrintCalorParameters(), and G4LogicalVolume::SetMaterial().
Referenced by RE06DetectorMessenger::SetNewValue().
void RE06DetectorConstruction::SetGapMaterial | ( | G4String | materialChoice | ) |
Definition at line 440 of file RE06DetectorConstruction.cc.
References fConstructed, fGapLogical, fGapMaterial, G4cerr, G4endl, G4RunManager::GeometryHasBeenModified(), G4Material::GetMaterial(), G4RunManager::GetRunManager(), GetVerboseLevel(), PrintCalorParameters(), and G4LogicalVolume::SetMaterial().
Referenced by RE06DetectorMessenger::SetNewValue().
void RE06DetectorConstruction::SetNumberOfLayers | ( | G4int | nl | ) |
Definition at line 493 of file RE06DetectorConstruction.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 RE06DetectorMessenger::SetNewValue().
void RE06DetectorConstruction::SetSerialGeometry | ( | G4bool | ser | ) |
Definition at line 466 of file RE06DetectorConstruction.cc.
References fCalorPhysical, fConstructed, fSerial, G4RunManager::GeometryHasBeenModified(), G4VUserDetectorConstruction::GetParallelWorld(), G4RunManager::GetRunManager(), G4RunManager::GetUserPrimaryGeneratorAction(), m, RE06PrimaryGeneratorAction::SetSerial(), and G4VPhysicalVolume::SetTranslation().
Referenced by RE06DetectorMessenger::SetNewValue().
|
private |
Definition at line 319 of file RE06DetectorConstruction.cc.
References G4SDParticleFilter::add(), fCalName, fGapLogical, fLayerLogical, G4SDManager::GetSDMpointer(), G4MultiFunctionalDetector::RegisterPrimitive(), G4VPrimitiveScorer::SetFilter(), G4VUserDetectorConstruction::SetSensitiveDetector(), and G4SDManager::SetVerboseLevel().
Referenced by Construct(), and ConstructSDandField().
|
private |
Definition at line 235 of file RE06DetectorConstruction.cc.
References G4Region::AddRootLogicalVolume(), fAbsorberMaterial, fCalName, fCalorLogical, fCalorPhysical, fGapLogical, fGapMaterial, fGapPhysical, fGapSolid, fLayerLogical, fLayerPhysical, fLayerSolid, fLayerThickness, fNumberOfLayers, fSerial, fTotalThickness, fWorldLogical, fWorldMaterial, fWorldPhysical, G4VisAttributes::Invisible, kZAxis, m, G4LogicalVolume::SetRegion(), G4LogicalVolume::SetVisAttributes(), and G4VisAttributes::SetVisibility().
Referenced by Construct().
|
inline |
Definition at line 68 of file RE06DetectorConstruction.hh.
References fVerboseLevel.
Referenced by RE06DetectorMessenger::SetNewValue().
|
private |
Definition at line 87 of file RE06DetectorConstruction.hh.
Referenced by DefineMaterials(), GetAbsorberMaterial(), PrintCalorParameters(), SetAbsorberMaterial(), and SetupGeometry().
|
private |
Definition at line 84 of file RE06DetectorConstruction.hh.
Referenced by RE06DetectorConstruction(), SetNumberOfLayers(), SetupDetectors(), and SetupGeometry().
|
private |
Definition at line 94 of file RE06DetectorConstruction.hh.
Referenced by RE06DetectorConstruction(), SetAbsorberMaterial(), SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 99 of file RE06DetectorConstruction.hh.
Referenced by RE06DetectorConstruction(), SetSerialGeometry(), and SetupGeometry().
|
private |
Definition at line 81 of file RE06DetectorConstruction.hh.
Referenced by Construct(), SetAbsorberMaterial(), SetGapMaterial(), SetNumberOfLayers(), and SetSerialGeometry().
|
private |
Definition at line 82 of file RE06DetectorConstruction.hh.
Referenced by ConstructSDandField().
|
private |
Definition at line 105 of file RE06DetectorConstruction.hh.
Referenced by RE06DetectorConstruction(), and ~RE06DetectorConstruction().
|
private |
Definition at line 96 of file RE06DetectorConstruction.hh.
Referenced by RE06DetectorConstruction(), SetGapMaterial(), SetupDetectors(), and SetupGeometry().
|
private |
Definition at line 88 of file RE06DetectorConstruction.hh.
Referenced by DefineMaterials(), GetGapMaterial(), PrintCalorParameters(), SetGapMaterial(), and SetupGeometry().
|
private |
Definition at line 101 of file RE06DetectorConstruction.hh.
Referenced by RE06DetectorConstruction(), SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 91 of file RE06DetectorConstruction.hh.
Referenced by SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 95 of file RE06DetectorConstruction.hh.
Referenced by RE06DetectorConstruction(), SetAbsorberMaterial(), SetNumberOfLayers(), SetupDetectors(), and SetupGeometry().
|
private |
Definition at line 100 of file RE06DetectorConstruction.hh.
Referenced by RE06DetectorConstruction(), SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 90 of file RE06DetectorConstruction.hh.
Referenced by SetNumberOfLayers(), and SetupGeometry().
|
private |
= fTotalThickness / fNumberOfLayers
Definition at line 79 of file RE06DetectorConstruction.hh.
Referenced by RE06DetectorConstruction(), SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 76 of file RE06DetectorConstruction.hh.
Referenced by GetNumberOfLayers(), RE06DetectorConstruction(), SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 103 of file RE06DetectorConstruction.hh.
Referenced by IsSerial(), PrintCalorParameters(), SetSerialGeometry(), and SetupGeometry().
|
private |
total thinkness of one calorimeter
Definition at line 78 of file RE06DetectorConstruction.hh.
Referenced by RE06DetectorConstruction(), SetNumberOfLayers(), and SetupGeometry().
|
private |
Definition at line 107 of file RE06DetectorConstruction.hh.
Referenced by GetVerboseLevel(), and SetVerboseLevel().
|
private |
Definition at line 93 of file RE06DetectorConstruction.hh.
Referenced by SetupGeometry().
|
private |
Definition at line 86 of file RE06DetectorConstruction.hh.
Referenced by DefineMaterials(), and SetupGeometry().
|
private |
Definition at line 98 of file RE06DetectorConstruction.hh.
Referenced by Construct(), and SetupGeometry().