#include <LCDG4RunAction.hh>
Inheritance diagram for LCDG4RunAction:


Public Member Functions | |
| LCDG4RunAction (char *xml_file) | |
| ~LCDG4RunAction () | |
| void | BeginOfRunAction (const G4Run *) |
| void | EndOfRunAction (const G4Run *) |
Private Attributes | |
| char * | detname |
|
|
Definition at line 20 of file LCDG4RunAction.cc. References detname.
00020 {
00021 // Store the detector name as the name of the xml file
00022 detname = xml_file;
00023 }
|
|
|
Definition at line 26 of file LCDG4RunAction.cc.
00027 {}
|
|
|
Definition at line 29 of file LCDG4RunAction.cc. References LCDG4LcioHelper::beginRun(), detname, and LCDG4LcioHelper::getInstance().
00030 {
00031 G4cout << "### Run " << aRun->GetRunID() << " start." << G4endl;
00032
00033 G4RunManager::GetRunManager()->SetRandomNumberStore(true);
00034
00035 if (G4VVisManager::GetConcreteInstance()) {
00036 G4UImanager* UI = G4UImanager::GetUIpointer();
00037 UI->ApplyCommand("/vis/scene/notifyHandlers");
00038 }
00039
00040 LCDG4LcioHelper::getInstance()->beginRun(aRun, detname);
00041 }
|
|
|
Definition at line 43 of file LCDG4RunAction.cc. References LCDG4LcioHelper::endRun(), and LCDG4LcioHelper::getInstance().
00043 {
00044 if (G4VVisManager::GetConcreteInstance()) {
00045 G4UImanager::GetUIpointer()->ApplyCommand("/vis/viewer/update");
00046 }
00047
00048 // LCIO cleanup
00049 LCDG4LcioHelper::getInstance()->endRun();
00050 }
|
|
|
Definition at line 29 of file LCDG4RunAction.hh. Referenced by BeginOfRunAction(), and LCDG4RunAction(). |
1.3.4