|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISF_GEANT4TOOLS_ISFG4HELPER_H
6 #define ISF_GEANT4TOOLS_ISFG4HELPER_H
41 bool setReturnToISF=
false );
58 #endif // ISF_GEANT4TOOLS_ISFG4HELPER_H
This class is attached to G4Event objects as UserInformation. It holds a pointer to the HepMC::GenEve...
static TrackInformation * attachTrackInfoToNewG4Track(G4Track &aTrack, ISF::ISFParticle &baseIsp, VTrackInformation::TrackClassification classification, HepMC::GenParticlePtr generationZeroGenParticle=nullptr)
attach a new TrackInformation object to the given new (!) G4Track (the G4Track must not have a UserIn...
GenParticle * GenParticlePtr
static AtlasG4EventUserInfo * getAtlasG4EventUserInfo()
return pointer to current AtlasG4EventUserInfo
static void setG4TrackInfoFromBaseISFParticle(G4Track &aTrack, const ISF::ISFParticle &baseIsp, bool setReturnToISF=false)
link the given G4Track to the given ISFParticle
static ISF::ISFParticle * convertG4TrackToISFParticle(const G4Track &aTrack, const ISF::ISFParticle &parent, ISF::TruthBinding *truth=nullptr)
convert the given G4Track into an ISFParticle
static VTrackInformation * getISFTrackInfo(const G4Track &aTrack)
return a valid UserInformation object of the G4Track for use within the ISF