Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:19

0001 //
0002 //
0003 
0004 #ifndef TtSemiSimpleBestJetComb_h
0005 #define TtSemiSimpleBestJetComb_h
0006 
0007 /**
0008   \class    TtSemiSimpleBestJetComb TtSemiSimpleBestJetComb.h "TopQuarkAnalysis/TopLeptonSelection/interface/TtSemiSimpleBestJetComb.h"
0009   \brief    Simple method to get the correct jet combination in semileptonic ttbar events
0010 
0011    This method starts from a vector of fitted TtSemiEvtSolutions. This class returns the solution with the highest probChi^2 value. In case
0012    that there are more possibilities (eg when only a hadrW constraint was applied), the correct hadronic b is assumed to be the one with the
0013    smallest DR angle wrt the Whadr direction. 
0014 
0015   \author   Jan Heyninck
0016   \version  $Id: TtSemiSimpleBestJetComb.h,v 1.3 2007/09/20 18:03:21 lowette Exp $
0017 */
0018 
0019 #include "FWCore/Framework/interface/EventSetup.h"
0020 #include "FWCore/Framework/interface/Event.h"
0021 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0022 #include "FWCore/Utilities/interface/Exception.h"
0023 #include "AnalysisDataFormats/TopObjects/interface/TtSemiEvtSolution.h"
0024 
0025 #include "TF1.h"
0026 #include "TH1.h"
0027 #include "TFile.h"
0028 #include "TKey.h"
0029 #include "TString.h"
0030 #include <Math/VectorUtil.h>
0031 
0032 class TtSemiSimpleBestJetComb {
0033 public:
0034   TtSemiSimpleBestJetComb();
0035   ~TtSemiSimpleBestJetComb();
0036 
0037   int operator()(std::vector<TtSemiEvtSolution> &);
0038 
0039 private:
0040 };
0041 
0042 #endif