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