#include <ML2AcceleratorConstruction.hh>
◆ CML2AcceleratorConstruction()
CML2AcceleratorConstruction::CML2AcceleratorConstruction |
( |
void |
| ) |
|
◆ ~CML2AcceleratorConstruction()
CML2AcceleratorConstruction::~CML2AcceleratorConstruction |
( |
void |
| ) |
|
Definition at line 53 of file ML2AcceleratorConstruction.cc.
CML2AcceleratorConstructionMessenger * acceleratorConstructionMessenger
G4VPhysicalVolume * PVAccWorld
◆ addAcceleratorRotationsX()
void CML2AcceleratorConstruction::addAcceleratorRotationsX |
( |
G4double |
val | ) |
|
|
inline |
◆ Construct()
Definition at line 102 of file ML2AcceleratorConstruction.cc.
119 accWorldLV->SetVisAttributes(simpleAlSVisAtt);
void set(double x, double y, double z)
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CML2AcceleratorConstructionMessenger * acceleratorConstructionMessenger
void SetVisibility(G4bool)
G4double Z_Value_PhaseSpaceBeforeJaws
static G4NistManager * Instance()
void Construct(G4VPhysicalVolume *PVWorld, G4double isoCentre)
G4ThreeVector initialCentre
G4double getBeforeJaws_Z_PhaseSpacePosition()
void SetReferenceWorld(G4bool bOV)
G4VPhysicalVolume * PVAccWorld
◆ design()
bool CML2AcceleratorConstruction::design |
( |
void |
| ) |
|
|
private |
Definition at line 81 of file ML2AcceleratorConstruction.cc.
85 bool bAccExists=
false;
93 G4String command =
"/control/execute ";
G4String AcceleratorMacFileName
static G4UImanager * GetUIpointer()
void addAcceleratorRotationsX(G4double val)
std::vector< G4double > rotationsX
static CML2Acc1 * GetInstance(void)
G4int ApplyCommand(const char *aCommand)
◆ getAcceleratorIsoCentre()
G4double CML2AcceleratorConstruction::getAcceleratorIsoCentre |
( |
| ) |
|
|
inline |
◆ getAcceleratorMacFileName()
G4String CML2AcceleratorConstruction::getAcceleratorMacFileName |
( |
| ) |
|
|
inline |
◆ getAcceleratorName()
G4String CML2AcceleratorConstruction::getAcceleratorName |
( |
| ) |
|
|
inline |
◆ getCurrentRotationString()
G4String CML2AcceleratorConstruction::getCurrentRotationString |
( |
| ) |
|
Definition at line 177 of file ML2AcceleratorConstruction.cc.
181 sprintf(cR,
"%d",cRI);
184 {rotationName=
"_Ro90Y"+rotationName;}
186 {rotationName=
"_Ro"+rotationName;}
G4double currentRotationX
◆ GetInstance()
◆ getNextAcceleratorXRotationName()
G4String CML2AcceleratorConstruction::getNextAcceleratorXRotationName |
( |
| ) |
|
|
inline |
◆ getPhysicalVolume()
◆ getRotation90Y()
G4bool CML2AcceleratorConstruction::getRotation90Y |
( |
| ) |
|
|
inline |
◆ getZ_Value_PhaseSpaceBeforeJaws()
G4double CML2AcceleratorConstruction::getZ_Value_PhaseSpaceBeforeJaws |
( |
| ) |
|
|
inline |
◆ resetAccelerator()
void CML2AcceleratorConstruction::resetAccelerator |
( |
| ) |
|
◆ rotateAccelerator() [1/2]
Definition at line 145 of file ML2AcceleratorConstruction.cc.
CLHEP::HepRotation G4RotationMatrix
G4RotationMatrix * rotateAccelerator()
G4double currentRotationX
std::vector< G4double > rotationsX
◆ rotateAccelerator() [2/2]
Definition at line 158 of file ML2AcceleratorConstruction.cc.
void GeometryHasBeenModified(G4bool prop=true)
HepRotation & rotateX(double delta)
CLHEP::HepRotation G4RotationMatrix
HepRotation & rotateY(double delta)
void SetRotation(G4RotationMatrix *)
HepBoost inverseOf(const HepBoost <)
void SetTranslation(const G4ThreeVector &v)
static G4GeometryManager * GetInstance()
static G4RunManager * GetRunManager()
G4double currentRotationX
G4ThreeVector initialCentre
void OpenGeometry(G4VPhysicalVolume *vol=0)
G4bool CloseGeometry(G4bool pOptimise=true, G4bool verbose=false, G4VPhysicalVolume *vol=0)
G4VPhysicalVolume * PVAccWorld
◆ setAcceleratorMacFileName()
void CML2AcceleratorConstruction::setAcceleratorMacFileName |
( |
G4String |
val | ) |
|
|
inline |
◆ setAcceleratorName()
void CML2AcceleratorConstruction::setAcceleratorName |
( |
G4String |
val | ) |
|
|
inline |
◆ setIsoCentre()
void CML2AcceleratorConstruction::setIsoCentre |
( |
G4double |
val | ) |
|
|
inline |
◆ setRotation90Y()
void CML2AcceleratorConstruction::setRotation90Y |
( |
G4bool |
val | ) |
|
|
inline |
◆ writeInfo()
void CML2AcceleratorConstruction::writeInfo |
( |
| ) |
|
◆ accelerator1
CML2Acc1* CML2AcceleratorConstruction::accelerator1 |
|
private |
◆ acceleratorConstructionMessenger
◆ AcceleratorMacFileName
G4String CML2AcceleratorConstruction::AcceleratorMacFileName |
|
private |
◆ AcceleratorName
G4String CML2AcceleratorConstruction::AcceleratorName |
|
private |
◆ bOnlyVisio
G4bool CML2AcceleratorConstruction::bOnlyVisio |
|
private |
◆ bRotate90Y
G4bool CML2AcceleratorConstruction::bRotate90Y |
|
private |
◆ currentRotationX
G4double CML2AcceleratorConstruction::currentRotationX |
|
private |
◆ idCurrentRotationX
G4int CML2AcceleratorConstruction::idCurrentRotationX |
|
private |
◆ initialCentre
◆ instance
◆ isoCentre
G4double CML2AcceleratorConstruction::isoCentre |
|
private |
◆ nextAcceleratorXRotationName
G4String CML2AcceleratorConstruction::nextAcceleratorXRotationName |
|
private |
◆ PVAccWorld
◆ rotationsX
std::vector<G4double> CML2AcceleratorConstruction::rotationsX |
|
private |
◆ Z_Value_PhaseSpaceBeforeJaws
G4double CML2AcceleratorConstruction::Z_Value_PhaseSpaceBeforeJaws |
|
private |
The documentation for this class was generated from the following files: