CMS 3D CMS Logo

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