1 #ifndef DataFormats_Candidate_VertexCompositeCandidate_H 2 #define DataFormats_Candidate_VertexCompositeCandidate_H 21 int pdgId = 0,
int status = 0,
bool integerCharge =
true) :
27 int pdgId = 0,
int status = 0,
bool integerCharge =
true);
71 int a = (i <= j ? i : j),
b = (i <= j ? j : i);
72 return b * (
b + 1)/2 + a;
int pdgId() const final
PDG identifier.
int Charge
electric charge type
double vertexChi2() const override
chi-squares
VertexCompositeCandidate(const CompositeCandidate &p)
constructor from values
VertexCompositeCandidate()
double vertexCovariance(int i, int j) const override
(i, j)-th element of error matrix, i, j = 0, ... 2
VertexCompositeCandidate(const Candidate &p)
constructor from values
double vertexNdof() const override
Double32_t ndof_
number of degrees of freedom
void setChi2AndNdof(double chi2, double ndof)
set chi2 and ndof
void fillVertexCovariance(CovarianceMatrix &v) const override
fill SMatrix
CovarianceMatrix vertexCovariance() const final
return SMatrix
VertexCompositeCandidate * clone() const override
returns a clone of the candidate
void setCovariance(const CovarianceMatrix &m)
set covariance matrix
index idx(index i, index j) const
position index
const LorentzVector & p4() const final
four-momentum Lorentz vector
VertexCompositeCandidate(Charge q, const LorentzVector &p4, const Point &vtx, int pdgId=0, int status=0, bool integerCharge=true)
constructor from values
Double32_t chi2_
chi-sqared
double p() const final
magnitude of momentum vector
unsigned int index
index type
Double32_t covariance_[size]
covariance matrix (3x3) as vector
double vertexNormalizedChi2() const override
chi-squared divided by n.d.o.f.
math::XYZTLorentzVector LorentzVector
Lorentz vector.
int status() const final
status word
math::XYZPoint Point
point in the space
~VertexCompositeCandidate() override
destructor