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 
9 public:
12  TFitParticleEScaledMomDev(TLorentzVector* pini, const TMatrixD* theCovMatrix);
13  TFitParticleEScaledMomDev(const TString& name,
14  const TString& title,
15  TLorentzVector* pini,
16  const TMatrixD* theCovMatrix);
17  ~TFitParticleEScaledMomDev() override;
18  TAbsFitParticle* clone(const TString& newname = "") const override;
19 
20  // returns derivative dP/dy with P=(p,E) and y=(r, theta, phi, ...)
21  // the free parameters of the fit. The columns of the matrix contain
22  // (dP/dr, dP/dtheta, ...).
23  TMatrixD* getDerivative() override;
24  TMatrixD* transform(const TLorentzVector& vec) override;
25  void setIni4Vec(const TLorentzVector* pini) override;
26  TLorentzVector* calc4Vec(const TMatrixD* params) override;
27 
28 protected:
29  void init(TLorentzVector* pini, const TMatrixD* theCovMatrix);
30 
31 private:
32  ClassDefOverride(TFitParticleEScaledMomDev, 0)
33 };
34 
35 #endif
TMatrixD * transform(const TLorentzVector &vec) override
void setIni4Vec(const TLorentzVector *pini) override
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)
TAbsFitParticle * clone(const TString &newname="") const override
TLorentzVector * calc4Vec(const TMatrixD *params) override