Geant4  10.03
AnalysisManager Class Reference

#include <AnalysisManager.hh>

+ Collaboration diagram for AnalysisManager:

Public Member Functions

void Score (G4double eDep)
 
 AnalysisManager ()
 
 ~AnalysisManager ()
 
void book ()
 
void SetPrimaryEnergy (G4double energy)
 
void StoreEnergyDeposition (G4double edep)
 
void FillSecondaries (G4int AA, G4double charge, G4double energy)
 
void finish ()
 

Static Public Member Functions

static AnalysisManagerInstance ()
 
static void Destroy ()
 

Protected Member Functions

 AnalysisManager ()
 
virtual ~AnalysisManager ()
 
 AnalysisManager (const AnalysisManager &only)
 
const AnalysisManageroperator= (const AnalysisManager &only)
 

Private Attributes

std::ofstream outFile
 
std::ofstream outFileT
 
G4bool factoryOn
 
G4int fNtColId [MaxNtCol]
 

Static Private Attributes

static AnalysisManagerinstance = 0
 

Detailed Description

Definition at line 34 of file AnalysisManager.hh.

Constructor & Destructor Documentation

AnalysisManager::AnalysisManager ( )
protected

Definition at line 58 of file AnalysisManager.cc.

References outFile.

Referenced by Instance().

+ Here is the caller graph for this function:

AnalysisManager::~AnalysisManager ( )
protectedvirtual

Definition at line 65 of file AnalysisManager.cc.

References outFile, and outFileT.

AnalysisManager::AnalysisManager ( const AnalysisManager only)
protected
AnalysisManager::AnalysisManager ( )
AnalysisManager::~AnalysisManager ( )

Member Function Documentation

void AnalysisManager::book ( )

Definition at line 54 of file AnalysisManager.cc.

References factoryOn, fNtColId, G4cout, and G4endl.

void AnalysisManager::Destroy ( void  )
static

Definition at line 46 of file AnalysisManager.cc.

References instance.

Referenced by eRositaRunAction::EndOfRunAction().

+ Here is the caller graph for this function:

void AnalysisManager::FillSecondaries ( G4int  AA,
G4double  charge,
G4double  energy 
)

Definition at line 112 of file AnalysisManager.cc.

References fNtColId.

void AnalysisManager::finish ( )

Definition at line 122 of file AnalysisManager.cc.

References factoryOn.

AnalysisManager * AnalysisManager::Instance ( void  )
static

Definition at line 32 of file AnalysisManager.cc.

References AnalysisManager(), and instance.

Referenced by eRositaRunAction::BeginOfRunAction(), eRositaRunAction::EndOfRunAction(), and eRositaTrackerHit::PrintToFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const AnalysisManager& AnalysisManager::operator= ( const AnalysisManager only)
protected
void AnalysisManager::Score ( G4double  eDep)

Definition at line 72 of file AnalysisManager.cc.

References outFile.

Referenced by eRositaTrackerHit::PrintToFile().

+ Here is the caller graph for this function:

void AnalysisManager::SetPrimaryEnergy ( G4double  energy)

Definition at line 98 of file AnalysisManager.cc.

References fNtColId.

void AnalysisManager::StoreEnergyDeposition ( G4double  edep)

Definition at line 105 of file AnalysisManager.cc.

References fNtColId.

Member Data Documentation

G4bool AnalysisManager::factoryOn
private

Definition at line 60 of file AnalysisManager.hh.

Referenced by book(), and finish().

G4int AnalysisManager::fNtColId[MaxNtCol]
private

Definition at line 61 of file AnalysisManager.hh.

Referenced by book(), FillSecondaries(), SetPrimaryEnergy(), and StoreEnergyDeposition().

AnalysisManager * AnalysisManager::instance = 0
staticprivate

Definition at line 68 of file AnalysisManager.hh.

Referenced by Destroy(), and Instance().

std::ofstream AnalysisManager::outFile
private

Definition at line 69 of file AnalysisManager.hh.

Referenced by AnalysisManager(), Score(), and ~AnalysisManager().

std::ofstream AnalysisManager::outFileT
private

Definition at line 70 of file AnalysisManager.hh.

Referenced by ~AnalysisManager().


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