 |
Belle II Software
release-05-02-19
|
13 #ifndef __PXPYPZMFITOBJECT_H
14 #define __PXPYPZMFITOBJECT_H
16 #include "analysis/OrcaKinFit/ParticleFitObject.h"
19 #include <CLHEP/Matrix/Matrix.h>
20 #include <CLHEP/Matrix/SymMatrix.h>
21 #include <CLHEP/Vector/LorentzVector.h>
28 namespace OrcaKinFit {
30 class PxPyPzMFitObject :
public ParticleFitObject {
33 PxPyPzMFitObject(CLHEP::HepLorentzVector& particle,
const CLHEP::HepSymMatrix& covmatrix);
36 PxPyPzMFitObject(
const PxPyPzMFitObject& rhs
39 PxPyPzMFitObject&
operator= (
const PxPyPzMFitObject& rhs
61 virtual double getDPx(
int ilocal)
const override;
62 virtual double getDPy(
int ilocal)
const override;
63 virtual double getDPz(
int ilocal)
const override;
64 virtual double getDE(
int ilocal)
const override;
66 virtual double getFirstDerivative_Meta_Local(
int iMeta,
int ilocal ,
67 int metaSet)
const override;
68 virtual double getSecondDerivative_Meta_Local(
int iMeta,
int ilocal ,
int jlocal,
69 int metaSet)
const override;
71 virtual int getNPar()
const override {
return NPAR;}
75 void updateCache()
const override;
77 mutable bool cachevalid;
81 dE2dpxdpx, dE2dpxdpy, dE2dpxdpz,
95 #endif // __PXPYPZMFITOBJECT_H
virtual double getDPz(int ilocal) const override
Return d p_z / d par_ilocal (derivative of pz w.r.t. local parameter ilocal)
virtual double getDPx(int ilocal) const override
Return d p_x / d par_ilocal (derivative of px w.r.t. local parameter ilocal)
virtual const char * getParamName(int ilocal) const override
virtual double getDPy(int ilocal) const override
Return d p_y / d par_ilocal (derivative of py w.r.t. local parameter ilocal)
Abstract base class for different kinds of events.
virtual PxPyPzMFitObject & assign(const BaseFitObject &source) override
Assign from anther object, if of same type.
PxPyPzMFitObject & operator=(const PxPyPzMFitObject &rhs)
virtual bool updateParams(double p[], int idim) override
virtual double getDE(int ilocal) const override
Return d E / d par_ilocal (derivative of E w.r.t. local parameter ilocal)