Go to the documentation of this file. 1 #ifndef Candidate_CompositeRefBaseCandidate_h
2 #define Candidate_CompositeRefBaseCandidate_h
29 bool integerCharge =
true)
37 bool integerCharge =
true)
~CompositeRefBaseCandidate() override
destructor
bool overlap(const Candidate &) const override
check overlap with another candidate
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
math::XYZPoint Point
point in the space
int status() const final
status word
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
int Charge
electric charge type
CompositeRefBaseCandidate(const Candidate &c)
constructor from a particle
void clearDaughters()
clear daughter references
CandidateBaseRef daughterRef(size_type i) const
reference to daughter at given position
void addDaughter(const CandidateBaseRef &)
add a daughter via a reference
size_t numberOfDaughters() const override
number of daughters
CompositeRefBaseCandidate * clone() const override
returns a clone of the 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.
daughters dau
collection of references to daughters
const LorentzVector & p4() const final
four-momentum Lorentz vector
size_t numberOfMothers() const override
number of mothers
std::vector< CandidateBaseRef > daughters
collection of references to daughters
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
const Candidate * mother(size_type) const override
return mother at a given position, i = 0, ... numberOfMothers() - 1 (read only mode)
math::XYZTLorentzVector LorentzVector
Lorentz vector.
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)