8 throw cms::Exception(
"Invalid Reference") <<
"this Candidate has no master clone reference."
9 <<
"Can't call masterClone() method.\n";
17 throw cms::Exception(
"Invalid Reference") <<
"this Candidate has no master clone ptr."
18 <<
"Can't call masterClonePtr() method.\n";
35 <<
"This Candidate type does not implement daughter(std::string). "
36 <<
"Please use CompositeCandidate or NamedCompositeCandidate.\n";
41 <<
"This Candidate type does not implement daughter(std::string). "
42 <<
"Please use CompositeCandidate or NamedCompositeCandidate.\n";
55 <<
"reco::ConcreteCandidate does not implement vertex covariant matrix.\n";
60 <<
"reco::ConcreteCandidate does not implement vertex covariant matrix.\n";
void fillVertexCovariance(CovarianceMatrix &v) const override
fill SMatrix
const CandidatePtr & masterClonePtr() const override
bool isCaloMuon() const override
double vertexNormalizedChi2() const override
chi-squared divided by n.d.o.f.
bool hasMasterClonePtr() const override
const Point & vertex() const override
vertex position (overwritten by PF...)
bool isMuon() const override
const LorentzVector & p4() const final
four-momentum Lorentz vector
const Candidate * daughter(size_type) const override
return daughter at a given position (throws an exception)
double vertexNdof() const override
bool isGlobalMuon() const override
bool isTrackerMuon() const override
const Candidate * mother(size_type) const override
return mother at a given position (throws an exception)
bool isJet() const override
virtual const Point & vertex() const =0
vertex position
virtual int charge() const =0
electric charge
bool isStandAloneMuon() const override
bool overlap(const Candidate &) const override
check overlap with another Candidate
bool isConvertedPhoton() const override
bool hasMasterClone() const override
CovarianceMatrix vertexCovariance() const final
return SMatrix
bool isPhoton() const override
~LeafCandidate() override
destructor
double vertexChi2() const override
chi-squares
const CandidateBaseRef & masterClone() const override
size_t numberOfDaughters() const override
number of daughters
size_t numberOfMothers() const override
number of mothers
int charge() const final
electric charge
bool isElectron() const override
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector