Geant4
10.01.p03
|
#include <ML2PhaseSpaces.hh>
Public Member Functions | |
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 () |
Private Attributes | |
CML2SDWithParticle * | sensDetParticle |
G4VPhysicalVolume * | phVol |
Definition at line 58 of file ML2PhaseSpaces.hh.
CML2PhaseSpaces::CML2PhaseSpaces | ( | ) |
Definition at line 47 of file ML2PhaseSpaces.cc.
CML2PhaseSpaces::~CML2PhaseSpaces | ( | void | ) |
Definition at line 50 of file ML2PhaseSpaces.cc.
bool CML2PhaseSpaces::createPlane | ( | G4VPhysicalVolume * | PVWorld, |
G4String | name, | ||
G4ThreeVector | centre, | ||
G4ThreeVector | halfSize | ||
) |
Definition at line 53 of file ML2PhaseSpaces.cc.
References G4SDManager::AddNewDetector(), G4NistManager::FindOrBuildMaterial(), G4SDManager::GetSDMpointer(), G4NistManager::Instance(), phVol, sensDetParticle, G4VisAttributes::SetForceSolid(), and G4VisAttributes::SetVisibility().
Referenced by CML2WorldConstruction::create().
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.
References G4SDManager::AddNewDetector(), G4NistManager::FindOrBuildMaterial(), G4SDManager::GetSDMpointer(), G4NistManager::Instance(), phVol, sensDetParticle, G4VisAttributes::SetForceSolid(), G4VisAttributes::SetVisibility(), and G4Colour::Yellow().
|
inline |
Definition at line 65 of file ML2PhaseSpaces.hh.
References CML2SDWithParticle::getTotalNumberOfParticles(), and sensDetParticle.
Referenced by CML2WorldConstruction::getNParticleBackScattered(), and CML2WorldConstruction::getNParticlePhaseSpace().
|
inline |
Definition at line 66 of file ML2PhaseSpaces.hh.
References CML2SDWithParticle::getCML2SensitiveDetectorParticle(), and sensDetParticle.
|
inline |
Definition at line 67 of file ML2PhaseSpaces.hh.
References CML2SDWithParticle::save(), and sensDetParticle.
Referenced by CML2WorldConstruction::savePhaseSpaceData().
|
private |
Definition at line 71 of file ML2PhaseSpaces.hh.
Referenced by createPlane().
|
private |
Definition at line 69 of file ML2PhaseSpaces.hh.
Referenced by createPlane(), getCML2SensDetNParticle(), getCML2SensitiveDetectorParticle(), and save().