CMS 3D CMS Logo

TFitParticleMomDev.h
Go to the documentation of this file.
1 
2 
3 #ifndef TFitParticleMomDev_hh
4 #define TFitParticleMomDev_hh
5 
7 #include "TLorentzVector.h"
8 #include "TMatrixD.h"
9 
11 public:
13  TFitParticleMomDev(const TFitParticleMomDev& fitParticle);
14  TFitParticleMomDev(TLorentzVector* pini, const TMatrixD* theCovMatrix);
15  TFitParticleMomDev(const TString& name, const TString& title, TLorentzVector* pini, const TMatrixD* theCovMatrix);
16  ~TFitParticleMomDev() override;
17  TAbsFitParticle* clone(const TString& newname = TString("")) 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(TFitParticleMomDev, 0)
32 };
33 
34 #endif
void setIni4Vec(const TLorentzVector *pini) override
TAbsFitParticle * clone(const TString &newname=TString("")) const override
TLorentzVector * calc4Vec(const TMatrixD *params) override
~TFitParticleMomDev() override
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)
TMatrixD * getDerivative() override
TMatrixD * transform(const TLorentzVector &vec) override