84 G4Box *worldB =
new G4Box(
"worldG", halfSize, halfSize, halfSize);
93 if (!acceleratorEnv->
Construct(PVWorld, bOV))
112 phaseSpace->
createPlane(
idSD_PhaseSpace, inputData->
generalData.
max_N_particles_in_PhSp_File, inputData->
generalData.
seed, inputData->
generalData.
nMaxParticlesInRamPlanePhaseSpace, acceleratorEnv->
getPhysicalVolume(),
"PhSp", inputData->
generalData.
PhaseSpaceOutFile, inputData->
generalData.
bSavePhaseSpace, inputData->
generalData.
bStopAtPhaseSpace, inputData->
generalData.
centrePhaseSpace, inputData->
generalData.
halfSizePhaseSpace,&inputData->
primaryParticleData, acceleratorEnv->
getAcceleratorIsoCentre());
G4ThreeVector centrePhaseSpace
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4double getZ_Value_PhaseSpaceBeforeJaws()
static constexpr double mm
G4int nMaxParticlesInRamPlanePhaseSpace
CLHEP::Hep3Vector G4ThreeVector
bool Construct(G4VPhysicalVolume *PVWorld, G4int saving_in_ROG_Voxels_every_events, G4int seed, G4String ROGOutFile, G4bool bSaveROG, G4bool bOnlyVisio)
G4VPhysicalVolume * getPhysicalVolume(void)
G4double getAcceleratorIsoCentre()
static G4NistManager * Instance()
G4String StartFileInputData
void SetVisibility(G4bool=true)
G4bool bForcePhaseSpaceBeforeJaws
bool Construct(G4VPhysicalVolume *PVWorld, G4bool bOnlyVisio)
int max_N_particles_in_PhSp_File
int saving_in_ROG_Voxels_every_events
G4ThreeVector halfSizePhaseSpace
G4String getPhantomName()
bool createPlane(G4VPhysicalVolume *PVWorld, G4String name, G4ThreeVector centre, G4ThreeVector halfSize)
void SetVisAttributes(const G4VisAttributes *pVA)
G4String getAcceleratorName()
G4String PhaseSpaceOutFile