![]() |
ATLAS Offline Software
|
#include <AtlasG4SyncEventUserInfo.h>
Public Types | |
| using | EventFactoryFunction = std::function<StatusCode(G4Event&, std::unique_ptr<AtlasG4SyncEventUserInfo>)> |
| using | SPSyncInterface = std::shared_ptr<G4EventSynchronizationInterface> |
Public Member Functions | |
| AtlasG4SyncEventUserInfo (CLHEP::HepRandomEngine *, EventFactoryFunction &&, const EventContext &) | |
| event_number_t | AthenaEventID () const |
| CLHEP::HepRandomEngine * | HepRandomEngine () |
| EventFactoryFunction | EventFactory () const |
| SPSyncInterface | SyncInterface () const |
| HepMC::GenEvent * | GetHepMCEvent () |
| return a pointer to the HepMC::GenEvent used to create the G4Event. | |
| void | SetHepMCEvent (HepMC::GenEvent *) |
| set m_theEvent, the pointer to the HepMC::GenEvent used to create the G4Event. | |
| int | GetLastProcessedTrackID () const |
| return the value of G4Track::GetTrackID() for the last G4Step processed by a CaloCalibrationHit Sensitive Detector. | |
| void | SetLastProcessedTrackID (int trackID) |
| record the value of G4Track::GetTrackID() for the current G4Step. | |
| int | GetLastProcessedStep () const |
| return the value of the G4Track::GetCurrentStepNumber() for the last G4Step processed by a CaloCalibrationHit Sensitive Detector. | |
| void | SetLastProcessedStep (int stepNumber) |
| record value of the G4Track::GetCurrentStepNumber() for the current G4Step. | |
| std::shared_ptr< HitCollectionMap > | GetHitCollectionMap () const |
| Get the HitCollectionMap object with shared ownership. | |
| void | SetHitCollectionMap (std::shared_ptr< HitCollectionMap > hitCollections) |
| Set the HitCollectionMap object. | |
| const EventContext & | GetEventContext () const |
| IProxyDict * | GetEventStore () |
| void | Print () const |
Static Public Member Functions | |
| static AtlasG4EventUserInfo * | GetEventUserInfo () |
Private Attributes | |
| CLHEP::HepRandomEngine * | m_rng_engine {nullptr} |
| EventFactoryFunction | m_event_factory |
| SPSyncInterface | m_sync_interface |
| const EventContext & | m_eventContext |
| IProxyDict * | m_eventStore {} |
| HepMC::GenEvent * | m_theEvent {} |
| std::shared_ptr< HitCollectionMap > | m_hitCollectionMap {std::make_shared<HitCollectionMap>()} |
| int | m_lastProcessedTrackID {0} |
| int | m_lastProcessedStep {0} |
Definition at line 52 of file AtlasG4SyncEventUserInfo.h.
| using AtlasG4SyncEventUserInfo::EventFactoryFunction = std::function<StatusCode(G4Event&, std::unique_ptr<AtlasG4SyncEventUserInfo>)> |
Definition at line 55 of file AtlasG4SyncEventUserInfo.h.
| using AtlasG4SyncEventUserInfo::SPSyncInterface = std::shared_ptr<G4EventSynchronizationInterface> |
Definition at line 56 of file AtlasG4SyncEventUserInfo.h.
| AtlasG4SyncEventUserInfo::AtlasG4SyncEventUserInfo | ( | CLHEP::HepRandomEngine * | rng_engine, |
| AtlasG4SyncEventUserInfo::EventFactoryFunction && | event_factory, | ||
| const EventContext & | ctx ) |
Definition at line 14 of file AtlasG4SyncEventUserInfo.cxx.
|
inline |
Definition at line 60 of file AtlasG4SyncEventUserInfo.h.
|
inline |
Definition at line 68 of file AtlasG4SyncEventUserInfo.h.
|
inlineinherited |
Definition at line 89 of file AtlasG4EventUserInfo.h.
|
inlineinherited |
Definition at line 91 of file AtlasG4EventUserInfo.h.
|
inlinestaticinherited |
Definition at line 96 of file AtlasG4EventUserInfo.h.
|
inherited |
return a pointer to the HepMC::GenEvent used to create the G4Event.
(Never called. Remove?)
Definition at line 8 of file AtlasG4EventUserInfo.cxx.
|
inlineinherited |
Get the HitCollectionMap object with shared ownership.
Geant4 deleting this UserInfo object will not delete the HitCollectionMap.
Definition at line 82 of file AtlasG4EventUserInfo.h.
|
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 69 of file AtlasG4EventUserInfo.h.
|
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 52 of file AtlasG4EventUserInfo.h.
|
inline |
Definition at line 64 of file AtlasG4SyncEventUserInfo.h.
|
inlineinherited |
Definition at line 93 of file AtlasG4EventUserInfo.h.
|
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.
|
inlineinherited |
Set the HitCollectionMap object.
Definition at line 87 of file AtlasG4EventUserInfo.h.
|
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 76 of file AtlasG4EventUserInfo.h.
|
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 59 of file AtlasG4EventUserInfo.h.
|
inline |
Definition at line 72 of file AtlasG4SyncEventUserInfo.h.
|
private |
Definition at line 80 of file AtlasG4SyncEventUserInfo.h.
|
privateinherited |
Definition at line 109 of file AtlasG4EventUserInfo.h.
|
privateinherited |
Definition at line 110 of file AtlasG4EventUserInfo.h.
|
privateinherited |
Definition at line 113 of file AtlasG4EventUserInfo.h.
|
privateinherited |
Definition at line 121 of file AtlasG4EventUserInfo.h.
|
privateinherited |
Definition at line 120 of file AtlasG4EventUserInfo.h.
|
private |
Definition at line 78 of file AtlasG4SyncEventUserInfo.h.
|
private |
Definition at line 83 of file AtlasG4SyncEventUserInfo.h.
|
privateinherited |
Definition at line 111 of file AtlasG4EventUserInfo.h.