Geant4.10
|
#include <ML2AcceleratorConstruction.hh>
Public Member Functions | |
CML2AcceleratorConstruction (void) | |
~CML2AcceleratorConstruction (void) | |
bool | Construct (G4VPhysicalVolume *PVWorld, G4bool bOnlyVisio) |
G4VPhysicalVolume * | getPhysicalVolume (void) |
void | resetAccelerator () |
void | setAcceleratorName (G4String val) |
void | setAcceleratorMacFileName (G4String val) |
G4String | getCurrentRotationString () |
G4String | getNextAcceleratorXRotationName () |
void | setIsoCentre (G4double val) |
void | setRotation90Y (G4bool val) |
void | addAcceleratorRotationsX (G4double val) |
G4double | getAcceleratorIsoCentre () |
G4String | getAcceleratorName () |
G4String | getAcceleratorMacFileName () |
G4double | getZ_Value_PhaseSpaceBeforeJaws () |
G4bool | getRotation90Y () |
void | writeInfo () |
G4RotationMatrix * | rotateAccelerator () |
G4RotationMatrix * | rotateAccelerator (G4double angleX) |
Static Public Member Functions | |
static CML2AcceleratorConstruction * | GetInstance (void) |
Definition at line 61 of file ML2AcceleratorConstruction.hh.
CML2AcceleratorConstruction::CML2AcceleratorConstruction | ( | void | ) |
CML2AcceleratorConstruction::~CML2AcceleratorConstruction | ( | void | ) |
Definition at line 53 of file ML2AcceleratorConstruction.cc.
Definition at line 80 of file ML2AcceleratorConstruction.hh.
Referenced by CML2AcceleratorConstructionMessenger::SetNewValue().
bool CML2AcceleratorConstruction::Construct | ( | G4VPhysicalVolume * | PVWorld, |
G4bool | bOnlyVisio | ||
) |
Definition at line 102 of file ML2AcceleratorConstruction.cc.
References CML2Acc1::Construct(), G4NistManager::FindOrBuildMaterial(), CML2Acc1::getBeforeJaws_Z_PhaseSpacePosition(), CLHEP::Hep3Vector::getX(), CLHEP::Hep3Vector::getY(), CLHEP::Hep3Vector::getZ(), G4NistManager::Instance(), python.hepunit::mm, CLHEP::Hep3Vector::set(), CML2AcceleratorConstructionMessenger::SetReferenceWorld(), G4VisAttributes::SetVisibility(), G4Colour::White(), and CML2Acc1::writeInfo().
Referenced by CML2WorldConstruction::create().
|
inline |
Definition at line 82 of file ML2AcceleratorConstruction.hh.
Referenced by CML2WorldConstruction::create(), and main().
|
inline |
Definition at line 84 of file ML2AcceleratorConstruction.hh.
|
inline |
Definition at line 83 of file ML2AcceleratorConstruction.hh.
Referenced by CML2WorldConstruction::create().
G4String CML2AcceleratorConstruction::getCurrentRotationString | ( | ) |
Definition at line 177 of file ML2AcceleratorConstruction.cc.
References python.hepunit::deg.
Referenced by CML2RunAction::BeginOfRunAction().
|
static |
Definition at line 63 of file ML2AcceleratorConstruction.cc.
References CML2AcceleratorConstruction().
Referenced by CML2RunAction::BeginOfRunAction(), CML2WorldConstruction::CML2WorldConstruction(), CML2SDWithParticle::ProcessHits(), and CML2SDWithParticle::save().
|
inline |
Definition at line 76 of file ML2AcceleratorConstruction.hh.
|
inline |
Definition at line 68 of file ML2AcceleratorConstruction.hh.
Referenced by CML2WorldConstruction::create().
|
inline |
Definition at line 86 of file ML2AcceleratorConstruction.hh.
|
inline |
Definition at line 85 of file ML2AcceleratorConstruction.hh.
Referenced by CML2WorldConstruction::create().
void CML2AcceleratorConstruction::resetAccelerator | ( | ) |
G4RotationMatrix * CML2AcceleratorConstruction::rotateAccelerator | ( | ) |
Definition at line 145 of file ML2AcceleratorConstruction.cc.
Referenced by CML2WorldConstruction::newGeometry(), and CML2AcceleratorConstructionMessenger::SetNewValue().
G4RotationMatrix * CML2AcceleratorConstruction::rotateAccelerator | ( | G4double | angleX | ) |
Definition at line 158 of file ML2AcceleratorConstruction.cc.
References G4GeometryManager::CloseGeometry(), python.hepunit::deg, G4RunManager::GeometryHasBeenModified(), G4GeometryManager::GetInstance(), G4RunManager::GetRunManager(), CLHEP::inverseOf(), G4GeometryManager::OpenGeometry(), CLHEP::HepRotation::rotateX(), CLHEP::HepRotation::rotateY(), G4VPhysicalVolume::SetRotation(), and G4VPhysicalVolume::SetTranslation().
Definition at line 72 of file ML2AcceleratorConstruction.hh.
Referenced by CML2AcceleratorConstructionMessenger::CML2AcceleratorConstructionMessenger(), and CML2AcceleratorConstructionMessenger::SetNewValue().
Definition at line 71 of file ML2AcceleratorConstruction.hh.
Referenced by CML2AcceleratorConstructionMessenger::CML2AcceleratorConstructionMessenger(), and CML2AcceleratorConstructionMessenger::SetNewValue().
Definition at line 77 of file ML2AcceleratorConstruction.hh.
Referenced by CML2AcceleratorConstructionMessenger::CML2AcceleratorConstructionMessenger(), and CML2AcceleratorConstructionMessenger::SetNewValue().
Definition at line 78 of file ML2AcceleratorConstruction.hh.
Referenced by CML2AcceleratorConstructionMessenger::CML2AcceleratorConstructionMessenger(), and CML2AcceleratorConstructionMessenger::SetNewValue().
void CML2AcceleratorConstruction::writeInfo | ( | ) |
Definition at line 138 of file ML2AcceleratorConstruction.cc.
References python.hepunit::deg, and G4endl.
Referenced by CML2RunAction::BeginOfRunAction().