#include <EventAction.h>
Public Member Functions | |
void | addTkCaloStateInfo (uint32_t t, 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::addTkCaloStateInfo | ( | uint32_t | t, |
std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > | p | ||
) |
Definition at line 74 of file EventAction.cc.
References SimTrackManager::addTkCaloStateInfo(), and m_trackManager.
Referenced by TrackingAction::PostUserTrackingAction(), and SteppingAction::UserSteppingAction().
void EventAction::addTrack | ( | TrackWithHistory * | iTrack, |
bool | inHistory, | ||
bool | withAncestor | ||
) |
Definition at line 69 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 41 of file EventAction.h.
References SimTrackManager::cleanTracksWithHistory(), and m_trackManager.
Referenced by TrackingAction::PreUserTrackingAction().
|
inline |
Definition at line 36 of file EventAction.h.
References m_trackManager, and SimTrackManager::trackContainer().
Referenced by TrackingAction::PostUserTrackingAction().
SimActivityRegistry::BeginOfEventSignal EventAction::m_beginOfEventSignal |
Definition at line 43 of file EventAction.h.
Referenced by BeginOfEventAction(), and RunManager::initializeUserActions().
|
private |
Definition at line 51 of file EventAction.h.
SimActivityRegistry::EndOfEventSignal EventAction::m_endOfEventSignal |
Definition at line 44 of file EventAction.h.
Referenced by EndOfEventAction(), and RunManager::initializeUserActions().
|
private |
Definition at line 48 of file EventAction.h.
Referenced by BeginOfEventAction(), and EndOfEventAction().
|
private |
Definition at line 50 of file EventAction.h.
Referenced by BeginOfEventAction(), and EndOfEventAction().
|
private |
Definition at line 49 of file EventAction.h.
Referenced by addTkCaloStateInfo(), addTrack(), BeginOfEventAction(), EndOfEventAction(), EventAction(), prepareForNewPrimary(), and trackContainer().