WCSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Attributes | List of all members
WCSimRunAction Class Reference

#include <WCSimRunAction.hh>

Inheritance diagram for WCSimRunAction:

Public Member Functions

 WCSimRunAction (WCSimDetectorConstruction *, WCSimRandomParameters *)
 
 ~WCSimRunAction ()
 
void BeginOfRunAction (const G4Run *)
 
void EndOfRunAction (const G4Run *)
 
void SetRootFileName (G4String fname)
 
G4String GetRootFileName ()
 
void FillGeoTree ()
 
TTree * GetTree ()
 
TBranch * GetBranch (G4String detectorElement="tank")
 
TTree * GetGeoTree ()
 
TTree * GetOptionsTree ()
 
WCSimRootGeomGetRootGeom ()
 
WCSimRootEventGetRootEvent (G4String detectorElement="tank")
 
WCSimRootOptionsGetRootOptions ()
 
void SetTree (TTree *tree)
 
void SetBranch (TBranch *branchin, G4String detectorElement="tank")
 
void SetGeoTree (TTree *tree)
 
void SetRootEvent (WCSimRootEvent *revent, G4String detectorElement="tank")
 
void SetRootGeom (WCSimRootGeom *rgeom)
 
int GetNumberOfEventsGenerated ()
 
int GetNtuples ()
 
void incrementEventsGenerated ()
 
void incrementWaterTubeHits ()
 
void incrementFVWaterTubeHits ()
 
void incrementCatcherHits ()
 
void SetNtuples (int ntup)
 
void SetUseTimer (bool use)
 

Private Attributes

std::string RootFileName
 
TTree * WCSimTree
 
TBranch * wcsimrooteventbranch
 
TBranch * wcsimrooteventbranch_OD
 
TTree * geoTree
 
TTree * optionsTree
 
WCSimRootEventwcsimrootsuperevent
 
WCSimRootEventwcsimrootsuperevent_OD
 
WCSimRootGeomwcsimrootgeom
 
WCSimRootOptionswcsimrootoptions
 
WCSimDetectorConstructionwcsimdetector
 
WCSimRandomParameterswcsimrandomparameters
 
int numberOfEventsGenerated
 
int numberOfTimesWaterTubeHit
 
int numberOfTimesFVWaterTubeHit
 
int numberOfTimesCatcherHit
 
WCSimRunActionMessengermessenger
 
int ntuples
 
bool useTimer
 Use the timer? Set by Messenger. More...
 
TStopwatch timer
 A timer for runtime analysis. More...
 

Detailed Description

Definition at line 20 of file WCSimRunAction.hh.

Constructor & Destructor Documentation

WCSimRunAction::WCSimRunAction ( WCSimDetectorConstruction test,
WCSimRandomParameters rand 
)

Definition at line 28 of file WCSimRunAction.cc.

WCSimRunAction::~WCSimRunAction ( )

Definition at line 40 of file WCSimRunAction.cc.

Member Function Documentation

void WCSimRunAction::BeginOfRunAction ( const G4Run *  )

Definition at line 45 of file WCSimRunAction.cc.

void WCSimRunAction::EndOfRunAction ( const G4Run *  )

Definition at line 108 of file WCSimRunAction.cc.

void WCSimRunAction::FillGeoTree ( )

Definition at line 149 of file WCSimRunAction.cc.

TBranch* WCSimRunAction::GetBranch ( G4String  detectorElement = "tank")
inline

Definition at line 33 of file WCSimRunAction.hh.

TTree* WCSimRunAction::GetGeoTree ( )
inline

Definition at line 38 of file WCSimRunAction.hh.

int WCSimRunAction::GetNtuples ( )
inline

Definition at line 62 of file WCSimRunAction.hh.

int WCSimRunAction::GetNumberOfEventsGenerated ( )
inline

Definition at line 61 of file WCSimRunAction.hh.

TTree* WCSimRunAction::GetOptionsTree ( )
inline

Definition at line 39 of file WCSimRunAction.hh.

WCSimRootEvent* WCSimRunAction::GetRootEvent ( G4String  detectorElement = "tank")
inline

Definition at line 42 of file WCSimRunAction.hh.

G4String WCSimRunAction::GetRootFileName ( )
inline

Definition at line 30 of file WCSimRunAction.hh.

WCSimRootGeom* WCSimRunAction::GetRootGeom ( )
inline

Definition at line 40 of file WCSimRunAction.hh.

WCSimRootOptions* WCSimRunAction::GetRootOptions ( )
inline

