60 box =
new G4Box(
"KBox", halfSize.getX(), halfSize.getY(), halfSize.getZ());
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)
86 box =
new G4Box(name+
"Box", halfSize.getX(), halfSize.getY(), halfSize.getZ());
93 logVol->SetVisAttributes(simplePhSpVisAtt);
95 sensDetParticle=
new CML2SDWithParticle(idSD_Type, max_N_particles_in_PhSp_File, seed, nMaxParticlesInRamPhaseSpace, name, PhaseSpaceOutFile, bSavePhaseSpace, bStopAtPhaseSpace, primaryParticleData, accTargetZPosition);
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CLHEP::Hep3Vector G4ThreeVector
void SetVisibility(G4bool)
void SetForceSolid(G4bool)
static G4NistManager * Instance()
void AddNewDetector(G4VSensitiveDetector *aSD)
CML2SDWithParticle * sensDetParticle
static G4SDManager * GetSDMpointer()
G4VPhysicalVolume * phVol
bool createPlane(G4VPhysicalVolume *PVWorld, G4String name, G4ThreeVector centre, G4ThreeVector halfSize)