#include <ML2PhaseSpaces.hh>
|
| CML2PhaseSpaces () |
|
| ~CML2PhaseSpaces (void) |
|
bool | createPlane (G4VPhysicalVolume *PVWorld, G4String name, G4ThreeVector centre, G4ThreeVector halfSize) |
|
bool | 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) |
|
G4int | getCML2SensDetNParticle () |
|
CML2SDWithParticle * | getCML2SensitiveDetectorParticle () |
|
void | save () |
|
Definition at line 58 of file ML2PhaseSpaces.hh.
CML2PhaseSpaces::CML2PhaseSpaces |
( |
| ) |
|
CML2PhaseSpaces::~CML2PhaseSpaces |
( |
void |
| ) |
|
Definition at line 53 of file ML2PhaseSpaces.cc.
62 phVol=
new G4PVPlacement(0, centre, name+
"KPV", logVol, PVWorld,
false, 0);
68 logVol->SetVisAttributes(simplePhSpVisAtt);
74 logVol->SetSensitiveDetector(sensDetParticle);
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
void SetForceSolid(G4bool=true)
void SetVisibility(G4bool=true)
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4SDManager * GetSDMpointer()
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 |
|
) |
| |
Definition at line 79 of file ML2PhaseSpaces.cc.
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)
static G4NistManager * Instance()
void SetForceSolid(G4bool=true)
void SetVisibility(G4bool=true)
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4SDManager * GetSDMpointer()
G4int CML2PhaseSpaces::getCML2SensDetNParticle |
( |
| ) |
|
|
inline |
Definition at line 66 of file ML2PhaseSpaces.hh.
CML2SDWithParticle * getCML2SensitiveDetectorParticle()
void CML2PhaseSpaces::save |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: