1 #ifndef Candidate_CompositeRefBaseCandidate_h
2 #define Candidate_CompositeRefBaseCandidate_h
26 int pdgId = 0,
int status = 0,
bool integerCharge =
true ) :
30 int pdgId = 0,
int status = 0,
bool integerCharge =
true ) :
76 dau.push_back( cand );
virtual size_t numberOfDaughters() const
number of daughters
int Charge
electric charge type
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
virtual size_t numberOfMothers() const
number of mothers
candidate::const_iterator const_iterator
virtual const_iterator begin() const
first daughter const_iterator
virtual int pdgId() const GCC11_FINAL
PDG identifier.
std::vector< CandidateBaseRef > daughters
collection of references to daughters
virtual CompositeRefBaseCandidate * clone() const
returns a clone of the candidate
candidate::iterator_imp_specific_dummy< daughters > iterator_imp_specific
iterator implementation
virtual const Candidate * mother(size_type) const
return mother at a given position, i = 0, ... numberOfMothers() - 1 (read only mode) ...
virtual ~CompositeRefBaseCandidate()
destructor
CompositeRefBaseCandidate(const Candidate &c)
constructor from a particle
virtual const_iterator end() const
last daughter const_iterator
virtual bool overlap(const Candidate &) const
check overlap with another candidate
daughters dau
collection of references to daughters
virtual const Candidate * daughter(size_type) const
return daughter at a given position (throws an exception)
virtual int status() const GCC11_FINAL
status word
CompositeRefBaseCandidate(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
constructor from values
CompositeRefBaseCandidate()
default constructor
CompositeRefBaseCandidate(Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
constructor from values
virtual const Candidate * daughter(size_type) const
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
candidate::iterator iterator
void clearDaughters()
clear daughter references
math::XYZTLorentzVector LorentzVector
Lorentz vector.
math::XYZPoint Point
point in the space
void addDaughter(const CandidateBaseRef &)
add a daughter via a reference
CandidateBaseRef daughterRef(size_type i) const
reference to daughter at given position
math::XYZPoint Point
point in the space
candidate::const_iterator_imp_specific< daughters > const_iterator_imp_specific
const iterator implementation
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.