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