CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TFitParticleMomDev.h
Go to the documentation of this file.
1 
2 
3 #ifndef TFitParticleMomDev_hh
4 #define TFitParticleMomDev_hh
5 
6 
8 #include "TLorentzVector.h"
9 #include "TMatrixD.h"
10 
11 
13 
14 public :
15 
17  TFitParticleMomDev( const TFitParticleMomDev& fitParticle );
18  TFitParticleMomDev(TLorentzVector* pini, const TMatrixD* theCovMatrix);
19  TFitParticleMomDev(const TString &name, const TString &title,
20  TLorentzVector* pini,
21  const TMatrixD* theCovMatrix);
22  virtual ~TFitParticleMomDev();
23  virtual TAbsFitParticle* clone( const TString& newname = TString("") ) 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 TMatrixD * transform(const TLorentzVector &vec)
virtual TLorentzVector * calc4Vec(const TMatrixD *params)
virtual TMatrixD * getDerivative()
virtual void setIni4Vec(const TLorentzVector *pini)
void init(TLorentzVector *pini, const TMatrixD *theCovMatrix)
virtual TAbsFitParticle * clone(const TString &newname=TString("")) const