CMS 3D CMS Logo

TFitConstraintMGaus.h

Go to the documentation of this file.
00001 using namespace std;
00002 
00003 #ifndef TFitConstraintMGaus_hh
00004 #define TFitConstraintMGaus_hh
00005 
00006 #include "PhysicsTools/KinFitter/interface/TFitConstraintM.h"
00007 
00008 #include <vector>
00009 
00010 //class TMatrixD;
00011 class TAbsFitParticle;
00012 
00013 class TFitConstraintMGaus: public TFitConstraintM {
00014 
00015 public :
00016 
00017   TFitConstraintMGaus();
00018   TFitConstraintMGaus(vector<TAbsFitParticle*>* ParList1,
00019                       vector<TAbsFitParticle*>* ParList2,
00020                       Double_t Mass = 0, Double_t Width = 0);
00021   TFitConstraintMGaus(const TString &name, const TString &title,
00022                       vector<TAbsFitParticle*>* ParList1,
00023                       vector<TAbsFitParticle*>* ParList2,
00024                       Double_t Mass = 0, Double_t Width = 0);
00025 
00026   virtual ~TFitConstraintMGaus();
00027 
00028   virtual Double_t getInitValue();
00029   virtual Double_t getCurrentValue();
00030   virtual TMatrixD* getDerivativeAlpha();
00031 
00032   void setMassConstraint(Double_t Mass, Double_t Width);
00033 
00034   virtual TString getInfoString();
00035   virtual void print(); 
00036 
00037 protected :
00038   
00039   Double_t _width;
00040 
00041   void init();
00042 
00043   ClassDef(TFitConstraintMGaus, 1)   // Fit constraint: mass conservation
00044 
00045 };
00046 
00047 #endif
00048 

Generated on Tue Jun 9 17:41:15 2009 for CMSSW by  doxygen 1.5.4