17#ifndef __ISRPHOTONFITOBJECT_H
18#define __ISRPHOTONFITOBJECT_H
20#include "analysis/OrcaKinFit/ParticleFitObject.h"
27 namespace OrcaKinFit {
65 virtual double getDPx(
int ilocal)
const override;
66 virtual double getDPy(
int ilocal)
const override;
67 virtual double getDPz(
int ilocal)
const override;
68 virtual double getDE(
int ilocal)
const override;
70 virtual double getFirstDerivative_Meta_Local(
int iMeta,
int ilocal,
int metaSet)
const override;
71 virtual double getSecondDerivative_Meta_Local(
int iMeta,
int ilocal,
int jlocal,
int metaSet)
const override;
73 virtual int getNPar()
const override {
return NPAR;}
79 double PgFromPz(
double pz);
81 void updateCache()
const override;
83 mutable bool cachevalid;
85 mutable double pt2, p2, p, pz,
86 dpx0, dpy0, dpz0, dE0, dpx1, dpy1, dpz1, dE1,
87 dpx2, dpy2, dpz2, dE2, d2pz22, d2E22,
89 b, PzMinB, PzMaxB, dp2zFact;
virtual double getDPx(int ilocal) const override
Return d p_x / d par_ilocal (derivative of px w.r.t. local parameter ilocal)
virtual double getDPy(int ilocal) const override
Return d p_y / d par_ilocal (derivative of py w.r.t. local parameter ilocal)
virtual int getNPar() const override
Get total number of parameters of this FitObject.
virtual double getDE(int ilocal) const override
Return d E / d par_ilocal (derivative of E w.r.t. local parameter ilocal)
ISRPhotonFitObject & operator=(const ISRPhotonFitObject &rhs)
Assignment.
virtual ISRPhotonFitObject & assign(const BaseFitObject &source) override
Assign from anther object, if of same type.
virtual const char * getParamName(int ilocal) const override
Get name of parameter ilocal.
virtual double getDPz(int ilocal) const override
Return d p_z / d par_ilocal (derivative of pz w.r.t. local parameter ilocal)
virtual bool updateParams(double p[], int idim) override
Read values from global vector, readjust vector; return: significant change.
virtual ISRPhotonFitObject * copy() const override
Return a new copy of itself.
Abstract base class for different kinds of events.