#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, RunManager *, SimTrackManager *) | |
void | prepareForNewPrimary () |
const TrackContainer * | trackContainer () const |
~EventAction () | |
Public Attributes | |
SimActivityRegistry::BeginOfEventSignal | m_beginOfEventSignal |
SimActivityRegistry::EndOfEventSignal | m_endOfEventSignal |
Private Attributes | |
bool | m_debug |
RunManager * | m_runManager |
std::string | m_stopFile |
SimTrackManager * | m_trackManager |
Definition at line 24 of file EventAction.h.
EventAction::EventAction | ( | const edm::ParameterSet & | ps, |
RunManager * | rm, | ||
SimTrackManager * | iManager | ||
) |
Definition at line 13 of file EventAction.cc.
References edm::ParameterSet::getParameter(), m_trackManager, and SimTrackManager::setCollapsePrimaryVertices().
EventAction::~EventAction | ( | ) |
Definition at line 24 of file EventAction.cc.
void EventAction::abortEvent | ( | ) |
Definition at line 81 of file EventAction.cc.
References RunManager::abortEvent(), and m_runManager.
void EventAction::addTkCaloStateInfo | ( | uint32_t | t, |
const std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > & | p | ||
) |
Definition at line 75 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 70 of file EventAction.cc.
References SimTrackManager::addTrack(), and m_trackManager.
Referenced by TrackingAction::PostUserTrackingAction().
void EventAction::BeginOfEventAction | ( | const G4Event * | evt | ) |
Definition at line 26 of file EventAction.cc.
References RunManager::abortRun(), gather_cfg::cout, alignCSCRings::e, m_beginOfEventSignal, m_runManager, m_stopFile, m_trackManager, and SimTrackManager::reset().
void EventAction::EndOfEventAction | ( | const G4Event * | evt | ) |
Definition at line 42 of file EventAction.cc.
References RunManager::abortRun(), SimTrackManager::cleanTkCaloStateInfoMap(), gather_cfg::cout, SimTrackManager::deleteTracks(), alignCSCRings::e, m_endOfEventSignal, m_runManager, m_stopFile, m_trackManager, RunManager::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(), and RunManager::initializeUserActions().
|
private |
Definition at line 53 of file EventAction.h.
SimActivityRegistry::EndOfEventSignal EventAction::m_endOfEventSignal |
Definition at line 46 of file EventAction.h.
Referenced by EndOfEventAction(), and RunManager::initializeUserActions().
|
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().