68 logVol->SetVisAttributes(simplePhSpVisAtt);
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)
93 logVol->SetVisAttributes(simplePhSpVisAtt);
95 sensDetParticle=
new CML2SDWithParticle(idSD_Type, max_N_particles_in_PhSp_File, seed, nMaxParticlesInRamPhaseSpace, name, PhaseSpaceOutFile, bSavePhaseSpace, bStopAtPhaseSpace, primaryParticleData, accTargetZPosition);
void AddNewDetector(G4VSensitiveDetector *aSD)
CML2SDWithParticle * sensDetParticle
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4VPhysicalVolume * phVol
void SetForceSolid(G4bool=true)
void SetVisibility(G4bool=true)
static G4SDManager * GetSDMpointer()
bool createPlane(G4VPhysicalVolume *PVWorld, G4String name, G4ThreeVector centre, G4ThreeVector halfSize)
static G4NistManager * Instance()