1 #ifndef Candidate_CompositeRefBaseCandidate_h
2 #define Candidate_CompositeRefBaseCandidate_h
25 int pdgId = 0,
int status = 0,
bool integerCharge =
true ) :
29 int pdgId = 0,
int status = 0,
bool integerCharge =
true ) :
63 dau.push_back( cand );
virtual size_t numberOfDaughters() const
number of daughters
int Charge
electric charge type
virtual size_t numberOfMothers() const
number of mothers
std::vector< CandidateBaseRef > daughters
collection of references to daughters
virtual CompositeRefBaseCandidate * clone() const
returns a clone of the candidate
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 bool overlap(const Candidate &) const
check overlap with another candidate
daughters dau
collection of references to daughters
virtual int status() const final
status word
virtual const Candidate * daughter(size_type) const
return daughter at a given position (throws an exception)
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) ...
void clearDaughters()
clear daughter references
math::XYZTLorentzVector LorentzVector
Lorentz vector.
virtual int pdgId() const final
PDG identifier.
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
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
math::XYZPoint Point
point in the space
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.