39 #ifndef __JETFITOBJECT_H
40 #define __JETFITOBJECT_H
60 double DE,
double Dtheta,
double Dphi,
88 virtual int getNPar()
const {
return NPAR;}
92 virtual double getDPx(
int ilocal)
const;
93 virtual double getDPy(
int ilocal)
const;
94 virtual double getDPz(
int ilocal)
const;
95 virtual double getDE(
int ilocal)
const;
97 virtual double getCov (
int ilocal,
119 virtual double getSecondDerivative_Meta_Local(
int iMeta,
int ilocal ,
int jlocal ,
int metaSet )
const;
128 void updateCache()
const;
130 mutable double ctheta, stheta, cphi, sphi,
131 p2, p, pt, px, py, pz, dpdE, dptdE,
132 dpxdE, dpydE, dpzdE, dpxdtheta, dpydtheta,
137 static bool adjustEThetaPhi (
double& m,
double &E,
double& theta,
double& phi);
146 #endif // __JETFITOBJECT_H
static bool adjustEThetaPhi(double &m, double &E, double &theta, double &phi)
Adjust E, theta and phi such that E>=m, 0<=theta<=pi, -pi <= phi < pi; returns true if anything was c...
Definition: JetFitObject.cc:399
virtual bool updateParams(double p[], int idim)
Read values from global vector, readjust vector; return: significant change.
Definition: JetFitObject.cc:165
virtual double getCov(int ilocal, int jlocal) const
Get covariance between parameters ilocal and jlocal.
Definition: JetFitObject.cc:251
virtual JetFitObject * copy() const
Return a new copy of itself.
Definition: JetFitObject.cc:138
virtual double getDPz(int ilocal) const
Return d p_z / d par_ilocal (derivative of pz w.r.t. local parameter ilocal)
Definition: JetFitObject.cc:224
virtual double getFirstDerivative_Meta_Local(int iMeta, int ilocal, int metaSet) const
add derivatives to vector der of size idim pxfact*dpx/dx_i + pyfact*dpy/dx_i + pzfact*dpz/dx_i + efac...
Definition: JetFitObject.cc:281
Class for jets with (E, eta, phi) in kinematic fits.
Definition: JetFitObject.h:57
virtual JetFitObject & assign(const BaseFitObject &source)
Assign from anther object, if of same type.
Definition: JetFitObject.cc:142
Abstract base class for particle objects of kinematic fits.
Definition: ParticleFitObject.h:63
virtual double getDPy(int ilocal) const
Return d p_y / d par_ilocal (derivative of py w.r.t. local parameter ilocal)
Definition: JetFitObject.cc:213
virtual double getDPx(int ilocal) const
Return d p_x / d par_ilocal (derivative of px w.r.t. local parameter ilocal)
Definition: JetFitObject.cc:202
Declares class ParticleFitObject.
virtual double getError(int ilocal) const
Get error of parameter ilocal.
Definition: JetFitObject.cc:245
virtual const char * getParamName(int ilocal) const
Get name of parameter ilocal.
Definition: JetFitObject.cc:155
virtual int getNPar() const
Get total number of parameters of this FitObject.
Definition: JetFitObject.h:88
virtual double getDE(int ilocal) const
Return d E / d par_ilocal (derivative of E w.r.t. local parameter ilocal)
Definition: JetFitObject.cc:235
Abstract base class for particle objects of kinematic fits.
Definition: BaseFitObject.h:110
JetFitObject & operator=(const JetFitObject &rhs)
Assignment.
Definition: JetFitObject.cc:131