QwGeant4
|
Handling of the output ROOT file. More...
#include <QweakSimAnalysis.hh>
Public Member Functions | |
QweakSimAnalysis (QweakSimUserInformation *) | |
virtual | ~QweakSimAnalysis () |
void | BeginOfRun (const G4Run *aRun) |
void | EndOfRun (const G4Run *aRun) |
void | EndOfEvent (G4int flag) |
void | SetNumberOfEventToBeProcessed (G4int n) |
G4int | GetNumberOfEventToBeProcessed () const |
void | SetRootFileStem (const G4String &stem) |
void | SetRootFileName (const G4String &name) |
void | FillRootNtuple () |
void | AutoSaveRootNtuple () |
Data Fields | |
QweakSimUserMainEvent * | fRootEvent |
Private Member Functions | |
void | ConstructRootNtuple () |
Private Attributes | |
QweakSimAnalysisMessenger * | pAnalysisMessenger |
QweakSimUserInformation * | myUserInfo |
QweakSimUserRunInformation * | pUserRunInformation |
G4String | fRootFileStem |
G4String | fRootFileName |
TTree * | fRootNtuple |
TBranch * | fRootBranch |
TFile * | fRootFile |
Handling of the output ROOT file.
Placeholder for a long explaination
Definition at line 56 of file QweakSimAnalysis.hh.
QweakSimAnalysis::QweakSimAnalysis | ( | QweakSimUserInformation * | userInfo | ) |
Definition at line 35 of file QweakSimAnalysis.cc.
References fRootBranch, fRootEvent, fRootFile, fRootNtuple, myUserInfo, pAnalysisMessenger, and pUserRunInformation.
|
virtual |
Definition at line 58 of file QweakSimAnalysis.cc.
References fRootBranch, fRootEvent, fRootFile, fRootNtuple, and pAnalysisMessenger.
void QweakSimAnalysis::AutoSaveRootNtuple | ( | ) |
Definition at line 143 of file QweakSimAnalysis.cc.
References fRootNtuple.
Referenced by QweakSimEventAction::EndOfEventAction(), and EndOfRun().
void QweakSimAnalysis::BeginOfRun | ( | const G4Run * | aRun | ) |
Definition at line 85 of file QweakSimAnalysis.cc.
References ConstructRootNtuple(), fRootFile, fRootFileName, and fRootFileStem.
Referenced by QweakSimRunAction::BeginOfRunAction().
|
private |
Definition at line 121 of file QweakSimAnalysis.cc.
References fRootBranch, fRootEvent, fRootNtuple, and pUserRunInformation.
Referenced by BeginOfRun().
void QweakSimAnalysis::EndOfEvent | ( | G4int | flag | ) |
Definition at line 114 of file QweakSimAnalysis.cc.
void QweakSimAnalysis::EndOfRun | ( | const G4Run * | aRun | ) |
Definition at line 101 of file QweakSimAnalysis.cc.
References AutoSaveRootNtuple(), fRootFile, and fRootFileName.
Referenced by QweakSimRunAction::EndOfRunAction().
|
inline |
Definition at line 76 of file QweakSimAnalysis.hh.
References fRootNtuple.
Referenced by QweakSimEventAction::EndOfEventAction().
G4int QweakSimAnalysis::GetNumberOfEventToBeProcessed | ( | ) | const |
Definition at line 80 of file QweakSimAnalysis.cc.
References QweakSimUserInformation::GetNumberOfEventToBeProcessed(), and myUserInfo.
void QweakSimAnalysis::SetNumberOfEventToBeProcessed | ( | G4int | n | ) |
Definition at line 77 of file QweakSimAnalysis.cc.
References myUserInfo, and QweakSimUserInformation::SetNumberOfEventToBeProcessed().
Referenced by QweakSimRunAction::BeginOfRunAction().
|
inline |
Definition at line 74 of file QweakSimAnalysis.hh.
References fRootFileName.
Referenced by QweakSimAnalysisMessenger::SetNewValue().
|
inline |
Definition at line 73 of file QweakSimAnalysis.hh.
References fRootFileStem.
Referenced by QweakSimAnalysisMessenger::SetNewValue().
|
private |
Definition at line 95 of file QweakSimAnalysis.hh.
Referenced by ConstructRootNtuple(), QweakSimAnalysis(), and ~QweakSimAnalysis().
QweakSimUserMainEvent* QweakSimAnalysis::fRootEvent |
Definition at line 79 of file QweakSimAnalysis.hh.
Referenced by QweakSimEventAction::CalculateKinematicVariables(), ConstructRootNtuple(), QweakSimEventAction::EndOfEventAction(), QweakSimAnalysis(), and ~QweakSimAnalysis().
|
private |
Definition at line 96 of file QweakSimAnalysis.hh.
Referenced by BeginOfRun(), EndOfRun(), QweakSimAnalysis(), and ~QweakSimAnalysis().
|
private |
Definition at line 90 of file QweakSimAnalysis.hh.
Referenced by BeginOfRun(), EndOfRun(), and SetRootFileName().
|
private |
Definition at line 89 of file QweakSimAnalysis.hh.
Referenced by BeginOfRun(), and SetRootFileStem().
|
private |
Definition at line 94 of file QweakSimAnalysis.hh.
Referenced by AutoSaveRootNtuple(), ConstructRootNtuple(), FillRootNtuple(), QweakSimAnalysis(), and ~QweakSimAnalysis().
|
private |
Definition at line 85 of file QweakSimAnalysis.hh.
Referenced by GetNumberOfEventToBeProcessed(), QweakSimAnalysis(), and SetNumberOfEventToBeProcessed().
|
private |
Definition at line 83 of file QweakSimAnalysis.hh.
Referenced by QweakSimAnalysis(), and ~QweakSimAnalysis().
|
private |
Definition at line 87 of file QweakSimAnalysis.hh.
Referenced by ConstructRootNtuple(), and QweakSimAnalysis().