Go to the documentation of this file. 1 #ifndef Candidate_NamedCompositeCandidate_H
2 #define Candidate_NamedCompositeCandidate_H
37 bool integerCharge =
true)
std::vector< std::string > role_collection
math::XYZPoint Point
point in the space
std::vector< std::string > role_collection
int status() const final
status word
NamedCompositeCandidate * clone() const override
returns a clone of the candidate
int Charge
electric charge type
void addDaughter(const Candidate &, const std::string &s)
NamedCompositeCandidate(std::string name="")
default constructor
~NamedCompositeCandidate() override
destructor
Structure Point Contains parameters of Gaussian fits to DMRs.
NamedCompositeCandidate(std::string name, const role_collection &roles, Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
constructor from values
void setRoles(const NamedCompositeCandidate::role_collection &roles)
int pdgId() const final
PDG identifier.
Candidate * daughter(size_type i) override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1
const NamedCompositeCandidate::role_collection & roles() const
const LorentzVector & p4() const final
four-momentum Lorentz vector
const Candidate * daughter(size_type i) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
void clearDaughters()
clear daughters
double p() const final
magnitude of momentum vector
Candidate * daughter(const std::string &s) override
return daughter with a specified role name
math::XYZTLorentzVector LorentzVector
Lorentz vector.
NamedCompositeCandidate(std::string name, const role_collection &roles)
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
void setName(std::string n)