Go to the documentation of this file.00001 #ifndef TFitParticleMCSpher_hh
00002 #define TFitParticleMCSpher_hh
00003
00004 #include "TMatrixD.h"
00005 #include "PhysicsTools/KinFitter/interface/TAbsFitParticle.h"
00006 #include "TLorentzVector.h"
00007 #include "TVector3.h"
00008
00009 class TFitParticleMCSpher: public TAbsFitParticle {
00010
00011 public :
00012
00013 TFitParticleMCSpher();
00014 TFitParticleMCSpher( const TFitParticleMCSpher& fitParticle );
00015 TFitParticleMCSpher(TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
00016 TFitParticleMCSpher(const TString &name, const TString &title,
00017 TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
00018 virtual ~TFitParticleMCSpher();
00019 virtual TAbsFitParticle* clone( TString newname = "" ) const;
00020
00021
00022
00023
00024 virtual TMatrixD* getDerivative();
00025 virtual TMatrixD* transform(const TLorentzVector& vec);
00026 virtual void setIni4Vec(const TLorentzVector* pini);
00027 void setIni4Vec(const TVector3* p, Double_t M);
00028 virtual TLorentzVector* calc4Vec( const TMatrixD* params );
00029
00030 protected :
00031
00032 void init(TVector3* p, Double_t M, const TMatrixD* theCovMatrix);
00033
00034
00035 private:
00036 };
00037
00038 #endif