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