Go to the documentation of this file. 1 #ifndef Candidate_CompositeRefCandidate_h
2 #define Candidate_CompositeRefCandidate_h
31 bool integerCharge =
true)
39 bool integerCharge =
true)
const daughters & daughterRefVector() const
references to daughtes
void clearDaughters()
clear daughter references
void clear()
Clear the vector.
math::XYZPoint Point
point in the space
int status() const final
status word
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
CandidateRefVector mothers
collection of references to daughters
void addDaughter(const CandidateRef &)
add a daughter via a reference
int Charge
electric charge type
CandidateRef daughterRef(size_type i) const
reference to daughter at given position
~CompositeRefCandidate() override
destructor
daughters dau
collection of references to daughters
size_t numberOfDaughters() const override
number of daughters
daughters mom
collection of references to mothers
size_t numberOfMothers() const override
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
CompositeRefCandidate(const Candidate &p)
constructor from a candidate
Structure Point Contains parameters of Gaussian fits to DMRs.
const Candidate * daughter(size_type) const override
return daughter at a given position (throws an exception)
int pdgId() const final
PDG identifier.
bool overlap(const Candidate &) const override
check overlap with another candidate
void addMother(const CandidateRef &)
add a daughter via a reference
const LorentzVector & p4() const final
four-momentum Lorentz vector
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
CandidateRef motherRef(size_type i=0) const
reference to mother at given position
const Candidate * mother(size_t i=0) const override
return pointer to mother
void resetDaughters(const edm::ProductID &id)
set daughters product ID
CandidateRefVector daughters
collection of references to daughters
const mothers & motherRefVector() const
references to mothers
double p() const final
magnitude of momentum vector
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
CompositeRefCandidate * clone() const override
returns a clone of the candidate
math::XYZTLorentzVector LorentzVector
Lorentz vector.
CompositeRefCandidate()
default constructor