62 phVol=
new G4PVPlacement(0, centre, name+
"KPV", logVol, PVWorld,
false, 0);
68 logVol->SetVisAttributes(simplePhSpVisAtt);
74 logVol->SetSensitiveDetector(sensDetParticle);
79 bool CML2PhaseSpaces::createPlane(
G4int idSD_Type,
G4int max_N_particles_in_PhSp_File,
G4int seed,
G4int nMaxParticlesInRamPhaseSpace,
G4VPhysicalVolume *PVWorld,
G4String name,
G4String PhaseSpaceOutFile,
G4bool bSavePhaseSpace,
G4bool bStopAtPhaseSpace,
G4ThreeVector centre,
G4ThreeVector halfSize,
SPrimaryParticle *primaryParticleData,
G4double accTargetZPosition)
88 phVol=
new G4PVPlacement(0, centre, name+
"PV", logVol, PVWorld,
false, 0);
93 logVol->SetVisAttributes(simplePhSpVisAtt);
95 sensDetParticle=
new CML2SDWithParticle(idSD_Type, max_N_particles_in_PhSp_File, seed, nMaxParticlesInRamPhaseSpace, name, PhaseSpaceOutFile, bSavePhaseSpace, bStopAtPhaseSpace, primaryParticleData, accTargetZPosition);
98 logVol->SetSensitiveDetector(sensDetParticle);
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
void SetVisibility(G4bool)
void SetForceSolid(G4bool)
static G4NistManager * Instance()
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4SDManager * GetSDMpointer()
bool createPlane(G4VPhysicalVolume *PVWorld, G4String name, G4ThreeVector centre, G4ThreeVector halfSize)