#include <AtlasG4SyncEventUserInfo.h>
Definition at line 52 of file AtlasG4SyncEventUserInfo.h.
◆ EventFactoryFunction
◆ SPSyncInterface
◆ AtlasG4SyncEventUserInfo()
Definition at line 14 of file AtlasG4SyncEventUserInfo.cxx.
21{
22}
AtlasG4EventUserInfo(const EventContext &ctx)
EventFactoryFunction m_event_factory
CLHEP::HepRandomEngine * m_rng_engine
SPSyncInterface m_sync_interface
◆ AthenaEventID()
◆ EventFactory()
◆ GetCurrentGenParticle() [1/2]
return a pointer to the GenParticle corresponding to the current G4Track (if there is one).
TODO Rename
Definition at line 69 of file AtlasG4EventUserInfo.h.
HepMC::GenParticlePtr m_currentGenParticle
◆ GetCurrentGenParticle() [2/2]
◆ GetCurrentPrimaryGenParticle()
return a pointer to the HepMC::GenParticle used to create the current G4PrimaryParticle.
(Used in G4VFastSimulationModel implementations and Sensitive Detectors which record CaloCalibrationHits.) TODO Rename
Definition at line 54 of file AtlasG4EventUserInfo.h.
HepMC::ConstGenParticlePtr m_currentPrimaryGenParticle
◆ GetEventContext()
| const EventContext & AtlasG4EventUserInfo::GetEventContext |
( |
| ) |
const |
|
inlineinherited |
◆ GetEventStore()
| IProxyDict * AtlasG4EventUserInfo::GetEventStore |
( |
| ) |
|
|
inlineinherited |
◆ GetEventUserInfo()
Definition at line 130 of file AtlasG4EventUserInfo.h.
131 {
132
133 G4EventManager* eventManager = G4EventManager::GetEventManager();
134 if (!eventManager) {
135 return nullptr;
136 }
137
139 }
◆ GetHepMCEvent()
| HepMC::GenEvent * AtlasG4EventUserInfo::GetHepMCEvent |
( |
| ) |
|
|
inherited |
return a pointer to the HepMC::GenEvent used to create the G4Event.
(Never called. Remove?)
Definition at line 8 of file AtlasG4EventUserInfo.cxx.
9{
11}
HepMC::GenEvent * m_theEvent
◆ GetHitCollectionMap()
| std::shared_ptr< HitCollectionMap > AtlasG4EventUserInfo::GetHitCollectionMap |
( |
| ) |
const |
|
inlineinherited |
◆ GetLastProcessedStep()
| int AtlasG4EventUserInfo::GetLastProcessedStep |
( |
| ) |
const |
|
inlineinherited |
return the value of the G4Track::GetCurrentStepNumber() for the last G4Step processed by a CaloCalibrationHit Sensitive Detector.
Used in CalibrationDefaultProcessing::UserSteppingAction(...) to ensure that unprocessed G4Steps are passed to the default CaloCalibrationHit sensitive detector.
Definition at line 103 of file AtlasG4EventUserInfo.h.
◆ GetLastProcessedTrackID()
| int AtlasG4EventUserInfo::GetLastProcessedTrackID |
( |
| ) |
const |
|
inlineinherited |
return the value of G4Track::GetTrackID() for the last G4Step processed by a CaloCalibrationHit Sensitive Detector.
Used in CalibrationDefaultProcessing::UserSteppingAction(...) to ensure that unprocessed G4Steps are passed to the default CaloCalibrationHit sensitive detector. TODO Rename
Definition at line 86 of file AtlasG4EventUserInfo.h.
int m_lastProcessedTrackID
◆ HepRandomEngine()
| CLHEP::HepRandomEngine * AtlasG4SyncEventUserInfo::HepRandomEngine |
( |
| ) |
|
|
inline |
◆ Print()
| void AtlasG4EventUserInfo::Print |
( |
| ) |
const |
|
inlineinherited |
◆ SetCurrentGenParticle()
set m_currentGenParticle, the pointer to the GenParticle corresponding to the current G4Track.
This will be updated each time an interaction of the G4Track is recorded to the HepMC::GenEvent. TODO Rename
Definition at line 77 of file AtlasG4EventUserInfo.h.
◆ SetCurrentPrimaryGenParticle()
set m_currentPrimaryGenParticle, the pointer to the HepMC::GenParticle used to create the current G4PrimaryParticle.
This pointer is updated each time there is a new G4PrimaryParticle. Called from (AthenaTrackingAction/TrackProcessorUserActionBase):: PreUserTrackingAction(...). TODO Rename
Definition at line 63 of file AtlasG4EventUserInfo.h.
◆ SetHepMCEvent()
| void AtlasG4EventUserInfo::SetHepMCEvent |
( |
HepMC::GenEvent * | ev | ) |
|
|
inherited |
set m_theEvent, the pointer to the HepMC::GenEvent used to create the G4Event.
Only called in ISF::InputConverter::ISF_to_G4Event(...).
Definition at line 13 of file AtlasG4EventUserInfo.cxx.
◆ SetHitCollectionMap()
| void AtlasG4EventUserInfo::SetHitCollectionMap |
( |
std::shared_ptr< HitCollectionMap > | hitCollections | ) |
|
|
inlineinherited |
◆ SetLastProcessedStep()
| void AtlasG4EventUserInfo::SetLastProcessedStep |
( |
int | stepNumber | ) |
|
|
inlineinherited |
record value of the G4Track::GetCurrentStepNumber() for the current G4Step.
Should be called by all CaloCalibrationHit Sensitive Detectors after they process a G4Step. TODO Check this is done.
Definition at line 110 of file AtlasG4EventUserInfo.h.
◆ SetLastProcessedTrackID()
| void AtlasG4EventUserInfo::SetLastProcessedTrackID |
( |
int | trackID | ) |
|
|
inlineinherited |
record the value of G4Track::GetTrackID() for the current G4Step.
Should be called by all CaloCalibrationHit Sensitive Detectors after they process a G4Step. TODO Check this. TODO Rename
Definition at line 93 of file AtlasG4EventUserInfo.h.
◆ SyncInterface()
◆ m_currentGenParticle
◆ m_currentPrimaryGenParticle
◆ m_event_factory
◆ m_eventContext
| const EventContext& AtlasG4EventUserInfo::m_eventContext |
|
privateinherited |
◆ m_eventStore
◆ m_hitCollectionMap
◆ m_lastProcessedStep
| int AtlasG4EventUserInfo::m_lastProcessedStep {0} |
|
privateinherited |
◆ m_lastProcessedTrackID
| int AtlasG4EventUserInfo::m_lastProcessedTrackID {0} |
|
privateinherited |
◆ m_rng_engine
| CLHEP::HepRandomEngine* AtlasG4SyncEventUserInfo::m_rng_engine {nullptr} |
|
private |
◆ m_sync_interface
◆ m_theEvent
| HepMC::GenEvent* AtlasG4EventUserInfo::m_theEvent {} |
|
privateinherited |
The documentation for this class was generated from the following files: