CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TFitParticleEMomDev.h
Go to the documentation of this file.
1 
2 
3 #ifndef TFitParticleEMomDev_hh
4 #define TFitParticleEMomDev_hh
5 
6 
8 #include "TLorentzVector.h"
9 #include "TMatrixD.h"
10 
11 
13 
14 public :
15 
17  TFitParticleEMomDev( const TFitParticleEMomDev& fitParticle );
18  TFitParticleEMomDev(TLorentzVector* pini, const TMatrixD* theCovMatrix);
19  TFitParticleEMomDev(const TString &name, const TString &title,
20  TLorentzVector* pini,
21  const TMatrixD* theCovMatrix);
22  virtual ~TFitParticleEMomDev();
23  virtual TAbsFitParticle* clone( TString newname = "" ) const;
24 
25  // returns derivative dP/dy with P=(p,E) and y=(par1, par2, par3, ...)
26  // the free parameters of the fit. The columns of the matrix contain
27  // (dP/dpar1, dP/dpar2, ...).
28  virtual TMatrixD* getDerivative();
29  virtual TMatrixD* transform(const TLorentzVector& vec);
30  virtual void setIni4Vec(const TLorentzVector* pini);
31  virtual TLorentzVector* calc4Vec( const TMatrixD* params );
32 
33 protected :
34 
35  void init(TLorentzVector* pini, const TMatrixD* theCovMatrix);
36 
37 
38 private:
39 
40 };
41 
42 #endif
virtual void setIni4Vec(const TLorentzVector *pini)
virtual TMatrixD * getDerivative()
virtual TAbsFitParticle * clone(TString newname="") const
virtual TMatrixD * transform(const TLorentzVector &vec)
virtual TLorentzVector * calc4Vec(const TMatrixD *params)
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)