#include <EventAction.hh>
Inherits G4UserEventAction.
Definition at line 55 of file EventAction.hh.
EventAction::EventAction |
( |
| ) |
|
EventAction::~EventAction |
( |
| ) |
|
|
virtual |
void EventAction::AddEventToDebug |
( |
G4int |
val | ) |
|
|
inline |
void EventAction::BeginOfEventAction |
( |
const G4Event * |
evt | ) |
|
|
virtual |
Definition at line 70 of file EventAction.cc.
References fDebugStarted, fPrintModulo, fSelected, fSelectedEvents, and UI.
73 G4int nEvt = evt->GetEventID();
78 UI->ApplyCommand(
"/random/saveThisEvent");
79 UI->ApplyCommand(
"/tracking/verbose 2");
88 G4cout <<
"EventAction: Event # "
89 << nEvt <<
" started" << G4endl;
std::vector< G4int > fSelectedEvents
void EventAction::EndOfEventAction |
( |
const G4Event * |
| ) |
|
|
virtual |
Definition at line 95 of file EventAction.cc.
References fDebugStarted, and UI.
98 UI->ApplyCommand(
"/tracking/verbose 0");
100 G4cout <<
"EventAction: Event ended" << G4endl;
void EventAction::SetPrintModulo |
( |
G4int |
val | ) |
|
|
inline |
G4bool EventAction::fDebugStarted |
|
private |
G4int EventAction::fPrintModulo |
|
private |
G4int EventAction::fSelected |
|
private |
std::vector<G4int> EventAction::fSelectedEvents |
|
private |
G4UImanager* EventAction::UI |
|
private |
The documentation for this class was generated from the following files: