|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISF_GEANT4TOOLS_Geant4TruthIncident_H
6 #define ISF_GEANT4TOOLS_Geant4TruthIncident_H
12 #include "G4ThreeVector.hh"
109 int bc) override final;
133 #endif // ISF_GEANT4TOOLS_Geant4TruthIncident_H
double parentP2() const override final
Return p^2 of the parent particle.
int parentBarcode() override final
Return the barcode of the parent particle.
HepMC::GenParticlePtr parentParticleAfterIncident(int newBC) override final
Return the parent particle after the TruthIncident vertex (and give it a new barcode)
HepMC::GenParticlePtr parentParticle() override final
Return the parent particle as a HepMC particle type.
const ISF::ISFParticle & m_baseISP
This class is attached to G4Event objects as UserInformation. It holds a pointer to the HepMC::GenEve...
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
int parentStatus() override final
Return the status of the parent particle.
int parentUniqueID() override final
Return the unique ID of the parent particle.
virtual ~Geant4TruthIncident()
GenParticle * GenParticlePtr
double parentEkin() const override final
Return Ekin of the parent particle.
bool const RAWDATA *ch2 const
HepMC::GenParticlePtr convert(const G4Track *particle, const int barcode, const bool secondary) const
HepMC::FourVector m_position
double childPt2(unsigned short index) const override final
Return pT^2 of the i-th child particle.
std::vector< const G4Track * > m_children
int physicsProcessCode() const override final
Return specific physics process code of the truth incident (eg ionisation, bremsstrahlung,...
const HepMC::FourVector & position() const override final
Return HepMC position of the truth vertex.
int physicsProcessCategory() const override final
Return category of the physics process represented by the truth incident (eg hadronic,...
double childEkin(unsigned short index) const override final
Return Ekin of the i-th child particle.
double childP2(unsigned short index) const override final
Return p^2 of the i-th child particle.
const G4ThreeVector childP(unsigned short index) const
Return p of the i-th child particle.
void prepareChildren()
prepare the child particles
InteractionClass_t
The interaction classifications are described as follows: STD_VTX: interaction of a particle without ...
HepMC::GenParticlePtr m_parentParticleAfterIncident
bool parentSurvivesIncident() const override final
Return a boolean whether or not the parent particle survives the incident.
AtlasG4EventUserInfo *m_atlasG4EvtUserInfo ATLAS_THREAD_SAFE
bool particleAlive(const G4Track *track) const
check if the given G4Track represents a particle that is alive in ISF or ISF-G4
HepMC::GenParticlePtr childParticle(unsigned short index, int bc) override final
Return the i-th child as a HepMC particle type and assign the given Barcode to the simulator particle...
int childPdgCode(unsigned short index) const override final
Return the PDG Code of the i-th child particle.
int parentPdgCode() const override final
Return the PDG Code of the parent particle.
ISF::InteractionClass_t interactionClassification() const override final
The interaction classifications are described as follows: STD_VTX: interaction of a particle without ...
Define macros for attributes used to control the static checker.
int childBarcode(unsigned short index) const override final
Return the barcode of the i-th child particle (if defined as part of the TruthIncident) otherwise ret...
AtlasDetDescr::AtlasRegion geoID()
Return the SimGeoID corresponding to the vertex of the truth incident.
double parentPt2() const override final
Return pT^2 of the parent particle.