CMS 3D CMS Logo

TFitParticleEMomDev.h
Go to the documentation of this file.
1 
2 
3 #ifndef TFitParticleEMomDev_hh
4 #define TFitParticleEMomDev_hh
5 
6 
8 #include "TLorentzVector.h"
9 #include "TMatrixD.h"
10 
11 
13 
14 public :
15 
17  TFitParticleEMomDev( const TFitParticleEMomDev& fitParticle );
18  TFitParticleEMomDev(TLorentzVector* pini, const TMatrixD* theCovMatrix);
19  TFitParticleEMomDev(const TString &name, const TString &title,
20  TLorentzVector* pini,
21  const TMatrixD* theCovMatrix);
22  ~TFitParticleEMomDev() override;
23  TAbsFitParticle* clone( const TString& newname = "" ) const override;
24 
25  // returns derivative dP/dy with P=(p,E) and y=(par1, par2, par3, ...)
26  // the free parameters of the fit. The columns of the matrix contain
27  // (dP/dpar1, dP/dpar2, ...).
28  TMatrixD* getDerivative() override;
29  TMatrixD* transform(const TLorentzVector& vec) override;
30  void setIni4Vec(const TLorentzVector* pini) override;
31  TLorentzVector* calc4Vec( const TMatrixD* params ) override;
32 
33 protected :
34 
35  void init(TLorentzVector* pini, const TMatrixD* theCovMatrix);
36 
37 
38 private:
39 
40  ClassDefOverride(TFitParticleEMomDev, 0)
41 };
42 
43 #endif
TAbsFitParticle * clone(const TString &newname="") const override
TLorentzVector * calc4Vec(const TMatrixD *params) override
void setIni4Vec(const TLorentzVector *pini) override
TMatrixD * getDerivative() override
TMatrixD * transform(const TLorentzVector &vec) override
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)