Geant4  10.00.p01
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)
 
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 38 of file ElectronRunAction.cc.

ElectronRunAction::~ElectronRunAction ( )
virtual

Definition at line 44 of file ElectronRunAction.cc.

Member Function Documentation

void ElectronRunAction::EndOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 56 of file ElectronRunAction.cc.

References assert, 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 49 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: