Public Member Functions | Static Private Attributes | Friends

RunAction Class Reference

RunAction class based on G4UserRunAction. More...

#include <RunAction.h>

Inheritance diagram for RunAction:
Inheritance graph
[legend]
Collaboration diagram for RunAction:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

RunAction class based on G4UserRunAction.

Definition at line 32 of file RunAction.h.


Constructor & Destructor Documentation

RunAction::RunAction (  )

Constructor.

Definition at line 53 of file RunAction.cc.

RunAction::~RunAction (  )

Destructor.

Definition at line 57 of file RunAction.cc.


Member Function Documentation

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.


Friends And Related Function Documentation

friend class EventAction [friend]

Definition at line 58 of file RunAction.h.


Member Data Documentation

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().


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