12 #include "Randomize.hh" 19 m_trackManager(iManager),
20 m_SteppingVerbose(
sv),
21 m_stopFile(
p.getParameter<
std::
string>(
"StopFile")),
22 m_printRandom(
p.getParameter<
bool>(
"PrintRandomSeed")),
23 m_debug(
p.getUntrackedParameter<
bool>(
"debug",
false)) {}
33 <<
"BeginOfEvent " << anEvent->GetEventID() <<
" Random number: " << G4UniformRand();
44 <<
" EndOfEvent " << anEvent->GetEventID() <<
" Random number: " << G4UniformRand();
48 <<
"EndOfEventAction: termination signal received at event " << anEvent->GetEventID();
52 if (anEvent->GetNumberOfPrimaryVertex() == 0) {
53 edm::LogWarning(
"SimG4CoreApplication") <<
"EndOfEventAction: event " << anEvent->GetEventID()
54 <<
" must have failed (no G4PrimaryVertices found) and will be skipped ";
Log< level::Info, true > LogVerbatim
void beginOfEvent(const G4Event *)
SimRunInterface * m_runInterface
SimActivityRegistry::EndOfEventSignal m_endOfEventSignal
void BeginOfEventAction(const G4Event *evt) override
void abortRun(bool softAbort)
CMSSteppingVerbose * m_SteppingVerbose
void EndOfEventAction(const G4Event *evt) override
SimTrackManager * m_trackManager
EventAction(const edm::ParameterSet &ps, SimRunInterface *, SimTrackManager *, CMSSteppingVerbose *)
Log< level::Warning, false > LogWarning
SimActivityRegistry::BeginOfEventSignal m_beginOfEventSignal