17 m_trackManager(iManager),
18 m_stopFile(p.getParameter<std::string>(
"StopFile")),
19 m_debug(p.getUntrackedParameter<bool>(
"debug",
false))
30 cout <<
"BeginOfEventAction: termination signal received at event "
31 << anEvent->GetEventID() << endl;
46 cout <<
"EndOfEventAction: termination signal received at event "
47 << anEvent->GetEventID() << endl;
51 if (anEvent->GetNumberOfPrimaryVertex()==0)
53 cout <<
" EndOfEventAction: event " << anEvent->GetEventID()
54 <<
" must have failed (no G4PrimaryVertices found) and will be skipped " << endl;
void addTrack(TrackWithHistory *iTrack, bool inHistory, bool withAncestor)
T getParameter(std::string const &) const
RunManager * m_runManager
void abortRun(bool softAbort=false)
void addTkCaloStateInfo(uint32_t t, std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > p)
SimActivityRegistry::EndOfEventSignal m_endOfEventSignal
void EndOfEventAction(const G4Event *evt)
void cleanTkCaloStateInfoMap()
void BeginOfEventAction(const G4Event *evt)
void storeTracks(G4SimEvent *simEvent)
EventAction(const edm::ParameterSet &ps, RunManager *, SimTrackManager *)
SimTrackManager * m_trackManager
void addTrack(TrackWithHistory *iTrack, bool inHistory, bool withAncestor)
void setCollapsePrimaryVertices(bool iSet)
SimActivityRegistry::BeginOfEventSignal m_beginOfEventSignal
void addTkCaloStateInfo(uint32_t t, std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > p)