Geant4
10.02.p02
|
Detector construction used in GDML read/write example. More...
#include <G02DetectorConstruction.hh>
Public Member Functions | |
G02DetectorConstruction () | |
~G02DetectorConstruction () | |
virtual G4VPhysicalVolume * | Construct () |
G4LogicalVolume * | ConstructSubDetector1 () |
G4LogicalVolume * | ConstructSubDetector2 () |
G4VPhysicalVolume * | ConstructDetector () |
G4LogicalVolume * | ConstructAssembly () |
G4LogicalVolume * | ConstructParametrisationChamber () |
void | ListOfMaterials () |
void | SetReadFile (const G4String &File) |
void | SetWriteFile (const G4String &File) |
void | SetStepFile (const G4String &File) |
Public Member Functions inherited from G4VUserDetectorConstruction | |
G4VUserDetectorConstruction () | |
virtual | ~G4VUserDetectorConstruction () |
virtual void | ConstructSDandField () |
virtual void | CloneSD () |
virtual void | CloneF () |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
G4int | ConstructParallelGeometries () |
void | ConstructParallelSD () |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
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 used in GDML read/write example.
Definition at line 55 of file G02DetectorConstruction.hh.
G02DetectorConstruction::G02DetectorConstruction | ( | ) |
Definition at line 89 of file G02DetectorConstruction.cc.
References fDetectorMessenger, fExpHall_x, fReadFile, fStepFile, fWriteFile, fWritingChoice, and m.
G02DetectorConstruction::~G02DetectorConstruction | ( | ) |
Definition at line 108 of file G02DetectorConstruction.cc.
References fDetectorMessenger.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 117 of file G02DetectorConstruction.cc.
References ConstructDetector(), expHall_y, expHall_z, fAir, fAluminum, fExpHall_x, fParser, fReadFile, fStepFile, fWriteFile, fWritingChoice, G4cout, G4endl, G4VPhysicalVolume::GetLogicalVolume(), G4Material::GetMaterialTable(), G4GDMLParser::GetWorldVolume(), ListOfMaterials(), G4GDMLParser::ParseST(), G4GDMLParser::Read(), G4LogicalVolume::SetVisAttributes(), and G4GDMLParser::Write().
G4LogicalVolume * G02DetectorConstruction::ConstructAssembly | ( | ) |
Definition at line 440 of file G02DetectorConstruction.cc.
References G4AssemblyVolume::AddPlacedVolume(), fAir, fAluminum, fExpHall_x, fXenon, G4AssemblyVolume::MakeImprint(), pi, and position.
Referenced by ConstructSubDetector1().
G4VPhysicalVolume * G02DetectorConstruction::ConstructDetector | ( | ) |
Definition at line 301 of file G02DetectorConstruction.cc.
References ConstructParametrisationChamber(), ConstructSubDetector1(), ConstructSubDetector2(), expHall_y, expHall_z, fAir, fExpHall_x, G4ReflectionFactory::Instance(), and G4ReflectionFactory::Place().
Referenced by Construct().
G4LogicalVolume * G02DetectorConstruction::ConstructParametrisationChamber | ( | ) |
Definition at line 543 of file G02DetectorConstruction.cc.
References cm, fAir, fAluminum, fExpHall_x, and kZAxis.
Referenced by ConstructDetector().
G4LogicalVolume * G02DetectorConstruction::ConstructSubDetector1 | ( | ) |
Definition at line 398 of file G02DetectorConstruction.cc.
References ConstructAssembly(), deg, fExpHall_x, and fPb.
Referenced by ConstructDetector().
G4LogicalVolume * G02DetectorConstruction::ConstructSubDetector2 | ( | ) |
Definition at line 420 of file G02DetectorConstruction.cc.
References fAluminum, and fExpHall_x.
Referenced by ConstructDetector().
void G02DetectorConstruction::ListOfMaterials | ( | ) |
Definition at line 241 of file G02DetectorConstruction.cc.
References a, G4Material::AddElement(), atmosphere, cm3, density, elN, elO, fAir, fAluminum, fPb, fXenon, g, G4cout, G4endl, G4Element::GetElementTable(), G4Material::GetMaterialTable(), kelvin, kStateGas, mg, mole, name, symbol, and z.
Referenced by Construct().
void G02DetectorConstruction::SetReadFile | ( | const G4String & | File | ) |
Definition at line 597 of file G02DetectorConstruction.cc.
References fReadFile, and fWritingChoice.
Referenced by G02DetectorMessenger::SetNewValue().
void G02DetectorConstruction::SetStepFile | ( | const G4String & | File | ) |
Definition at line 617 of file G02DetectorConstruction.cc.
References fStepFile, and fWritingChoice.
Referenced by G02DetectorMessenger::SetNewValue().
void G02DetectorConstruction::SetWriteFile | ( | const G4String & | File | ) |
Definition at line 607 of file G02DetectorConstruction.cc.
References fWriteFile, and fWritingChoice.
Referenced by G02DetectorMessenger::SetNewValue().
|
private |
Definition at line 88 of file G02DetectorConstruction.hh.
Referenced by Construct(), ConstructAssembly(), ConstructDetector(), ConstructParametrisationChamber(), and ListOfMaterials().
|
private |
Definition at line 89 of file G02DetectorConstruction.hh.
Referenced by Construct(), ConstructAssembly(), ConstructParametrisationChamber(), ConstructSubDetector2(), and ListOfMaterials().
|
private |
Definition at line 106 of file G02DetectorConstruction.hh.
Referenced by G02DetectorConstruction(), and ~G02DetectorConstruction().
|
private |
Definition at line 110 of file G02DetectorConstruction.hh.
Referenced by Construct(), ConstructAssembly(), ConstructDetector(), ConstructParametrisationChamber(), ConstructSubDetector1(), ConstructSubDetector2(), and G02DetectorConstruction().
|
private |
Definition at line 95 of file G02DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 90 of file G02DetectorConstruction.hh.
Referenced by ConstructSubDetector1(), and ListOfMaterials().
|
private |
Definition at line 99 of file G02DetectorConstruction.hh.
Referenced by Construct(), G02DetectorConstruction(), and SetReadFile().
|
private |
Definition at line 101 of file G02DetectorConstruction.hh.
Referenced by Construct(), G02DetectorConstruction(), and SetStepFile().
|
private |
Definition at line 100 of file G02DetectorConstruction.hh.
Referenced by Construct(), G02DetectorConstruction(), and SetWriteFile().
|
private |
Definition at line 102 of file G02DetectorConstruction.hh.
Referenced by Construct(), G02DetectorConstruction(), SetReadFile(), SetStepFile(), and SetWriteFile().
|
private |
Definition at line 91 of file G02DetectorConstruction.hh.
Referenced by ConstructAssembly(), and ListOfMaterials().