ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Detector construction used in GDML read/write example. More...
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 54 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 54 of file G02DetectorConstruction.hh
G02DetectorConstruction::G02DetectorConstruction | ( | ) |
Definition at line 88 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 88 of file G02DetectorConstruction.cc
References fDetectorMessenger, fExpHall_x, fReadFile, fStepFile, fWriteFile, fWritingChoice, and m.
G02DetectorConstruction::~G02DetectorConstruction | ( | ) |
Definition at line 107 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 107 of file G02DetectorConstruction.cc
References fDetectorMessenger.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 116 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 116 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 446 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 446 of file G02DetectorConstruction.cc
References G4AssemblyVolume::AddPlacedVolume(), fAir, fAluminum, fExpHall_x, fXenon, G4AssemblyVolume::MakeImprint(), pi, position, and Acts::Test::transform.
Referenced by ConstructSubDetector1().
G4VPhysicalVolume * G02DetectorConstruction::ConstructDetector | ( | ) |
Definition at line 307 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 307 of file G02DetectorConstruction.cc
References ConstructParametrisationChamber(), ConstructSubDetector1(), ConstructSubDetector2(), expHall_y, expHall_z, fAir, fExpHall_x, G4ReflectionFactory::Instance(), G4ReflectionFactory::Place(), and Acts::Test::transform.
Referenced by Construct().
G4LogicalVolume * G02DetectorConstruction::ConstructParametrisationChamber | ( | ) |
Definition at line 549 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 549 of file G02DetectorConstruction.cc
References cm, fAir, fAluminum, fExpHall_x, and kZAxis.
Referenced by ConstructDetector().
G4LogicalVolume * G02DetectorConstruction::ConstructSubDetector1 | ( | ) |
Definition at line 404 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 404 of file G02DetectorConstruction.cc
References ConstructAssembly(), deg, fExpHall_x, and fPb.
Referenced by ConstructDetector().
G4LogicalVolume * G02DetectorConstruction::ConstructSubDetector2 | ( | ) |
Definition at line 426 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 426 of file G02DetectorConstruction.cc
References fAluminum, and fExpHall_x.
Referenced by ConstructDetector().
void G02DetectorConstruction::ListOfMaterials | ( | ) |
Definition at line 247 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 247 of file G02DetectorConstruction.cc
References a, G4Material::AddElement(), atmosphere, cm3, fAir, fAluminum, fPb, fXenon, Acts::UnitConstants::g, G4cout, G4endl, G4Element::GetElementTable(), G4Material::GetMaterialTable(), kelvin, kStateGas, mg, mole, and z.
Referenced by Construct().
Definition at line 603 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 603 of file G02DetectorConstruction.cc
References fReadFile, and fWritingChoice.
Referenced by G02DetectorMessenger::SetNewValue().
Definition at line 623 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 623 of file G02DetectorConstruction.cc
References fStepFile, and fWritingChoice.
Referenced by G02DetectorMessenger::SetNewValue().
Definition at line 613 of file G02DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 613 of file G02DetectorConstruction.cc
References fWriteFile, and fWritingChoice.
Referenced by G02DetectorMessenger::SetNewValue().
|
private |
Definition at line 87 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 87 of file G02DetectorConstruction.hh
Referenced by Construct(), ConstructAssembly(), ConstructDetector(), ConstructParametrisationChamber(), and ListOfMaterials().
|
private |
Definition at line 88 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 88 of file G02DetectorConstruction.hh
Referenced by Construct(), ConstructAssembly(), ConstructParametrisationChamber(), ConstructSubDetector2(), and ListOfMaterials().
|
private |
Definition at line 105 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 105 of file G02DetectorConstruction.hh
Referenced by G02DetectorConstruction(), and ~G02DetectorConstruction().
|
private |
Definition at line 109 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 109 of file G02DetectorConstruction.hh
Referenced by Construct(), ConstructAssembly(), ConstructDetector(), ConstructParametrisationChamber(), ConstructSubDetector1(), ConstructSubDetector2(), and G02DetectorConstruction().
|
private |
Definition at line 94 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 94 of file G02DetectorConstruction.hh
Referenced by Construct().
|
private |
Definition at line 89 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 89 of file G02DetectorConstruction.hh
Referenced by ConstructSubDetector1(), and ListOfMaterials().
|
private |
Definition at line 98 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 98 of file G02DetectorConstruction.hh
Referenced by Construct(), G02DetectorConstruction(), and SetReadFile().
|
private |
Definition at line 100 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 100 of file G02DetectorConstruction.hh
Referenced by Construct(), G02DetectorConstruction(), and SetStepFile().
|
private |
Definition at line 99 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 99 of file G02DetectorConstruction.hh
Referenced by Construct(), G02DetectorConstruction(), and SetWriteFile().
|
private |
Definition at line 101 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 101 of file G02DetectorConstruction.hh
Referenced by Construct(), G02DetectorConstruction(), SetReadFile(), SetStepFile(), and SetWriteFile().
|
private |
Definition at line 90 of file G02DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 90 of file G02DetectorConstruction.hh
Referenced by ConstructAssembly(), and ListOfMaterials().