Geant4
10.00.p03
|
Detector construction. More...
#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 51 of file B5DetectorConstruction.hh.
B5DetectorConstruction::B5DetectorConstruction | ( | ) |
Definition at line 77 of file B5DetectorConstruction.cc.
References DefineCommands(), fArmAngle, and fArmRotation.
|
virtual |
Definition at line 97 of file B5DetectorConstruction.cc.
References fArmRotation, fMessenger, and fVisAttributes.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 110 of file B5DetectorConstruction.cc.
References cm, ConstructMaterials(), deg, fArmAngle, fArmRotation, fCellLogical, fHadCalScintiLogical, fHodoscope1Logical, fHodoscope2Logical, fMagneticLogical, fSecondArmPhys, fVisAttributes, fWirePlane1Logical, fWirePlane2Logical, G4Material::GetMaterial(), kXAxis, kYAxis, kZAxis, m, mm, G4LogicalVolume::SetUserLimits(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), and z.
void B5DetectorConstruction::ConstructMaterials | ( | ) |
Definition at line 420 of file B5DetectorConstruction.cc.
References G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, G4Material::GetMaterialTable(), and G4NistManager::Instance().
Referenced by Construct().
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 369 of file B5DetectorConstruction.cc.
References G4SDManager::AddNewDetector(), G4FieldManager::CreateChordFinder(), fCellLogical, fFieldMgr, fHadCalScintiLogical, fHodoscope1Logical, fHodoscope2Logical, fMagneticField, fMagneticLogical, fWirePlane1Logical, fWirePlane2Logical, G4SDManager::GetSDMpointer(), G4AutoDelete::Register(), G4FieldManager::SetDetectorField(), G4LogicalVolume::SetFieldManager(), and G4LogicalVolume::SetSensitiveDetector().
|
private |
Definition at line 480 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 61 of file B5DetectorConstruction.hh.
References fArmAngle.
void B5DetectorConstruction::SetArmAngle | ( | G4double | val | ) |
Definition at line 459 of file B5DetectorConstruction.cc.
References fArmAngle, fArmRotation, fSecondArmPhys, G4cerr, G4endl, G4RunManager::GeometryHasBeenModified(), G4RunManager::GetRunManager(), m, G4VPhysicalVolume::SetTranslation(), and z.
Referenced by DefineCommands().
|
private |
Definition at line 83 of file B5DetectorConstruction.hh.
Referenced by B5DetectorConstruction(), Construct(), GetArmAngle(), and SetArmAngle().
|
private |
Definition at line 84 of file B5DetectorConstruction.hh.
Referenced by B5DetectorConstruction(), Construct(), SetArmAngle(), and ~B5DetectorConstruction().
|
private |
Definition at line 77 of file B5DetectorConstruction.hh.
Referenced by Construct(), and ConstructSDandField().
|
staticprivate |
Definition at line 71 of file B5DetectorConstruction.hh.
Referenced by ConstructSDandField().
|
private |
Definition at line 78 of file B5DetectorConstruction.hh.
Referenced by Construct(), and ConstructSDandField().
|
private |
Definition at line 73 of file B5DetectorConstruction.hh.
Referenced by Construct(), and ConstructSDandField().
|
private |
Definition at line 74 of file B5DetectorConstruction.hh.
Referenced by Construct(), and ConstructSDandField().
|
staticprivate |
Definition at line 70 of file B5DetectorConstruction.hh.
Referenced by ConstructSDandField().
|
private |
Definition at line 79 of file B5DetectorConstruction.hh.
Referenced by Construct(), and ConstructSDandField().
|
private |
Definition at line 68 of file B5DetectorConstruction.hh.
Referenced by DefineCommands(), and ~B5DetectorConstruction().
|
private |
Definition at line 85 of file B5DetectorConstruction.hh.
Referenced by Construct(), and SetArmAngle().
|
private |
Definition at line 81 of file B5DetectorConstruction.hh.
Referenced by Construct(), and ~B5DetectorConstruction().
|
private |
Definition at line 75 of file B5DetectorConstruction.hh.
Referenced by Construct(), and ConstructSDandField().
|
private |
Definition at line 76 of file B5DetectorConstruction.hh.
Referenced by Construct(), and ConstructSDandField().