Geant4  10.00.p01
DicomRunAction Class Reference

#include <DicomRunAction.hh>

+ Inheritance diagram for DicomRunAction:
+ Collaboration diagram for DicomRunAction:

Public Member Functions

 DicomRunAction ()
 Constructor. More...
 
virtual ~DicomRunAction ()
 Destructor. More...
 
virtual G4RunGenerateRun ()
 
virtual void BeginOfRunAction (const G4Run *)
 
virtual void EndOfRunAction (const G4Run *)
 
DicomRunGetDicomRun () const
 
void PrintHeader (std::ostream *out)
 
std::string FillString (const std::string &name, char c, G4int n, G4bool back=true)
 
- Public Member Functions inherited from G4UserRunAction
 G4UserRunAction ()
 
virtual ~G4UserRunAction ()
 
void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Static Public Member Functions

static DicomRunActionInstance ()
 

Private Attributes

DicomRundcmrun
 
std::vector< G4StringfSDName
 
G4int fFieldValue
 

Static Private Attributes

static DicomRunActionfgInstance = 0
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 42 of file DicomRunAction.hh.

Constructor & Destructor Documentation

DicomRunAction::DicomRunAction ( )

Constructor.

Definition at line 55 of file DicomRunAction.cc.

References fgInstance, and fSDName.

DicomRunAction::~DicomRunAction ( )
virtual

Destructor.

Definition at line 66 of file DicomRunAction.cc.

References fgInstance, and fSDName.

Member Function Documentation

void DicomRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 83 of file DicomRunAction.cc.

References G4cout, G4endl, G4Run::GetRunID(), G4RunManager::GetRunManager(), and G4RunManager::SetRandomNumberStore().

+ Here is the call graph for this function:

void DicomRunAction::EndOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 91 of file DicomRunAction.cc.

References fSDName, G4cout, G4endl, G4Exception(), DicomRun::GetHitsMap(), G4THitsMap< T >::GetMap(), G4Run::GetNumberOfEvent(), G4Run::GetRunID(), gray, G4UserRunAction::IsMaster(), JustWarning, and PrintHeader().

+ Here is the call graph for this function:

std::string DicomRunAction::FillString ( const std::string &  name,
char  c,
G4int  n,
G4bool  back = true 
)

Definition at line 216 of file DicomRunAction.cc.

References name.

G4Run * DicomRunAction::GenerateRun ( void  )
virtual

Reimplemented from G4UserRunAction.

Definition at line 73 of file DicomRunAction.cc.

References dcmrun, and fSDName.

DicomRun* DicomRunAction::GetDicomRun ( ) const
inline

Definition at line 57 of file DicomRunAction.hh.

References dcmrun.

DicomRunAction * DicomRunAction::Instance ( void  )
static

Definition at line 51 of file DicomRunAction.cc.

References fgInstance.

void DicomRunAction::PrintHeader ( std::ostream *  out)

Definition at line 194 of file DicomRunAction.cc.

References fFieldValue, and G4endl.

Referenced by EndOfRunAction().

+ Here is the caller graph for this function:

Member Data Documentation

DicomRun* DicomRunAction::dcmrun
private

Definition at line 65 of file DicomRunAction.hh.

Referenced by GenerateRun(), and GetDicomRun().

G4int DicomRunAction::fFieldValue
private

Definition at line 70 of file DicomRunAction.hh.

Referenced by PrintHeader().

DicomRunAction * DicomRunAction::fgInstance = 0
staticprivate

Definition at line 64 of file DicomRunAction.hh.

Referenced by DicomRunAction(), Instance(), and ~DicomRunAction().

std::vector<G4String> DicomRunAction::fSDName
private

Definition at line 69 of file DicomRunAction.hh.

Referenced by DicomRunAction(), EndOfRunAction(), GenerateRun(), and ~DicomRunAction().


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