5#ifndef MCTRUTH_ATLASG4EVENTUSERINFO_H
6#define MCTRUTH_ATLASG4EVENTUSERINFO_H
9#include <GaudiKernel/EventContext.h>
15#include <G4EventManager.hh>
16#include "G4VUserEventInformation.hh"
29 : G4VUserEventInformation()
99 G4EventManager* eventManager = G4EventManager::GetEventManager();
void SetHepMCEvent(HepMC::GenEvent *)
set m_theEvent, the pointer to the HepMC::GenEvent used to create the G4Event.
void SetLastProcessedStep(int stepNumber)
record value of the G4Track::GetCurrentStepNumber() for the current G4Step.
std::shared_ptr< HitCollectionMap > m_hitCollectionMap
IProxyDict * m_eventStore
std::shared_ptr< HitCollectionMap > GetHitCollectionMap() const
Get the HitCollectionMap object with shared ownership.
static AtlasG4EventUserInfo * GetEventUserInfo()
int GetLastProcessedTrackID() const
return the value of G4Track::GetTrackID() for the last G4Step processed by a CaloCalibrationHit Sensi...
int GetLastProcessedStep() const
return the value of the G4Track::GetCurrentStepNumber() for the last G4Step processed by a CaloCalibr...
IProxyDict * GetEventStore()
HepMC::GenEvent * m_theEvent
AtlasG4EventUserInfo(const EventContext &ctx)
void SetHitCollectionMap(std::shared_ptr< HitCollectionMap > hitCollections)
Set the HitCollectionMap object.
int m_lastProcessedTrackID
const EventContext & m_eventContext
HepMC::GenEvent * GetHepMCEvent()
return a pointer to the HepMC::GenEvent used to create the G4Event.
void SetLastProcessedTrackID(int trackID)
record the value of G4Track::GetTrackID() for the current G4Step.
const EventContext & GetEventContext() const
HepMC3::GenEvent GenEvent