 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MCTRUTH_ATLASG4EVENTUSERINFO_H
6 #define MCTRUTH_ATLASG4EVENTUSERINFO_H
11 #include "G4VUserEventInformation.hh"
26 : G4VUserEventInformation()
133 #endif // MCTRUTH_ATLASG4EVENTUSERINFO_H
int m_lastProcessedTrackID
void SetCurrentPrimaryGenParticle(HepMC::ConstGenParticlePtr p)
set m_currentPrimaryGenParticle, the pointer to the HepMC::GenParticle used to create the current G4P...
HepMC::ConstGenParticlePtr GetCurrentGenParticle() const
void SetLastProcessedTrackID(int trackID)
record the value of G4Track::GetTrackID() for the current G4Step.
This class is attached to G4Event objects as UserInformation. It holds a pointer to the HepMC::GenEve...
HepMC::GenParticlePtr m_currentGenParticle
HepMC::GenEvent * GetHepMCEvent()
return a pointer to the HepMC::GenEvent used to create the G4Event.
void SetLastProcessedStep(int stepNumber)
record value of the G4Track::GetCurrentStepNumber() for the current G4Step.
void SetHepMCEvent(HepMC::GenEvent *)
set m_theEvent, the pointer to the HepMC::GenEvent used to create the G4Event.
GenParticle * GenParticlePtr
void SetHitCollectionMap(std::shared_ptr< HitCollectionMap > hitCollections)
Set the HitCollectionMap object.
int GetLastProcessedStep() const
return the value of the G4Track::GetCurrentStepNumber() for the last G4Step processed by a CaloCalibr...
int GetLastProcessedTrackID() const
return the value of G4Track::GetTrackID() for the last G4Step processed by a CaloCalibrationHit Sensi...
HepMC::GenParticlePtr GetCurrentGenParticle()
return a pointer to the GenParticle corresponding to the current G4Track (if there is one).
HepMC::ConstGenParticlePtr m_currentPrimaryGenParticle
std::shared_ptr< HitCollectionMap > m_hitCollectionMap
const GenParticle * ConstGenParticlePtr
HepMC::ConstGenParticlePtr GetCurrentPrimaryGenParticle() const
return a pointer to the HepMC::GenParticle used to create the current G4PrimaryParticle.
HepMC::GenEvent * m_theEvent
void SetCurrentGenParticle(HepMC::GenParticlePtr p)
set m_currentGenParticle, the pointer to the GenParticle corresponding to the current G4Track.
std::shared_ptr< HitCollectionMap > GetHitCollectionMap() const
Get the HitCollectionMap object with shared ownership.