#include <CMSSimEventManager.h>
Definition at line 31 of file CMSSimEventManager.h.
◆ CMSSimEventManager() [1/2]
◆ ~CMSSimEventManager()
CMSSimEventManager::~CMSSimEventManager |
( |
| ) |
|
◆ CMSSimEventManager() [2/2]
◆ AbortCurrentEvent()
void CMSSimEventManager::AbortCurrentEvent |
( |
| ) |
|
◆ InitialiseWorker()
void CMSSimEventManager::InitialiseWorker |
( |
| ) |
|
◆ operator=()
◆ ProcessOneEvent()
void CMSSimEventManager::ProcessOneEvent |
( |
G4Event * |
anEvent | ) |
|
Definition at line 41 of file CMSSimEventManager.cc.
References EventAction::BeginOfEventAction(), EventAction::EndOfEventAction(), m_defTrackManager, m_eventAction, m_navigator, m_primaryTransformer, m_sdManager, m_stateManager, m_tracks, StackTracks(), HLT_2024v11_cff::track, trackID_, and verbose_.
47 G4ThreeVector center(0, 0, 0);
48 m_navigator->LocateGlobalPointAndSetup(center,
nullptr,
false);
50 G4Track*
track =
nullptr;
52 anEvent->SetHCofThisEvent(
m_sdManager->PrepareNewEvent());
61 <<
"### Event #" << anEvent->GetEventID() <<
" " <<
trackID_ <<
" primary tracks";
74 m_sdManager->TerminateCurrentEvent(anEvent->GetHCofThisEvent());
Log< level::Info, true > LogVerbatim
G4PrimaryTransformer * m_primaryTransformer
G4TrackingManager * m_defTrackManager
void BeginOfEventAction(const G4Event *evt) override
G4Navigator * m_navigator
void StackTracks(G4TrackVector *, bool IDisSet)
void EndOfEventAction(const G4Event *evt) override
G4StateManager * m_stateManager
EventAction * m_eventAction
G4SDManager * m_sdManager
std::vector< G4Track * > m_tracks
◆ SetUserAction() [1/4]
void CMSSimEventManager::SetUserAction |
( |
EventAction * |
ptr | ) |
|
◆ SetUserAction() [2/4]
◆ SetUserAction() [3/4]
◆ SetUserAction() [4/4]
void CMSSimEventManager::SetUserAction |
( |
G4UserSteppingAction * |
ptr | ) |
|
◆ StackTracks()
void CMSSimEventManager::StackTracks |
( |
G4TrackVector * |
trackVector, |
|
|
bool |
IDisSet |
|
) |
| |
|
private |
◆ m_defTrackManager
G4TrackingManager* CMSSimEventManager::m_defTrackManager |
|
private |
◆ m_eventAction
◆ m_navigator
G4Navigator* CMSSimEventManager::m_navigator |
|
private |
◆ m_primaryTransformer
G4PrimaryTransformer* CMSSimEventManager::m_primaryTransformer |
|
private |
◆ m_sdManager
G4SDManager* CMSSimEventManager::m_sdManager |
|
private |
◆ m_stackingAction
◆ m_stateManager
G4StateManager* CMSSimEventManager::m_stateManager |
|
private |
◆ m_trackingAction
◆ m_tracks
std::vector<G4Track*> CMSSimEventManager::m_tracks |
|
private |
◆ trackID_
G4int CMSSimEventManager::trackID_ {0} |
|
private |
◆ verbose_
G4int CMSSimEventManager::verbose_ |
|
private |