Geant4
10.01.p03
|
#include <XrayFluoAnalysisManager.hh>
Public Member Functions | |
virtual | ~XrayFluoAnalysisManager () |
void | book () |
void | finish () |
void | analyseStepping (const G4Step *aStep) |
void | analyseEnergyDep (G4double eDep) |
void | analysePrimaryGenerator (G4double energy) |
void | PhaseSpaceOn () |
void | PhaseSpaceOff () |
void | SetOutputFileName (G4String) |
const std::pair< G4double, G4String > | GetEmittedParticleEnergyAndType () |
void | LoadGunData (G4String, G4bool) |
void | SetPhysicFlag (G4bool) |
Static Public Member Functions | |
static XrayFluoAnalysisManager * | getInstance () |
Private Member Functions | |
XrayFluoAnalysisManager () | |
Private Attributes | |
G4String | outputFileName |
G4bool | phaseSpaceFlag |
G4bool | physicFlag |
std::vector< G4double > * | gunParticleEnergies |
std::vector< G4String > * | gunParticleTypes |
XrayFluoAnalysisMessenger * | analisysMessenger |
G4bool | dataLoaded |
G4int | fParticleEnergyAndTypeIndex |
Static Private Attributes | |
static XrayFluoAnalysisManager * | instance = 0 |
Definition at line 55 of file XrayFluoAnalysisManager.hh.
|
virtual |
Definition at line 88 of file XrayFluoAnalysisManager.cc.
References gunParticleEnergies, gunParticleTypes, and instance.
|
private |
Definition at line 70 of file XrayFluoAnalysisManager.cc.
References analisysMessenger, dataLoaded, fParticleEnergyAndTypeIndex, G4cout, and G4endl.
Referenced by getInstance().
void XrayFluoAnalysisManager::analyseEnergyDep | ( | G4double | eDep | ) |
Definition at line 430 of file XrayFluoAnalysisManager.cc.
References G4VAnalysisManager::FillH1(), keV, and phaseSpaceFlag.
Referenced by XrayFluoEventAction::EndOfEventAction().
void XrayFluoAnalysisManager::analysePrimaryGenerator | ( | G4double | energy | ) |
Definition at line 443 of file XrayFluoAnalysisManager.cc.
References G4VAnalysisManager::FillH1(), keV, and phaseSpaceFlag.
Referenced by XrayFluoMercuryPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPlanePrimaryGeneratorAction::GeneratePrimaries(), and XrayFluoPrimaryGeneratorAction::GeneratePrimaries().
void XrayFluoAnalysisManager::analyseStepping | ( | const G4Step * | aStep | ) |
Definition at line 243 of file XrayFluoAnalysisManager.cc.
References G4VAnalysisManager::AddNtupleRow(), G4Electron::Definition(), G4Proton::Definition(), G4Gamma::Definition(), G4VSolid::DistanceToOut(), fGeomBoundary, G4VAnalysisManager::FillH1(), G4VAnalysisManager::FillNtupleDColumn(), G4VAnalysisManager::FillNtupleIColumn(), G4Track::GetCreatorProcess(), G4Track::GetCurrentStepNumber(), G4DynamicParticle::GetDefinition(), G4Track::GetDynamicParticle(), XrayFluoDetectorConstruction::GetGeometryNavigator(), XrayFluoDetectorConstruction::GetInstance(), G4StepPoint::GetKineticEnergy(), G4VPhysicalVolume::GetLogicalVolume(), G4Track::GetMaterial(), G4DynamicParticle::GetMomentum(), G4VPhysicalVolume::GetName(), G4Material::GetName(), G4Track::GetNextVolume(), G4Track::GetParentID(), G4StepPoint::GetPhysicalVolume(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4VProcess::GetProcessName(), G4LogicalVolume::GetSolid(), G4StepPoint::GetStepStatus(), G4Step::GetTrack(), G4Track::GetVertexPosition(), G4Track::GetVolume(), keV, G4Navigator::LocateGlobalPointAndSetup(), phaseSpaceFlag, and physicFlag.
Referenced by XrayFluoSteppingAction::UserSteppingAction().
void XrayFluoAnalysisManager::book | ( | ) |
Definition at line 113 of file XrayFluoAnalysisManager.cc.
References G4VAnalysisManager::CreateH1(), G4VAnalysisManager::CreateNtuple(), G4VAnalysisManager::CreateNtupleDColumn(), G4VAnalysisManager::CreateNtupleIColumn(), G4VAnalysisManager::FinishNtuple(), G4cout, G4endl, G4VAnalysisManager::OpenFile(), outputFileName, phaseSpaceFlag, G4VAnalysisManager::SetFirstHistoId(), G4VAnalysisManager::SetFirstNtupleId(), and G4VAnalysisManager::SetVerboseLevel().
Referenced by XrayFluoRunAction::BeginOfRunAction().
void XrayFluoAnalysisManager::finish | ( | ) |
Definition at line 223 of file XrayFluoAnalysisManager.cc.
References G4VAnalysisManager::CloseFile(), G4cout, G4endl, and G4VAnalysisManager::Write().
Referenced by XrayFluoRunAction::EndOfRunAction().
Definition at line 203 of file XrayFluoAnalysisManager.cc.
References G4INCL::KinematicsUtils::energy(), fParticleEnergyAndTypeIndex, gunParticleEnergies, gunParticleTypes, and name.
Referenced by XrayFluoPrimaryGeneratorAction::GeneratePrimaries().
|
static |
Definition at line 103 of file XrayFluoAnalysisManager.cc.
References instance, and XrayFluoAnalysisManager().
Referenced by XrayFluoPrimaryGeneratorAction::ActivatePhaseSpace(), XrayFluoRunAction::BeginOfRunAction(), XrayFluoEventAction::EndOfEventAction(), XrayFluoRunAction::EndOfRunAction(), XrayFluoMercuryPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPlanePrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoSimulation::RunSimulation(), and XrayFluoSteppingAction::UserSteppingAction().
Definition at line 158 of file XrayFluoAnalysisManager.cc.
References dataLoaded, G4INCL::KinematicsUtils::energy(), G4cout, G4endl, G4RootAnalysisReader::GetNtuple(), G4VAnalysisReader::GetNtupleRow(), gunParticleEnergies, gunParticleTypes, MeV, G4VAnalysisReader::SetNtupleDColumn(), G4VAnalysisReader::SetNtupleIColumn(), and G4VAnalysisReader::SetVerboseLevel().
Referenced by XrayFluoPrimaryGeneratorAction::ActivatePhaseSpace().
|
inline |
Definition at line 80 of file XrayFluoAnalysisManager.hh.
References phaseSpaceFlag.
|
inline |
Definition at line 78 of file XrayFluoAnalysisManager.hh.
References phaseSpaceFlag.
Referenced by XrayFluoSimulation::RunSimulation().
void XrayFluoAnalysisManager::SetOutputFileName | ( | G4String | newName | ) |
Definition at line 455 of file XrayFluoAnalysisManager.cc.
References outputFileName.
Referenced by XrayFluoAnalysisMessenger::SetNewValue().
void XrayFluoAnalysisManager::SetPhysicFlag | ( | G4bool | val | ) |
Definition at line 236 of file XrayFluoAnalysisManager.cc.
References physicFlag.
Referenced by XrayFluoAnalysisMessenger::SetNewValue().
|
private |
Definition at line 108 of file XrayFluoAnalysisManager.hh.
Referenced by XrayFluoAnalysisManager().
|
private |
Definition at line 110 of file XrayFluoAnalysisManager.hh.
Referenced by LoadGunData(), and XrayFluoAnalysisManager().
|
private |
Definition at line 112 of file XrayFluoAnalysisManager.hh.
Referenced by GetEmittedParticleEnergyAndType(), and XrayFluoAnalysisManager().
|
private |
Definition at line 101 of file XrayFluoAnalysisManager.hh.
Referenced by GetEmittedParticleEnergyAndType(), LoadGunData(), and ~XrayFluoAnalysisManager().
|
private |
Definition at line 102 of file XrayFluoAnalysisManager.hh.
Referenced by GetEmittedParticleEnergyAndType(), LoadGunData(), and ~XrayFluoAnalysisManager().
|
staticprivate |
Definition at line 105 of file XrayFluoAnalysisManager.hh.
Referenced by getInstance(), and ~XrayFluoAnalysisManager().
|
private |
Definition at line 95 of file XrayFluoAnalysisManager.hh.
Referenced by book(), and SetOutputFileName().
|
private |
Definition at line 97 of file XrayFluoAnalysisManager.hh.
Referenced by analyseEnergyDep(), analysePrimaryGenerator(), analyseStepping(), book(), PhaseSpaceOff(), and PhaseSpaceOn().
|
private |
Definition at line 99 of file XrayFluoAnalysisManager.hh.
Referenced by analyseStepping(), and SetPhysicFlag().