ATLAS Offline Software
PrimaryParticleInformation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MCTRUTH_PRIMARYPARTICLEINFORMATION_H
6 #define MCTRUTH_PRIMARYPARTICLEINFORMATION_H
7 
8 #include "G4VUserPrimaryParticleInformation.hh"
10 #include "TruthUtils/MagicNumbers.h" //HepMC::INVALID_PARTICLE_BARCODE
12 
13 namespace ISF {
14  class ISFParticle;
15 }
39 class PrimaryParticleInformation: public G4VUserPrimaryParticleInformation {
40 public:
43 
49 
62 
69 
70  int GetParticleBarcode() const;
71  int GetParticleUniqueID() const;
72  void Print() const {}
73 private:
76 
80 };
81 
82 #endif // MCTRUTH_PRIMARYPARTICLEINFORMATION_H
PrimaryParticleInformation::m_theParticle
HepMC::GenParticlePtr m_theParticle
Definition: PrimaryParticleInformation.h:74
PrimaryParticleInformation::SetISFParticle
void SetISFParticle(ISF::ISFParticle *isp)
Definition: PrimaryParticleInformation.cxx:39
PrimaryParticleInformation::m_theISFParticle
ISF::ISFParticle * m_theISFParticle
Definition: PrimaryParticleInformation.h:75
PrimaryParticleInformation::GetHepMCParticle
HepMC::GenParticlePtr GetHepMCParticle()
Definition: PrimaryParticleInformation.h:48
HepMC::GenParticlePtr
GenParticle * GenParticlePtr
Definition: GenParticle.h:37
ISF::ISFParticle
Definition: ISFParticle.h:42
PrimaryParticleInformation::ATLAS_THREAD_SAFE
int m_barcode ATLAS_THREAD_SAFE
Definition: PrimaryParticleInformation.h:78
GenParticle_fwd.h
PrimaryParticleInformation::GetRegenerationNr
int GetRegenerationNr()
return the number of times the particle represented by the G4PrimaryParticle has undergone a non-dest...
Definition: PrimaryParticleInformation.h:55
HepMC::INVALID_PARTICLE_BARCODE
constexpr int INVALID_PARTICLE_BARCODE
Definition: MagicNumbers.h:53
PrimaryParticleInformation::GetParticleBarcode
int GetParticleBarcode() const
Definition: PrimaryParticleInformation.cxx:18
PrimaryParticleInformation::PrimaryParticleInformation
PrimaryParticleInformation()
Definition: PrimaryParticleInformation.cxx:8
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
lumiFormat.i
int i
Definition: lumiFormat.py:85
PrimaryParticleInformation::GetISFParticle
const ISF::ISFParticle * GetISFParticle() const
return a pointer to the ISFParticle used to create the G4PrimaryParticle
Definition: PrimaryParticleInformation.h:66
PrimaryParticleInformation::m_regenerationNr
int m_regenerationNr
Definition: PrimaryParticleInformation.h:77
PrimaryParticleInformation::Print
void Print() const
Definition: PrimaryParticleInformation.h:72
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
PrimaryParticleInformation::GetISFParticle
ISF::ISFParticle * GetISFParticle()
Definition: PrimaryParticleInformation.h:67
MagicNumbers.h
PrimaryParticleInformation::SetRegenerationNr
void SetRegenerationNr(int i)
update the number of times the particle represented by the G4PrimaryParticle has undergone a non-dest...
Definition: PrimaryParticleInformation.h:61
PrimaryParticleInformation::GetHepMCParticle
HepMC::ConstGenParticlePtr GetHepMCParticle() const
return a pointer to the GenParticle used to create the G4PrimaryParticle
Definition: PrimaryParticleInformation.h:47
PrimaryParticleInformation
This class is attached to G4PrimaryParticle objects as UserInformation. The member variable m_thePart...
Definition: PrimaryParticleInformation.h:39
ISF
ISFParticleOrderedQueue.
Definition: PrimaryParticleInformation.h:13
checker_macros.h
Define macros for attributes used to control the static checker.
PrimaryParticleInformation::GetParticleUniqueID
int GetParticleUniqueID() const
Definition: PrimaryParticleInformation.cxx:28