Geant4  10.01.p03
exrdmAnalysisManager Class Reference

#include <exrdmAnalysisManager.hh>

+ Collaboration diagram for exrdmAnalysisManager:

Public Member Functions

void BookHisto ()
 
void BeginOfRun ()
 
void EndOfRun (G4int)
 
void BeginOfEvent ()
 
void EndOfEvent ()
 
void AddParticle (G4double, G4double, G4double, G4double)
 
void AddIsotope (G4double, G4double, G4double)
 
void AddEnergy (G4double, G4double, G4double)
 
void AddDecayProduct (G4double pid, G4int Z, G4int A, G4double energy, G4double time, G4double weight)
 
void SetVerbose (G4int val)
 
G4int GetVerbose () const
 
void SetFirstEventToDebug (G4int val)
 
G4int FirstEventToDebug () const
 
void SetLastEventToDebug (G4int val)
 
G4int LastEventToDebug () const
 
void SetMaxEnergyforHisto (G4double val)
 
G4double GetMaxEnergyforHisto () const
 
void SetMinEnergyforHisto (G4double val)
 
G4double GetMinEnergyforHisto () const
 
void SetNumBinforHisto (G4int val)
 
G4int GeNumBinforHisto () const
 
void SetThresholdEnergyforTarget (G4double val)
 
G4double GetThresholdEnergyforTarget () const
 
void SetThresholdEnergyforDetector (G4double val)
 
G4double GetThresholdEnergyforDetector () const
 
void SetPulseWidth (G4double val)
 
G4double GetPulseWidth () const
 

Static Public Member Functions

static exrdmAnalysisManagerGetInstance ()
 
static void Dispose ()
 

Private Member Functions

 exrdmAnalysisManager ()
 
 ~exrdmAnalysisManager ()
 

Private Attributes

G4int fVerbose
 
G4int fNEvt1
 
G4int fNEvt2
 
G4double fHistEMax
 
G4double fHistEMin
 
G4int fHistNBin
 
G4double fTargetThresE
 
G4double fDetectorThresE
 
G4double fPulseWidth
 
std::vector
< exrdmEnergyDeposition
fEdepo
 
exrdmHistofHisto
 

Static Private Attributes

static exrdmAnalysisManagerfManager = 0
 

Detailed Description

Definition at line 61 of file exrdmAnalysisManager.hh.

Constructor & Destructor Documentation

exrdmAnalysisManager::exrdmAnalysisManager ( )
private

Definition at line 67 of file exrdmAnalysisManager.cc.

References BookHisto(), fEdepo, and fHisto.

Referenced by GetInstance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

exrdmAnalysisManager::~exrdmAnalysisManager ( )
private

Definition at line 79 of file exrdmAnalysisManager.cc.

References fHisto.

Member Function Documentation

void exrdmAnalysisManager::AddDecayProduct ( G4double  pid,
G4int  Z,
G4int  A,
G4double  energy,
G4double  time,
G4double  weight 
)

Definition at line 329 of file exrdmAnalysisManager.cc.

References exrdmHisto::AddRow(), fHisto, exrdmHisto::FillTuple(), and s.

Referenced by exrdmSteppingAction::UserSteppingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void exrdmAnalysisManager::AddEnergy ( G4double  edep,
G4double  weight,
G4double  time 
)

Definition at line 279 of file exrdmAnalysisManager.cc.

References A, exrdmHisto::AddRow(), fEdepo, fHisto, exrdmHisto::FillTuple(), fVerbose, G4cout, G4endl, keV, MeV, and second.

Referenced by EndOfEvent(), and exrdmSteppingAction::UserSteppingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void exrdmAnalysisManager::AddIsotope ( G4double  pid,
G4double  weight,
G4double  time 
)

Definition at line 315 of file exrdmAnalysisManager.cc.

References exrdmHisto::AddRow(), fHisto, exrdmHisto::FillTuple(), fVerbose, G4cout, G4endl, and second.

Referenced by exrdmSteppingAction::UserSteppingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void exrdmAnalysisManager::AddParticle ( G4double  pid,
G4double  energy,
G4double  weight,
G4double  time 
)

