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