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