1 #ifndef Candidate_CompositeCandidate_h 2 #define Candidate_CompositeCandidate_h 31 int pdgId = 0,
int status = 0,
bool integerCharge =
true,
~CompositeCandidate() override
destructor
int pdgId() const final
PDG identifier.
int Charge
electric charge type
std::string name_
candidate name
role_collection const & roles() const
get the roles
CompositeCandidate * clone() const override
returns a clone of the candidate
role_collection roles_
candidate roles
void setRoles(const role_collection &roles)
set the roles
const Candidate * mother(size_type i=0) const override
return pointer to mother
CandidateCollection daughters
collection of daughters
CompositeCandidate(std::string name="")
default constructor
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) ...
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
double p() const final
magnitude of momentum vector
void clearDaughters()
clear daughters
void setName(std::string name)
set the name of the candidate
Structure Point Contains parameters of Gaussian fits to DMRs.
int status() const final
status word
daughters dau
collection of daughters
size_type numberOfDaughters() const override
number of daughters
std::string name() const
get the name of the candidate
bool overlap(const Candidate &) const override
check overlap with another daughter
std::vector< std::string > role_collection
size_type numberOfMothers() const override
number of mothers (zero or one in most of but not all the cases)
math::XYZPoint Point
point in the space