Go to the documentation of this file. 1 #ifndef SimG4Core_EventAction_H
2 #define SimG4Core_EventAction_H
12 #include "G4UserEventAction.hh"
42 void addTkCaloStateInfo(uint32_t
t,
const std::pair<math::XYZVectorD, math::XYZTLorentzVectorD>&
p);
const TrackContainer * trackContainer() const
SimActivityRegistry::BeginOfEventSignal m_beginOfEventSignal
SimActivityRegistry::EndOfEventSignal m_endOfEventSignal
bool trackExists(unsigned int i) const
void BeginOfEventAction(const G4Event *evt) override
void prepareForNewPrimary()
SimRunInterface * m_runInterface
CMSSteppingVerbose * m_SteppingVerbose
void addTrack(TrackWithHistory *iTrack, bool inHistory, bool withAncestor)
TrackWithHistory * getTrackByID(unsigned int trackID, bool strict=false) const
void cleanTracksWithHistory()
void EndOfEventAction(const G4Event *evt) override
std::vector< TrackWithHistory * > TrackContainer
SimTrackManager * m_trackManager
void addTkCaloStateInfo(uint32_t t, const std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > &p)
TrackWithHistory * getTrackByID(unsigned int id) const
EventAction(const edm::ParameterSet &ps, SimRunInterface *, SimTrackManager *, CMSSteppingVerbose *)
bool trackExists(unsigned int id) const
void addTrack(TrackWithHistory *iTrack, bool inHistory, bool withAncestor)
const TrackContainer * trackContainer() const