CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/TopQuarkAnalysis/TopKinFitter/interface/StKinFitter.h

Go to the documentation of this file.
00001 //
00002 // $Id: StKinFitter.h,v 1.4 2010/09/06 13:46:16 snaumann Exp $
00003 //
00004 
00005 #ifndef TopKinFitter_StKinFitter_h
00006 #define TopKinFitter_StKinFitter_h
00007 
00008 #include "AnalysisDataFormats/TopObjects/interface/StEvtSolution.h"
00009 
00010 #include "TopQuarkAnalysis/TopKinFitter/interface/TopKinFitter.h"
00011 
00012 #include "TLorentzVector.h"
00013 
00014 #include <vector>
00015 
00016 class TKinFitter;
00017 class TAbsFitParticle;
00018 class TFitConstraintM;
00019 
00020 class StKinFitter : public TopKinFitter {
00021 
00022   public:
00023 
00024     StKinFitter();
00025     StKinFitter(int jetParam, int lepParam, int metParam, int maxNrIter, double maxDeltaS, double maxF, std::vector<int> constraints);
00026     StKinFitter(Param jetParam, Param lepParam, Param metParam, int maxNrIter, double maxDeltaS, double maxF, std::vector<int> constraints);
00027     ~StKinFitter();
00028 
00029     StEvtSolution addKinFitInfo(StEvtSolution * asol);
00030 
00031   private:
00032 
00033     void setupFitter();
00034 
00035   private:
00036 
00037     // the particles that enter the kinematic fit
00038     TAbsFitParticle * fitBottom_;
00039     TAbsFitParticle * fitLight_;
00040     TAbsFitParticle * fitLepton_;
00041     TAbsFitParticle * fitNeutrino_;
00042     // the constraints on the fit
00043     TFitConstraintM  * cons1_;
00044     TFitConstraintM  * cons2_;
00045     TFitConstraintM  * cons3_;
00046     // other parameters
00047     Param jetParam_, lepParam_, metParam_;
00048     std::vector<int> constraints_;
00049 };
00050 
00051 
00052 #endif