RunAction class based on G4UserRunAction. More...
#include <RunAction.h>


Public Member Functions | |
| RunAction () | |
| Constructor.   | |
| ~RunAction () | |
| Destructor.   | |
| void | BeginOfRunAction (const G4Run *run) | 
| Routine to perform various actions at the start of a run.   | |
| void | EndOfRunAction (const G4Run *run) | 
| Routine to perform various actions at the end of a run.   | |
Static Private Attributes | |
| static TFile * | File = 0 | 
| Pointer to file for MC data.   | |
| static G4Timer * | Timer = new G4Timer() | 
| Timer to record duration of run.   | |
| static TTree * | Tree = 0 | 
| Pointer to TTree for MC data.   | |
Friends | |
| class | EventAction | 
RunAction class based on G4UserRunAction.
Definition at line 32 of file RunAction.h.
| RunAction::RunAction | ( | ) | 
Constructor.
Definition at line 53 of file RunAction.cc.
| RunAction::~RunAction | ( | ) | 
Destructor.
Definition at line 57 of file RunAction.cc.
| void RunAction::BeginOfRunAction | ( | const G4Run * | run ) | 
Routine to perform various actions at the start of a run.
Definition at line 61 of file RunAction.cc.
| void RunAction::EndOfRunAction | ( | const G4Run * | run ) | 
Routine to perform various actions at the end of a run.
Definition at line 103 of file RunAction.cc.
friend class EventAction [friend] | 
        
Definition at line 58 of file RunAction.h.
TFile * RunAction::File = 0 [static, private] | 
        
Pointer to file for MC data.
Definition at line 62 of file RunAction.h.
G4Timer * RunAction::Timer = new G4Timer() [static, private] | 
        
Timer to record duration of run.
Definition at line 60 of file RunAction.h.
TTree * RunAction::Tree = 0 [static, private] | 
        
Pointer to TTree for MC data.
Definition at line 64 of file RunAction.h.
Referenced by EventAction::EndOfEventAction().
 1.7.2