ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Detector construction. More...
#include <geant4/tree/geant4-10.6-release/examples/basic/B5/include/B5DetectorConstruction.hh>
Public Member Functions | |
B5DetectorConstruction () | |
virtual | ~B5DetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
virtual void | ConstructSDandField () |
void | SetArmAngle (G4double val) |
G4double | GetArmAngle () |
void | ConstructMaterials () |
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 | DefineCommands () |
Static Private Attributes | |
static G4ThreadLocal B5MagneticField * | fMagneticField = 0 |
static G4ThreadLocal G4FieldManager * | fFieldMgr = 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.
Definition at line 50 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 50 of file B5DetectorConstruction.hh
B5DetectorConstruction::B5DetectorConstruction | ( | ) |
Definition at line 75 of file B5DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 75 of file B5DetectorConstruction.cc
References DefineCommands(), fArmAngle, fArmRotation, and CLHEP::HepRotation::rotateY().
|
virtual |
Definition at line 95 of file B5DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 95 of file B5DetectorConstruction.cc
References fArmRotation, fMessenger, and fVisAttributes.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 107 of file B5DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 107 of file B5DetectorConstruction.cc
References cm, ConstructMaterials(), deg, fArmAngle, fArmRotation, fCellLogical, fHadCalScintiLogical, fHodoscope1Logical, fHodoscope2Logical, fMagneticLogical, fSecondArmPhys, fVisAttributes, fWirePlane1Logical, fWirePlane2Logical, G4Material::GetMaterial(), kNofChambers, kNofEmCells, kNofHadCells, kNofHadColumns, kNofHadRows, kNofHodoscopes1, kNofHodoscopes2, kXAxis, kYAxis, kZAxis, m, mm, CLHEP::HepRotation::rotateX(), G4LogicalVolume::SetUserLimits(), G4LogicalVolume::SetVisAttributes(), x, x1, x2, z, z1, and z2.
void B5DetectorConstruction::ConstructMaterials | ( | ) |
Definition at line 406 of file B5DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 406 of file B5DetectorConstruction.cc
References G4cout, G4endl, G4Material::GetMaterialTable(), and G4NistManager::Instance().
Referenced by Construct().
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 365 of file B5DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 365 of file B5DetectorConstruction.cc
References G4FieldManager::CreateChordFinder(), fCellLogical, fFieldMgr, fHadCalScintiLogical, fHodoscope1Logical, fHodoscope2Logical, fMagneticField, fMagneticLogical, fWirePlane1Logical, fWirePlane2Logical, G4SDManager::GetSDMpointer(), G4FieldManager::SetDetectorField(), G4LogicalVolume::SetFieldManager(), and G4LogicalVolume::SetSensitiveDetector().
|
private |
Definition at line 465 of file B5DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 465 of file B5DetectorConstruction.cc
References G4GenericMessenger::DeclareMethodWithUnit(), fMessenger, SetArmAngle(), G4GenericMessenger::Command::SetDefaultValue(), G4GenericMessenger::Command::SetParameterName(), and G4GenericMessenger::Command::SetRange().
Referenced by B5DetectorConstruction().
|
inline |
Definition at line 60 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 60 of file B5DetectorConstruction.hh
References fArmAngle.
Definition at line 445 of file B5DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 445 of file B5DetectorConstruction.cc
References fArmAngle, fArmRotation, fSecondArmPhys, G4cerr, G4endl, G4RunManager::GeometryHasBeenModified(), G4RunManager::GetRunManager(), m, CLHEP::HepRotation::rotateY(), G4VPhysicalVolume::SetTranslation(), x, and z.
Referenced by DefineCommands().
|
private |
Definition at line 82 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 82 of file B5DetectorConstruction.hh
Referenced by B5DetectorConstruction(), Construct(), GetArmAngle(), and SetArmAngle().
|
private |
Definition at line 83 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 83 of file B5DetectorConstruction.hh
Referenced by B5DetectorConstruction(), Construct(), SetArmAngle(), and ~B5DetectorConstruction().
|
private |
Definition at line 76 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 76 of file B5DetectorConstruction.hh
Referenced by Construct(), and ConstructSDandField().
|
staticprivate |
Definition at line 70 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 70 of file B5DetectorConstruction.hh
Referenced by ConstructSDandField().
|
private |
Definition at line 77 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 77 of file B5DetectorConstruction.hh
Referenced by Construct(), and ConstructSDandField().
|
private |
Definition at line 72 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 72 of file B5DetectorConstruction.hh
Referenced by Construct(), and ConstructSDandField().
|
private |
Definition at line 73 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 73 of file B5DetectorConstruction.hh
Referenced by Construct(), and ConstructSDandField().
|
staticprivate |
Definition at line 69 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 69 of file B5DetectorConstruction.hh
Referenced by ConstructSDandField().
|
private |
Definition at line 78 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 78 of file B5DetectorConstruction.hh
Referenced by Construct(), and ConstructSDandField().
|
private |
Definition at line 67 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 67 of file B5DetectorConstruction.hh
Referenced by DefineCommands(), and ~B5DetectorConstruction().
|
private |
Definition at line 84 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 84 of file B5DetectorConstruction.hh
Referenced by Construct(), and SetArmAngle().
|
private |
Definition at line 80 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 80 of file B5DetectorConstruction.hh
Referenced by Construct(), and ~B5DetectorConstruction().
|
private |
Definition at line 74 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 74 of file B5DetectorConstruction.hh
Referenced by Construct(), and ConstructSDandField().
|
private |
Definition at line 75 of file B5DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 75 of file B5DetectorConstruction.hh
Referenced by Construct(), and ConstructSDandField().