Geant4  10.03
ElectronRunAction Class Reference

#include <ElectronRunAction.hh>

+ Inheritance diagram for ElectronRunAction:
+ Collaboration diagram for ElectronRunAction:

Public Member Functions

 ElectronRunAction (const G4String &)
 
virtual ~ElectronRunAction ()
 
virtual G4RunGenerateRun ()
 
virtual void EndOfRunAction (const G4Run *)
 
- Public Member Functions inherited from G4UserRunAction
 G4UserRunAction ()
 
virtual ~G4UserRunAction ()
 
virtual void BeginOfRunAction (const G4Run *aRun)
 
virtual void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Private Attributes

G4String fOutputFileSpec
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 41 of file ElectronRunAction.hh.

Constructor & Destructor Documentation

ElectronRunAction::ElectronRunAction ( const G4String outputFile)

Definition at line 39 of file ElectronRunAction.cc.

References G4RunManager::GetRunManager(), and G4RunManager::SetPrintProgress().

+ Here is the call graph for this function:

ElectronRunAction::~ElectronRunAction ( )
virtual

Definition at line 47 of file ElectronRunAction.cc.

Member Function Documentation

void ElectronRunAction::EndOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 59 of file ElectronRunAction.cc.

References ElectronRun::DumpData(), fOutputFileSpec, G4cout, G4endl, and G4Run::GetNumberOfEvent().

+ Here is the call graph for this function:

G4Run * ElectronRunAction::GenerateRun ( void  )
virtual

Reimplemented from G4UserRunAction.

Definition at line 52 of file ElectronRunAction.cc.

Member Data Documentation

G4String ElectronRunAction::fOutputFileSpec
private

Definition at line 52 of file ElectronRunAction.hh.

Referenced by EndOfRunAction().


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