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