Geant4  10.02.p02
XrayFluoAnalysisManager Class Reference

#include <XrayFluoAnalysisManager.hh>

+ Collaboration diagram for XrayFluoAnalysisManager:

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

Private Member Functions

 XrayFluoAnalysisManager ()
 

Private Attributes

G4String outputFileName
 
G4bool phaseSpaceFlag
 
G4bool physicFlag
 
std::vector< G4double > * gunParticleEnergies
 
std::vector< G4String > * gunParticleTypes
 
XrayFluoAnalysisMessengeranalisysMessenger
 
G4bool dataLoaded
 
G4int fParticleEnergyAndTypeIndex
 

Static Private Attributes

static XrayFluoAnalysisManagerinstance = 0
 

Detailed Description

Definition at line 55 of file XrayFluoAnalysisManager.hh.

Constructor & Destructor Documentation

XrayFluoAnalysisManager::~XrayFluoAnalysisManager ( )
virtual

Definition at line 88 of file XrayFluoAnalysisManager.cc.

References gunParticleEnergies, gunParticleTypes, and instance.

XrayFluoAnalysisManager::XrayFluoAnalysisManager ( )
private

Definition at line 70 of file XrayFluoAnalysisManager.cc.

References analisysMessenger, dataLoaded, fParticleEnergyAndTypeIndex, G4cout, and G4endl.

Referenced by getInstance().

+ Here is the caller graph for this function:

Member Function Documentation

void XrayFluoAnalysisManager::analyseEnergyDep ( G4double  eDep)

Definition at line 430 of file XrayFluoAnalysisManager.cc.

References G4VAnalysisManager::FillH1(), keV, and phaseSpaceFlag.

Referenced by XrayFluoEventAction::EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void XrayFluoAnalysisManager::analyseStepping ( const G4Step aStep)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void XrayFluoAnalysisManager::finish ( )

Definition at line 223 of file XrayFluoAnalysisManager.cc.

References G4VAnalysisManager::CloseFile(), G4cout, G4endl, and G4VAnalysisManager::Write().

Referenced by XrayFluoRunAction::EndOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::pair< G4double, G4String > XrayFluoAnalysisManager::GetEmittedParticleEnergyAndType ( )

Definition at line 203 of file XrayFluoAnalysisManager.cc.

References G4INCL::KinematicsUtils::energy(), fParticleEnergyAndTypeIndex, gunParticleEnergies, gunParticleTypes, and name.

Referenced by XrayFluoPrimaryGeneratorAction::GeneratePrimaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

XrayFluoAnalysisManager * XrayFluoAnalysisManager::getInstance ( )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void XrayFluoAnalysisManager::LoadGunData ( G4String  fileName,
G4bool  raileighFlag 
)

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void XrayFluoAnalysisManager::PhaseSpaceOff ( )
inline

Definition at line 80 of file XrayFluoAnalysisManager.hh.

References phaseSpaceFlag.

void XrayFluoAnalysisManager::PhaseSpaceOn ( )
inline

Definition at line 78 of file XrayFluoAnalysisManager.hh.

References phaseSpaceFlag.

Referenced by XrayFluoSimulation::RunSimulation().

+ Here is the caller graph for this function:

void XrayFluoAnalysisManager::SetOutputFileName ( G4String  newName)

Definition at line 455 of file XrayFluoAnalysisManager.cc.

References outputFileName.

Referenced by XrayFluoAnalysisMessenger::SetNewValue().

+ Here is the caller graph for this function:

void XrayFluoAnalysisManager::SetPhysicFlag ( G4bool  val)

Definition at line 236 of file XrayFluoAnalysisManager.cc.

References physicFlag.

Referenced by XrayFluoAnalysisMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

XrayFluoAnalysisMessenger* XrayFluoAnalysisManager::analisysMessenger
private

Definition at line 108 of file XrayFluoAnalysisManager.hh.

Referenced by XrayFluoAnalysisManager().

G4bool XrayFluoAnalysisManager::dataLoaded
private

Definition at line 110 of file XrayFluoAnalysisManager.hh.

Referenced by LoadGunData(), and XrayFluoAnalysisManager().

G4int XrayFluoAnalysisManager::fParticleEnergyAndTypeIndex
private
std::vector<G4double>* XrayFluoAnalysisManager::gunParticleEnergies
private
std::vector<G4String>* XrayFluoAnalysisManager::gunParticleTypes
private
XrayFluoAnalysisManager * XrayFluoAnalysisManager::instance = 0
staticprivate

Definition at line 105 of file XrayFluoAnalysisManager.hh.

Referenced by getInstance(), and ~XrayFluoAnalysisManager().

G4String XrayFluoAnalysisManager::outputFileName
private

Definition at line 95 of file XrayFluoAnalysisManager.hh.

Referenced by book(), and SetOutputFileName().

G4bool XrayFluoAnalysisManager::phaseSpaceFlag
private
G4bool XrayFluoAnalysisManager::physicFlag
private

Definition at line 99 of file XrayFluoAnalysisManager.hh.

Referenced by analyseStepping(), and SetPhysicFlag().


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