1 #ifndef Candidate_CompositeCandidate_h
2 #define Candidate_CompositeCandidate_h
32 int pdgId = 0,
int status = 0,
bool integerCharge =
true,
int Charge
electric charge type
virtual size_type numberOfMothers() const
number of mothers (zero or one in most of but not all the cases)
std::string name_
candidate name
virtual double p() const GCC11_FINAL
magnitude of momentum vector
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
role_collection const & roles() const
get the roles
candidate::const_iterator const_iterator
virtual int pdgId() const GCC11_FINAL
PDG identifier.
role_collection roles_
candidate roles
virtual const_iterator end() const
last daughter const_iterator
void setRoles(const role_collection &roles)
set the roles
candidate::const_iterator_imp_specific< daughters > const_iterator_imp_specific
CandidateCollection daughters
collection of daughters
virtual size_type numberOfDaughters() const
number of daughters
virtual bool overlap(const Candidate &) const
check overlap with another daughter
virtual ~CompositeCandidate()
destructor
virtual int status() const GCC11_FINAL
status word
virtual const_iterator begin() const
first daughter const_iterator
CompositeCandidate(std::string name="")
default constructor
void addDaughter(const Candidate &, const std::string &s="")
add a clone of the passed candidate as daughter
CompositeCandidate(Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true, std::string name="")
constructor from values
candidate::iterator iterator
void clearDaughters()
clear daughters
void setName(std::string name)
set the name of the candidate
virtual const Candidate * daughter(size_type) const
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
math::XYZPoint Point
point in the space
daughters dau
collection of daughters
virtual CompositeCandidate * clone() const
returns a clone of the candidate
std::string name() const
get the name of the candidate
std::vector< std::string > role_collection
virtual const Candidate * mother(size_type i=0) const
return pointer to mother
candidate::iterator_imp_specific< daughters > iterator_imp_specific
math::XYZPoint Point
point in the space