1 #ifndef DataFormats_Candidate_VertexCompositePtrCandidate_H
2 #define DataFormats_Candidate_VertexCompositePtrCandidate_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 Charge
electric charge type
virtual void fillVertexCovariance(CovarianceMatrix &v) const
fill SMatrix
virtual double vertexChi2() const
chi-squares
virtual ~VertexCompositePtrCandidate()
destructor
virtual double p() const GCC11_FINAL
magnitude of momentum vector
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
virtual int pdgId() const GCC11_FINAL
PDG identifier.
Double32_t ndof_
number of degrees of freedom
virtual double vertexCovariance(int i, int j) const
(i, j)-th element of error matrix, i, j = 0, ... 2
VertexCompositePtrCandidate(const Candidate &p)
constructor from values
virtual int status() const GCC11_FINAL
status word
index idx(index i, index j) const
position index
VertexCompositePtrCandidate(const CompositePtrCandidate &p)
constructor from values
virtual double vertexNdof() const
unsigned int index
index type
CovarianceMatrix vertexCovariance() const GCC11_FINAL
return SMatrix
Double32_t covariance_[size]
covariance matrix (3x3) as vector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
VertexCompositePtrCandidate()
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > LorentzVector
Double32_t chi2_
chi-sqared
void setCovariance(const CovarianceMatrix &m)
set covariance matrix
math::XYZPoint Point
point in the space
void setChi2AndNdof(double chi2, double ndof)
set chi2 and ndof
virtual double vertexNormalizedChi2() const
chi-squared divided by n.d.o.f.
virtual VertexCompositePtrCandidate * clone() const
returns a clone of the candidate
int Charge
electric charge type
VertexCompositePtrCandidate(Charge q, const LorentzVector &p4, const Point &vtx, int pdgId=0, int status=0, bool integerCharge=true)
constructor from values