Geant4  10.03
XrayFluoRunAction Class Reference

#include <XrayFluoRunAction.hh>

+ Inheritance diagram for XrayFluoRunAction:
+ Collaboration diagram for XrayFluoRunAction:

Public Member Functions

 XrayFluoRunAction ()
 
 ~XrayFluoRunAction ()
 
const XrayFluoDataSetGetSet () const
 
const XrayFluoDataSetGetGammaSet () const
 
const XrayFluoDataSetGetAlphaSet () const
 
G4DataVectorGetEnergies () const
 
G4DataVectorGetData () const
 
void BeginOfRunAction (const G4Run *)
 
void EndOfRunAction (const G4Run *)
 
G4double GetDataSum () const
 
- Public Member Functions inherited from G4UserRunAction
 G4UserRunAction ()
 
virtual ~G4UserRunAction ()
 
virtual G4RunGenerateRun ()
 
virtual void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Private Member Functions

void Initialise ()
 
void ReadData (G4double, G4String)
 

Private Attributes

G4bool isInitialized
 
const XrayFluoDataSetdataSet
 
const XrayFluoDataSetdataGammaSet
 
const XrayFluoDataSetdataAlphaSet
 
G4DataVectorenergies
 
G4DataVectordata
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 52 of file XrayFluoRunAction.hh.

Constructor & Destructor Documentation

XrayFluoRunAction::XrayFluoRunAction ( )

Definition at line 54 of file XrayFluoRunAction.cc.

XrayFluoRunAction::~XrayFluoRunAction ( )

Definition at line 61 of file XrayFluoRunAction.cc.

Member Function Documentation

void XrayFluoRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 95 of file XrayFluoRunAction.cc.

References G4UImanager::ApplyCommand(), XrayFluoAnalysisManager::book(), G4cout, G4endl, G4VVisManager::GetConcreteInstance(), XrayFluoAnalysisManager::getInstance(), G4Run::GetRunID(), G4UImanager::GetUIpointer(), Initialise(), isInitialized, and G4UserRunAction::IsMaster().

+ Here is the call graph for this function:

void XrayFluoRunAction::EndOfRunAction ( const G4Run )
virtual

Reimplemented from G4UserRunAction.

Definition at line 121 of file XrayFluoRunAction.cc.

References G4UImanager::ApplyCommand(), XrayFluoAnalysisManager::finish(), G4VVisManager::GetConcreteInstance(), XrayFluoAnalysisManager::getInstance(), and G4UImanager::GetUIpointer().

+ Here is the call graph for this function:

const XrayFluoDataSet * XrayFluoRunAction::GetAlphaSet ( ) const

Definition at line 148 of file XrayFluoRunAction.cc.

References dataAlphaSet.

G4DataVector * XrayFluoRunAction::GetData ( ) const

Definition at line 162 of file XrayFluoRunAction.cc.

References data.

Referenced by XrayFluoMercuryPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPlanePrimaryGeneratorAction::GeneratePrimaries(), and XrayFluoPrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

G4double XrayFluoRunAction::GetDataSum ( ) const

Definition at line 169 of file XrayFluoRunAction.cc.

References data.

Referenced by XrayFluoMercuryPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPlanePrimaryGeneratorAction::GeneratePrimaries(), and XrayFluoPrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

G4DataVector * XrayFluoRunAction::GetEnergies ( ) const

Definition at line 155 of file XrayFluoRunAction.cc.

References energies.

Referenced by XrayFluoMercuryPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPlanePrimaryGeneratorAction::GeneratePrimaries(), and XrayFluoPrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

const XrayFluoDataSet * XrayFluoRunAction::GetGammaSet ( ) const

Definition at line 141 of file XrayFluoRunAction.cc.

References dataGammaSet.

Referenced by XrayFluoMercuryPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPlanePrimaryGeneratorAction::GeneratePrimaries(), and XrayFluoPrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

const XrayFluoDataSet * XrayFluoRunAction::GetSet ( ) const

Definition at line 134 of file XrayFluoRunAction.cc.

References dataSet.

void XrayFluoRunAction::Initialise ( )
private

Definition at line 66 of file XrayFluoRunAction.cc.

References data, dataGammaSet, energies, G4cout, G4endl, isInitialized, G4UserRunAction::IsMaster(), keV, XrayFluoNormalization::Normalize(), and ReadData().

Referenced by BeginOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void XrayFluoRunAction::ReadData ( G4double  unitE,
G4String  fileName 
)
private

Definition at line 182 of file XrayFluoRunAction.cc.

References a, data, energies, FatalException, G4cout, G4endl, G4Exception(), and G4InuclParticleNames::name().

Referenced by Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4DataVector* XrayFluoRunAction::data
private

Definition at line 104 of file XrayFluoRunAction.hh.

Referenced by GetData(), GetDataSum(), Initialise(), and ReadData().

const XrayFluoDataSet* XrayFluoRunAction::dataAlphaSet
private

Definition at line 98 of file XrayFluoRunAction.hh.

Referenced by GetAlphaSet().

const XrayFluoDataSet* XrayFluoRunAction::dataGammaSet
private

Definition at line 95 of file XrayFluoRunAction.hh.

Referenced by GetGammaSet(), and Initialise().

const XrayFluoDataSet* XrayFluoRunAction::dataSet
private

Definition at line 92 of file XrayFluoRunAction.hh.

Referenced by GetSet().

G4DataVector* XrayFluoRunAction::energies
private

Definition at line 101 of file XrayFluoRunAction.hh.

Referenced by GetEnergies(), Initialise(), and ReadData().

G4bool XrayFluoRunAction::isInitialized
private

Definition at line 90 of file XrayFluoRunAction.hh.

Referenced by BeginOfRunAction(), and Initialise().


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