85 bool bAccExists=
false;
93 G4String command =
"/control/execute ";
119 accWorldLV->SetVisAttributes(simpleAlSVisAtt);
181 sprintf(cR,
"%d",cRI);
184 {rotationName=
"_Ro90Y"+rotationName;}
186 {rotationName=
"_Ro"+rotationName;}
std::vector< G4double > rotationsX
void set(double x, double y, double z)
static G4RunManager * GetRunManager()
G4double Z_Value_PhaseSpaceBeforeJaws
G4double getBeforeJaws_Z_PhaseSpacePosition()
~CML2AcceleratorConstruction(void)
static constexpr double mm
G4int ApplyCommand(const char *aCommand)
G4ThreeVector initialCentre
CLHEP::HepRotation G4RotationMatrix
bool Construct(G4VPhysicalVolume *PVWorld, G4bool bOnlyVisio)
static CML2Acc1 * GetInstance(void)
CML2AcceleratorConstructionMessenger * acceleratorConstructionMessenger
G4RotationMatrix * rotateAccelerator()
void SetTranslation(const G4ThreeVector &v)
G4VPhysicalVolume * PVAccWorld
static G4UImanager * GetUIpointer()
void SetReferenceWorld(G4bool bOV)
static CML2AcceleratorConstruction * instance
G4double currentRotationX
static constexpr double deg
static G4GeometryManager * GetInstance()
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
HepBoost inverseOf(const HepBoost <)
void OpenGeometry(G4VPhysicalVolume *vol=0)
void GeometryHasBeenModified(G4bool prop=true)
void SetVisibility(G4bool=true)
HepRotation & rotateY(double delta)
static CML2AcceleratorConstruction * GetInstance(void)
G4String getCurrentRotationString()
G4bool CloseGeometry(G4bool pOptimise=true, G4bool verbose=false, G4VPhysicalVolume *vol=0)
void Construct(G4VPhysicalVolume *PVWorld, G4double isoCentre)
CML2AcceleratorConstruction(void)
void SetRotation(G4RotationMatrix *)
HepRotation & rotateX(double delta)
G4String AcceleratorMacFileName
void addAcceleratorRotationsX(G4double val)
static G4NistManager * Instance()