CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/PhysicsTools/KinFitter/interface/TFitParticleESpher.h

Go to the documentation of this file.
00001 #ifndef TFitParticleESpher_hh
00002 #define TFitParticleESpher_hh
00003 
00004 
00005 #include "PhysicsTools/KinFitter/interface/TAbsFitParticle.h"
00006 #include "TLorentzVector.h"
00007 #include "TMatrixD.h"
00008 
00009 
00010 class TFitParticleESpher: public TAbsFitParticle {
00011 
00012 public :
00013 
00014   TFitParticleESpher();
00015   TFitParticleESpher( const TFitParticleESpher& fitParticle );
00016   TFitParticleESpher(TLorentzVector* pini, const TMatrixD* theCovMatrix);
00017   TFitParticleESpher(const TString &name, const TString &title, 
00018                TLorentzVector* pini,
00019                const TMatrixD* theCovMatrix);
00020   virtual ~TFitParticleESpher();
00021   virtual TAbsFitParticle* clone( TString newname = "" ) const;
00022 
00023   // returns derivative dP/dy with P=(p,E) and y=(r, theta, phi, ...) 
00024   // the free parameters of the fit. The columns of the matrix contain 
00025   // (dP/dr, dP/dtheta, ...).
00026   virtual TMatrixD* getDerivative();
00027   virtual TMatrixD* transform(const TLorentzVector& vec);
00028   virtual void setIni4Vec(const TLorentzVector* pini);
00029   virtual TLorentzVector* calc4Vec( const TMatrixD* params );
00030 
00031 protected :
00032 
00033   void init(TLorentzVector* pini, const TMatrixD* theCovMatrix);
00034 
00035 
00036 private:
00037   
00038 };
00039 
00040 #endif