|
Geant4.10
|
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 |
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 CLHEP::HepRotation::rotateY().
|
virtual |
Definition at line 97 of file B5DetectorConstruction.cc.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 110 of file B5DetectorConstruction.cc.
References python.hepunit::cm, ConstructMaterials(), python.hepunit::deg, G4Material::GetMaterial(), kXAxis, kYAxis, kZAxis, python.hepunit::m, python.hepunit::mm, CLHEP::HepRotation::rotateX(), G4LogicalVolume::SetUserLimits(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), test::x, 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(), G4SDManager::GetSDMpointer(), G4AutoDelete::Register(), G4FieldManager::SetDetectorField(), G4LogicalVolume::SetFieldManager(), and G4LogicalVolume::SetSensitiveDetector().
|
inline |
Definition at line 61 of file B5DetectorConstruction.hh.
Definition at line 459 of file B5DetectorConstruction.cc.
References G4cerr, G4endl, G4RunManager::GeometryHasBeenModified(), G4RunManager::GetRunManager(), python.hepunit::m, CLHEP::HepRotation::rotateY(), G4VPhysicalVolume::SetTranslation(), test::x, and z.
1.8.7