#include <EventAction.h>
Public Member Functions | |
void | abortEvent () |
void | addTkCaloStateInfo (uint32_t t, const std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > &p) |
void | addTrack (TrackWithHistory *iTrack, bool inHistory, bool withAncestor) |
void | BeginOfEventAction (const G4Event *evt) |
void | EndOfEventAction (const G4Event *evt) |
EventAction (const edm::ParameterSet &ps, SimRunInterface *, SimTrackManager *) | |
void | prepareForNewPrimary () |
const TrackContainer * | trackContainer () const |
~EventAction () | |
Public Attributes | |
SimActivityRegistry::BeginOfEventSignal | m_beginOfEventSignal |
SimActivityRegistry::EndOfEventSignal | m_endOfEventSignal |
Private Attributes | |
bool | m_debug |
SimRunInterface * | m_runInterface |
std::string | m_stopFile |
SimTrackManager * | m_trackManager |
Definition at line 24 of file EventAction.h.
EventAction::EventAction | ( | const edm::ParameterSet & | ps, |
SimRunInterface * | rm, | ||
SimTrackManager * | iManager | ||
) |
Definition at line 15 of file EventAction.cc.
References edm::ParameterSet::getParameter(), m_trackManager, and SimTrackManager::setCollapsePrimaryVertices().
EventAction::~EventAction | ( | ) |
Definition at line 26 of file EventAction.cc.
void EventAction::abortEvent | ( | ) |
Definition at line 96 of file EventAction.cc.
References SimRunInterface::abortEvent(), and m_runInterface.
void EventAction::addTkCaloStateInfo | ( | uint32_t | t, |
const std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > & | p | ||
) |
Definition at line 90 of file EventAction.cc.
References SimTrackManager::addTkCaloStateInfo(), m_trackManager, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by TrackingAction::PostUserTrackingAction(), and SteppingAction::UserSteppingAction().
void EventAction::addTrack | ( | TrackWithHistory * | iTrack, |
bool | inHistory, | ||
bool | withAncestor | ||
) |
Definition at line 85 of file EventAction.cc.
References SimTrackManager::addTrack(), and m_trackManager.
Referenced by TrackingAction::PostUserTrackingAction().
void EventAction::BeginOfEventAction | ( | const G4Event * | evt | ) |
Definition at line 28 of file EventAction.cc.
References SimRunInterface::abortRun(), alignCSCRings::e, m_beginOfEventSignal, m_runInterface, m_stopFile, m_trackManager, and SimTrackManager::reset().
void EventAction::EndOfEventAction | ( | const G4Event * | evt | ) |
Definition at line 48 of file EventAction.cc.
References SimRunInterface::abortRun(), SimTrackManager::cleanTkCaloStateInfoMap(), SimTrackManager::deleteTracks(), alignCSCRings::e, m_endOfEventSignal, m_runInterface, m_stopFile, m_trackManager, SimRunInterface::simEvent(), and SimTrackManager::storeTracks().
|
inline |
Definition at line 43 of file EventAction.h.
References SimTrackManager::cleanTracksWithHistory(), and m_trackManager.
Referenced by TrackingAction::PreUserTrackingAction().
|
inline |
Definition at line 38 of file EventAction.h.
References m_trackManager, and SimTrackManager::trackContainer().
Referenced by TrackingAction::PostUserTrackingAction().
SimActivityRegistry::BeginOfEventSignal EventAction::m_beginOfEventSignal |
Definition at line 45 of file EventAction.h.
Referenced by BeginOfEventAction(), RunManager::Connect(), and RunManagerMT::Connect().
|
private |
Definition at line 53 of file EventAction.h.
SimActivityRegistry::EndOfEventSignal EventAction::m_endOfEventSignal |
Definition at line 46 of file EventAction.h.
Referenced by RunManager::Connect(), RunManagerMT::Connect(), and EndOfEventAction().
|
private |
Definition at line 50 of file EventAction.h.
Referenced by abortEvent(), BeginOfEventAction(), and EndOfEventAction().
|
private |
Definition at line 52 of file EventAction.h.
Referenced by BeginOfEventAction(), and EndOfEventAction().
|
private |
Definition at line 51 of file EventAction.h.
Referenced by addTkCaloStateInfo(), addTrack(), BeginOfEventAction(), EndOfEventAction(), EventAction(), prepareForNewPrimary(), and trackContainer().