Definition at line 46 of file WCSimRunAction.hh.

TTree* WCSimRunAction::GetTree ( )
inline

Definition at line 32 of file WCSimRunAction.hh.

void WCSimRunAction::incrementCatcherHits ( )
inline

Definition at line 67 of file WCSimRunAction.hh.

void WCSimRunAction::incrementEventsGenerated ( )
inline

Definition at line 64 of file WCSimRunAction.hh.

void WCSimRunAction::incrementFVWaterTubeHits ( )
inline

Definition at line 66 of file WCSimRunAction.hh.

void WCSimRunAction::incrementWaterTubeHits ( )
inline

Definition at line 65 of file WCSimRunAction.hh.

void WCSimRunAction::SetBranch ( TBranch *  branchin,
G4String  detectorElement = "tank" 
)
inline

Definition at line 50 of file WCSimRunAction.hh.

void WCSimRunAction::SetGeoTree ( TTree *  tree)
inline

Definition at line 54 of file WCSimRunAction.hh.

void WCSimRunAction::SetNtuples ( int  ntup)
inline

Definition at line 68 of file WCSimRunAction.hh.

void WCSimRunAction::SetRootEvent ( WCSimRootEvent revent,
G4String  detectorElement = "tank" 
)
inline

Definition at line 55 of file WCSimRunAction.hh.

void WCSimRunAction::SetRootFileName ( G4String  fname)
inline

Definition at line 29 of file WCSimRunAction.hh.

void WCSimRunAction::SetRootGeom ( WCSimRootGeom rgeom)
inline

Definition at line 59 of file WCSimRunAction.hh.

void WCSimRunAction::SetTree ( TTree *  tree)
inline

Definition at line 49 of file WCSimRunAction.hh.

void WCSimRunAction::SetUseTimer ( bool  use)
inline

Definition at line 70 of file WCSimRunAction.hh.

Member Data Documentation

TTree* WCSimRunAction::geoTree
private

Definition at line 79 of file WCSimRunAction.hh.

WCSimRunActionMessenger* WCSimRunAction::messenger
private

Definition at line 93 of file WCSimRunAction.hh.

int WCSimRunAction::ntuples
private

Definition at line 94 of file WCSimRunAction.hh.

int WCSimRunAction::numberOfEventsGenerated
private

Definition at line 88 of file WCSimRunAction.hh.

int WCSimRunAction::numberOfTimesCatcherHit
private

Definition at line 91 of file WCSimRunAction.hh.

int WCSimRunAction::numberOfTimesFVWaterTubeHit
private

Definition at line 90 of file WCSimRunAction.hh.

int WCSimRunAction::numberOfTimesWaterTubeHit
private

Definition at line 89 of file WCSimRunAction.hh.

TTree* WCSimRunAction::optionsTree
private

Definition at line 80 of file WCSimRunAction.hh.

std::string WCSimRunAction::RootFileName
private

Definition at line 74 of file WCSimRunAction.hh.

TStopwatch WCSimRunAction::timer
private

A timer for runtime analysis.

Definition at line 97 of file WCSimRunAction.hh.

bool WCSimRunAction::useTimer
private

Use the timer? Set by Messenger.

Definition at line 96 of file WCSimRunAction.hh.

WCSimDetectorConstruction* WCSimRunAction::wcsimdetector
private

Definition at line 85 of file WCSimRunAction.hh.

WCSimRandomParameters* WCSimRunAction::wcsimrandomparameters
private

Definition at line 86 of file WCSimRunAction.hh.

TBranch* WCSimRunAction::wcsimrooteventbranch
private

Definition at line 77 of file WCSimRunAction.hh.

TBranch* WCSimRunAction::wcsimrooteventbranch_OD
private

Definition at line 78 of file WCSimRunAction.hh.

WCSimRootGeom* WCSimRunAction::wcsimrootgeom
private

Definition at line 83 of file WCSimRunAction.hh.

WCSimRootOptions* WCSimRunAction::wcsimrootoptions
private

Definition at line 84 of file WCSimRunAction.hh.

WCSimRootEvent* WCSimRunAction::wcsimrootsuperevent
private

Definition at line 81 of file WCSimRunAction.hh.

WCSimRootEvent* WCSimRunAction::wcsimrootsuperevent_OD
private

Definition at line 82 of file WCSimRunAction.hh.

TTree* WCSimRunAction::WCSimTree
private

Definition at line 76 of file WCSimRunAction.hh.


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