CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TFitParticleEMomDev.h
Go to the documentation of this file.
1 
2 
3 #ifndef TFitParticleEMomDev_hh
4 #define TFitParticleEMomDev_hh
5 
7 #include "TLorentzVector.h"
8 #include "TMatrixD.h"
9 
11 public:
13  TFitParticleEMomDev(const TFitParticleEMomDev& fitParticle);
14  TFitParticleEMomDev(TLorentzVector* pini, const TMatrixD* theCovMatrix);
15  TFitParticleEMomDev(const TString& name, const TString& title, TLorentzVector* pini, const TMatrixD* theCovMatrix);
16  ~TFitParticleEMomDev() override;
17  TAbsFitParticle* clone(const TString& newname = "") const override;
18 
19  // returns derivative dP/dy with P=(p,E) and y=(par1, par2, par3, ...)
20  // the free parameters of the fit. The columns of the matrix contain
21  // (dP/dpar1, dP/dpar2, ...).
22  TMatrixD* getDerivative() override;
23  TMatrixD* transform(const TLorentzVector& vec) override;
24  void setIni4Vec(const TLorentzVector* pini) override;
25  TLorentzVector* calc4Vec(const TMatrixD* params) override;
26 
27 protected:
28  void init(TLorentzVector* pini, const TMatrixD* theCovMatrix);
29 
30 private:
31  ClassDefOverride(TFitParticleEMomDev, 0)
32 };
33 
34 #endif
TLorentzVector * calc4Vec(const TMatrixD *params) override
TAbsFitParticle * clone(const TString &newname="") const override
void setIni4Vec(const TLorentzVector *pini) override
TMatrixD * getDerivative() override
TMatrixD * transform(const TLorentzVector &vec) override
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)