CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TFitParticleESpher.h
Go to the documentation of this file.
1 #ifndef TFitParticleESpher_hh
2 #define TFitParticleESpher_hh
3 
5 #include "TLorentzVector.h"
6 #include "TMatrixD.h"
7 
9 public:
11  TFitParticleESpher(const TFitParticleESpher& fitParticle);
12  TFitParticleESpher(TLorentzVector* pini, const TMatrixD* theCovMatrix);
13  TFitParticleESpher(const TString& name, const TString& title, TLorentzVector* pini, const TMatrixD* theCovMatrix);
14  ~TFitParticleESpher() override;
15  TAbsFitParticle* clone(const TString& newname = TString("")) const override;
16 
17  // returns derivative dP/dy with P=(p,E) and y=(r, theta, phi, ...)
18  // the free parameters of the fit. The columns of the matrix contain
19  // (dP/dr, dP/dtheta, ...).
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(TFitParticleESpher, 0)
30 };
31 
32 #endif
TMatrixD * transform(const TLorentzVector &vec) override
~TFitParticleESpher() override
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)
TMatrixD * getDerivative() override
void setIni4Vec(const TLorentzVector *pini) override
TAbsFitParticle * clone(const TString &newname=TString("")) const override
TLorentzVector * calc4Vec(const TMatrixD *params) override