CMS 3D CMS Logo

TFitParticleEScaledMomDev.h
Go to the documentation of this file.
1 #ifndef TFitParticleEScaledMomDev_hh
2 #define TFitParticleEScaledMomDev_hh
3 
5 #include "TLorentzVector.h"
6 #include "TMatrixD.h"
7 
8 
10 
11 public :
12 
15  TFitParticleEScaledMomDev(TLorentzVector* pini, const TMatrixD* theCovMatrix);
16  TFitParticleEScaledMomDev(const TString &name, const TString &title,
17  TLorentzVector* pini, const TMatrixD* theCovMatrix);
18  ~TFitParticleEScaledMomDev() override;
19  TAbsFitParticle* clone( const TString& newname = "" ) const override;
20 
21  // returns derivative dP/dy with P=(p,E) and y=(r, theta, phi, ...)
22  // the free parameters of the fit. The columns of the matrix contain
23  // (dP/dr, dP/dtheta, ...).
24  TMatrixD* getDerivative() override;
25  TMatrixD* transform(const TLorentzVector& vec) override;
26  void setIni4Vec(const TLorentzVector* pini) override;
27  TLorentzVector* calc4Vec( const TMatrixD* params ) override;
28 
29 protected :
30 
31  void init(TLorentzVector* pini, const TMatrixD* theCovMatrix);
32 
33 };
34 
35 #endif
TAbsFitParticle * clone(const TString &newname="") const override
TMatrixD * transform(const TLorentzVector &vec) override
void setIni4Vec(const TLorentzVector *pini) override
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)
TLorentzVector * calc4Vec(const TMatrixD *params) override