CMS 3D CMS Logo

TFitParticleMomDev.h
Go to the documentation of this file.
1 
2 
3 #ifndef TFitParticleMomDev_hh
4 #define TFitParticleMomDev_hh
5 
6 
8 #include "TLorentzVector.h"
9 #include "TMatrixD.h"
10 
11 
13 
14 public :
15 
17  TFitParticleMomDev( const TFitParticleMomDev& fitParticle );
18  TFitParticleMomDev(TLorentzVector* pini, const TMatrixD* theCovMatrix);
19  TFitParticleMomDev(const TString &name, const TString &title,
20  TLorentzVector* pini,
21  const TMatrixD* theCovMatrix);
22  ~TFitParticleMomDev() override;
23  TAbsFitParticle* clone( const TString& newname = TString("") ) 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 };
41 
42 #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