CMS 3D CMS Logo

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