47 #ifdef G4MULTITHREADED
void EndAnalysis()
Calls the G4AnalysisManager::Instance(). It writes to the output file and close it.
Par02RunAction(const G4String OutName="SimpleOutput")
A default constructor.
void CreateHistograms()
Creates histograms to combine information from all the events in the run. To be called for each run i...
virtual void BeginOfRunAction(const G4Run *)
Defines the actions at the beginning of the run. It starts the analysis (create output root file) and...
virtual ~Par02RunAction()
Definition of the Par02Output class.
static Par02Output * Instance()
Allows the access to the unique Par02Output object.
void StartAnalysis(G4int runID)
Calls the G4AnalysisManager::Instance(). It sets the file name of the output file based on fFileName ...
void SetFileName(G4String name)
Sets the file name of the output root file.
virtual void EndOfRunAction(const G4Run *)
Defines the actions at the end of the run. It ends the analysis (write and close output root file) vi...
Definition of the Par02RunAction class.