Geant4ParticleConst.cc
Go to the documentation of this file.
20 ConstGeant4Particle::ConstGeant4Particle(int ID, int g4Parent, int reason, int mask, int steps, int secondaries, int pdgID, int status, std::array<int, 2> colorFlow, int genStatus, int charge, std::array<int, 1> spare, std::array<float, 3> spin, double vsx, double vsy, double vsz, double vex, double vey, double vez, double psx, double psy, double psz, double pex, double pey, double pez, double mass, double time, double properTime) : m_obj(new Geant4ParticleObj()) {
52 ConstGeant4Particle::ConstGeant4Particle(const ConstGeant4Particle& other) : m_obj(other.m_obj) {
81 const std::array<int, 2>& ConstGeant4Particle::colorFlow() const { return m_obj->data.colorFlow; }
82 const int& ConstGeant4Particle::colorFlow(size_t i) const { return m_obj->data.colorFlow.at(i); }
std::vector< int >::const_iterator parents_begin() const
Definition: Geant4ParticleConst.cc:107
unsigned int daughters_end
Definition: Geant4ParticleData.h:49
bool isAvailable() const
check whether the object is actually available
Definition: Geant4ParticleConst.cc:174
Definition: Geant4Particle.h:27
unsigned int daughters_size() const
Definition: Geant4ParticleConst.cc:151
ConstGeant4Particle & operator=(const ConstGeant4Particle &other)
copy-assignment operator
Definition: Geant4ParticleConst.cc:56
const podio::ObjectID getObjectID() const
Definition: Geant4ParticleConst.cc:181
bool operator==(const ConstGeant4Particle &other) const
Definition: Geant4ParticleConst.h:160
std::vector< int >::const_iterator daughters_end() const
Definition: Geant4ParticleConst.cc:145
Definition: Geant4Output2Podio.h:12
Definition: Geant4ParticleObj.h:20
unsigned int parents_begin
Definition: Geant4ParticleData.h:46
std::vector< int >::const_iterator parents_end() const
Definition: Geant4ParticleConst.cc:113
std::vector< int >::const_iterator daughters_begin() const
Definition: Geant4ParticleConst.cc:139
std::vector< int > * m_parents
Definition: Geant4ParticleObj.h:33
podio::RelationRange< int > parents() const
Definition: Geant4ParticleConst.cc:130
podio::RelationRange< int > daughters() const
Definition: Geant4ParticleConst.cc:162
unsigned int parents_size() const
Definition: Geant4ParticleConst.cc:119
std::vector< int > * m_daughters
Definition: Geant4ParticleObj.h:34
unsigned int daughters_begin
Definition: Geant4ParticleData.h:48