Definition at line 298 of file exrdmAnalysisManager.cc.

References exrdmHisto::AddRow(), fHisto, exrdmHisto::FillHisto(), exrdmHisto::FillTuple(), fVerbose, G4cout, G4endl, MeV, and second.

Referenced by exrdmSteppingAction::UserSteppingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void exrdmAnalysisManager::BeginOfEvent ( )

Definition at line 196 of file exrdmAnalysisManager.cc.

References fEdepo.

Referenced by exrdmEventAction::BeginOfEventAction().

+ Here is the caller graph for this function:

void exrdmAnalysisManager::BeginOfRun ( )

Definition at line 130 of file exrdmAnalysisManager.cc.

References exrdmHisto::Book(), fHisto, G4ProcessTable::FindProcess(), G4cout, G4endl, G4ProcessTable::GetProcessTable(), G4RadioactiveDecay::GetTheRadioactivityTables(), and G4RadioactiveDecay::IsAnalogueMonteCarlo().

Referenced by exrdmRunAction::BeginOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void exrdmAnalysisManager::BookHisto ( )

Definition at line 94 of file exrdmAnalysisManager.cc.

References exrdmHisto::Add1D(), exrdmHisto::AddTuple(), fHistEMax, fHistEMin, fHistNBin, fHisto, and MeV.

Referenced by exrdmAnalysisManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void exrdmAnalysisManager::Dispose ( )
static

Definition at line 59 of file exrdmAnalysisManager.cc.

References fManager.

Referenced by main().

+ Here is the caller graph for this function:

void exrdmAnalysisManager::EndOfEvent ( )

Definition at line 203 of file exrdmAnalysisManager.cc.

References AddEnergy(), fDetectorThresE, fEdepo, fHisto, exrdmHisto::FillHisto(), fPulseWidth, and fTargetThresE.

Referenced by exrdmEventAction::EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void exrdmAnalysisManager::EndOfRun ( G4int  nevent)

Definition at line 155 of file exrdmAnalysisManager.cc.

References error, fHisto, G4ProcessTable::FindProcess(), G4cout, G4endl, exrdmHisto::GetFileName(), G4ProcessTable::GetProcessTable(), G4RadioactiveDecay::GetTheRadioactivityTables(), G4RadioactiveDecay::IsAnalogueMonteCarlo(), and exrdmHisto::Save().

Referenced by exrdmRunAction::EndOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int exrdmAnalysisManager::FirstEventToDebug ( ) const
inline

Definition at line 95 of file exrdmAnalysisManager.hh.

References fNEvt1.

G4int exrdmAnalysisManager::GeNumBinforHisto ( ) const
inline

Definition at line 104 of file exrdmAnalysisManager.hh.

References fHistNBin.

exrdmAnalysisManager * exrdmAnalysisManager::GetInstance ( void  )
static

Definition at line 52 of file exrdmAnalysisManager.cc.

References exrdmAnalysisManager(), and fManager.

Referenced by exrdmEventAction::BeginOfEventAction(), exrdmRunAction::BeginOfRunAction(), exrdmEventAction::EndOfEventAction(), exrdmRunAction::EndOfRunAction(), main(), and exrdmSteppingAction::UserSteppingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double exrdmAnalysisManager::GetMaxEnergyforHisto ( ) const
inline

Definition at line 100 of file exrdmAnalysisManager.hh.

References fHistEMax.

G4double exrdmAnalysisManager::GetMinEnergyforHisto ( ) const
inline

Definition at line 102 of file exrdmAnalysisManager.hh.

References fHistEMin.

G4double exrdmAnalysisManager::GetPulseWidth ( ) const
inline

Definition at line 111 of file exrdmAnalysisManager.hh.

References fPulseWidth.

G4double exrdmAnalysisManager::GetThresholdEnergyforDetector ( ) const
inline

Definition at line 109 of file exrdmAnalysisManager.hh.

References fDetectorThresE.

G4double exrdmAnalysisManager::GetThresholdEnergyforTarget ( ) const
inline

Definition at line 107 of file exrdmAnalysisManager.hh.

References fTargetThresE.

