11 #include "Randomize.hh" 18 m_trackManager(iManager),
19 m_SteppingVerbose(
sv),
20 m_stopFile(
p.getParameter<
std::
string>(
"StopFile")),
21 m_printRandom(
p.getParameter<
bool>(
"PrintRandomSeed")),
22 m_debug(
p.getUntrackedParameter<
bool>(
"debug",
false)) {
36 <<
"BeginOfEvent " << anEvent->GetEventID() <<
" Random number: " << G4UniformRand();
47 <<
" EndOfEvent " << anEvent->GetEventID() <<
" Random number: " << G4UniformRand();
51 <<
"EndOfEventAction: termination signal received at event " << anEvent->GetEventID();
55 if (anEvent->GetNumberOfPrimaryVertex() == 0) {
56 edm::LogWarning(
"SimG4CoreApplication") <<
"EndOfEventAction: event " << anEvent->GetEventID()
57 <<
" must have failed (no G4PrimaryVertices found) and will be skipped ";
Log< level::Info, true > LogVerbatim
SimRunInterface * m_runInterface
SimActivityRegistry::EndOfEventSignal m_endOfEventSignal
void cleanTkCaloStateInfoMap()
void BeginOfEventAction(const G4Event *evt) override
void addTkCaloStateInfo(uint32_t t, const std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > &p)
void abortRun(bool softAbort)
CMSSteppingVerbose * m_SteppingVerbose
void storeTracks(G4SimEvent *simEvent)
void BeginOfEvent(const G4Event *)
void EndOfEventAction(const G4Event *evt) override
SimTrackManager * m_trackManager
EventAction(const edm::ParameterSet &ps, SimRunInterface *, SimTrackManager *, CMSSteppingVerbose *)
void addTkCaloStateInfo(uint32_t t, const std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > &p)
Log< level::Warning, false > LogWarning
void setCollapsePrimaryVertices(bool iSet)
SimActivityRegistry::BeginOfEventSignal m_beginOfEventSignal