constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
int NumDaughters() const
Returns the number of daughter particles flowing from this one.
size_t Self() const
Returns the index of this particle.
std::vector< size_t > fDaughters
Vector of indices into PFParticle Collection for daughters.
int PdgCode() const
Return the type of particle as a PDG ID.
int fPdgCode
A preliminary estimate of the PFParticle type using the PDG code.
bool IsPrimary() const
Returns whether the particle is the root of the flow.
friend std::ostream & operator<<(std::ostream &o, const PFParticle &c)
Hierarchical representation of particle flow.
friend bool operator<(const PFParticle &a, const PFParticle &b)
PFParticle()
Default constructor necessary for gccxml - not really for public use.
size_t fParent
Index into PFParticle collection for parent.