G4int exrdmAnalysisManager::GetVerbose ( ) const
inline

Definition at line 92 of file exrdmAnalysisManager.hh.

References fVerbose.

G4int exrdmAnalysisManager::LastEventToDebug ( ) const
inline

Definition at line 97 of file exrdmAnalysisManager.hh.

References fNEvt2.

void exrdmAnalysisManager::SetFirstEventToDebug ( G4int  val)
inline

Definition at line 94 of file exrdmAnalysisManager.hh.

References fNEvt1.

void exrdmAnalysisManager::SetLastEventToDebug ( G4int  val)
inline

Definition at line 96 of file exrdmAnalysisManager.hh.

References fNEvt2.

void exrdmAnalysisManager::SetMaxEnergyforHisto ( G4double  val)
inline

Definition at line 99 of file exrdmAnalysisManager.hh.

References fHistEMax.

void exrdmAnalysisManager::SetMinEnergyforHisto ( G4double  val)
inline

Definition at line 101 of file exrdmAnalysisManager.hh.

References fHistEMin.

void exrdmAnalysisManager::SetNumBinforHisto ( G4int  val)
inline

Definition at line 103 of file exrdmAnalysisManager.hh.

References fHistNBin.

void exrdmAnalysisManager::SetPulseWidth ( G4double  val)
inline

Definition at line 110 of file exrdmAnalysisManager.hh.

References fPulseWidth.

void exrdmAnalysisManager::SetThresholdEnergyforDetector ( G4double  val)
inline

Definition at line 108 of file exrdmAnalysisManager.hh.

References fDetectorThresE.

void exrdmAnalysisManager::SetThresholdEnergyforTarget ( G4double  val)
inline

Definition at line 106 of file exrdmAnalysisManager.hh.

References fTargetThresE.

void exrdmAnalysisManager::SetVerbose ( G4int  val)
inline

Definition at line 91 of file exrdmAnalysisManager.hh.

References fVerbose.

Member Data Documentation

G4double exrdmAnalysisManager::fDetectorThresE
private
std::vector<exrdmEnergyDeposition> exrdmAnalysisManager::fEdepo
private

Definition at line 131 of file exrdmAnalysisManager.hh.

Referenced by AddEnergy(), BeginOfEvent(), EndOfEvent(), and exrdmAnalysisManager().

G4double exrdmAnalysisManager::fHistEMax
private

Definition at line 122 of file exrdmAnalysisManager.hh.

Referenced by BookHisto(), GetMaxEnergyforHisto(), and SetMaxEnergyforHisto().

G4double exrdmAnalysisManager::fHistEMin
private

Definition at line 123 of file exrdmAnalysisManager.hh.

Referenced by BookHisto(), GetMinEnergyforHisto(), and SetMinEnergyforHisto().

G4int exrdmAnalysisManager::fHistNBin
private

Definition at line 124 of file exrdmAnalysisManager.hh.

Referenced by BookHisto(), GeNumBinforHisto(), and SetNumBinforHisto().

exrdmAnalysisManager * exrdmAnalysisManager::fManager = 0
staticprivate

Definition at line 111 of file exrdmAnalysisManager.hh.

Referenced by Dispose(), and GetInstance().

G4int exrdmAnalysisManager::fNEvt1
private

Definition at line 119 of file exrdmAnalysisManager.hh.

Referenced by FirstEventToDebug(), and SetFirstEventToDebug().

G4int exrdmAnalysisManager::fNEvt2
private

Definition at line 120 of file exrdmAnalysisManager.hh.

Referenced by LastEventToDebug(), and SetLastEventToDebug().

G4double exrdmAnalysisManager::fPulseWidth
private

Definition at line 128 of file exrdmAnalysisManager.hh.

Referenced by EndOfEvent(), GetPulseWidth(), and SetPulseWidth().

G4double exrdmAnalysisManager::fTargetThresE
private
G4int exrdmAnalysisManager::fVerbose
private

Definition at line 118 of file exrdmAnalysisManager.hh.

Referenced by AddEnergy(), AddIsotope(), AddParticle(), GetVerbose(), and SetVerbose().


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