1 #ifndef Candidate_CompositeRefCandidate_h
2 #define Candidate_CompositeRefCandidate_h
29 int pdgId = 0,
int status = 0,
bool integerCharge =
true ) :
33 int pdgId = 0,
int status = 0,
bool integerCharge =
true ) :
int Charge
electric charge type
void clearDaughters()
clear daughter references
CandidateRefVector mothers
collection of references to daughters
virtual double p() const GCC11_FINAL
magnitude of momentum vector
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
virtual const_iterator begin() const
first daughter const_iterator
CandidateRef daughterRef(size_type i) const
reference to daughter at given position
candidate::const_iterator const_iterator
virtual CompositeRefCandidate * clone() const
returns a clone of the candidate
virtual int pdgId() const GCC11_FINAL
PDG identifier.
void addDaughter(const CandidateRef &)
add a daughter via a reference
const mothers & motherRefVector() const
references to mothers
candidate::iterator_imp_specific_dummy< daughters > iterator_imp_specific
iterator implementation
virtual const Candidate * daughter(size_type) const
return daughter at a given position (throws an exception)
const daughters & daughterRefVector() const
references to daughtes
daughters dau
collection of references to daughters
virtual int status() const GCC11_FINAL
status word
virtual const Candidate * mother(size_t i=0) const
return pointer to mother
CompositeRefCandidate(const Candidate &p)
constructor from a candidate
daughters mom
collection of references to mothers
virtual size_t numberOfMothers() const
number of mothers (zero or one in most of but not all the cases)
CompositeRefCandidate(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
constructor from values
void addMother(const CandidateRef &)
add a daughter via a reference
candidate::iterator iterator
void clear()
Clear the vector.
void resetDaughters(const edm::ProductID &id)
set daughters product ID
math::XYZTLorentzVector LorentzVector
Lorentz vector.
virtual size_t numberOfDaughters() const
number of daughters
virtual const_iterator end() const
last daughter const_iterator
virtual bool overlap(const Candidate &) const
check overlap with another candidate
CompositeRefCandidate(Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
constructor from values
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
math::XYZPoint Point
point in the space
CandidateRefVector daughters
collection of references to daughters
virtual const Candidate * daughter(size_type) const
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
virtual ~CompositeRefCandidate()
destructor
candidate::const_iterator_imp_specific< daughters > const_iterator_imp_specific
const iterator implementation
CandidateRef motherRef(size_type i=0) const
reference to mother at given position
math::XYZPoint Point
point in the space
CompositeRefCandidate()
default constructor
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.