Geant4  10.00.p01
CML2PhaseSpaces Class Reference

#include <ML2PhaseSpaces.hh>

+ Collaboration diagram for CML2PhaseSpaces:

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 ()
 
CML2SDWithParticlegetCML2SensitiveDetectorParticle ()
 
void save ()
 

Private Attributes

CML2SDWithParticlesensDetParticle
 
G4VPhysicalVolumephVol
 

Detailed Description

Definition at line 58 of file ML2PhaseSpaces.hh.

Constructor & Destructor Documentation

CML2PhaseSpaces::CML2PhaseSpaces ( )

Definition at line 47 of file ML2PhaseSpaces.cc.

CML2PhaseSpaces::~CML2PhaseSpaces ( void  )

Definition at line 50 of file ML2PhaseSpaces.cc.

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

G4int CML2PhaseSpaces::getCML2SensDetNParticle ( )
inline

Definition at line 65 of file ML2PhaseSpaces.hh.

References CML2SDWithParticle::getTotalNumberOfParticles(), and sensDetParticle.

Referenced by CML2WorldConstruction::getNParticleBackScattered(), and CML2WorldConstruction::getNParticlePhaseSpace().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

CML2SDWithParticle* CML2PhaseSpaces::getCML2SensitiveDetectorParticle ( )
inline

Definition at line 66 of file ML2PhaseSpaces.hh.

References CML2SDWithParticle::getCML2SensitiveDetectorParticle(), and sensDetParticle.

+ Here is the call graph for this function:

void CML2PhaseSpaces::save ( )
inline

Definition at line 67 of file ML2PhaseSpaces.hh.

References CML2SDWithParticle::save(), and sensDetParticle.

Referenced by CML2WorldConstruction::savePhaseSpaceData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4VPhysicalVolume* CML2PhaseSpaces::phVol
private

Definition at line 71 of file ML2PhaseSpaces.hh.

Referenced by createPlane().

CML2SDWithParticle* CML2PhaseSpaces::sensDetParticle
private

The documentation for this class was generated from the following files: