Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:20

0001 //
0002 // Author:  Jan Heyninck
0003 // Created: Tue Apr  3 17:33:23 PDT 2007
0004 //
0005 //
0006 
0007 #ifndef TtSemiLRJetCombCalc_h
0008 #define TtSemiLRJetCombCalc_h
0009 
0010 /**
0011   \class    TtSemiLRJetCombCalc TtSemiLRJetCombCalc.h "TopQuarkAnalysis/TopLeptonSelection/interface/TtSemiLRJetCombCalc.h"
0012   \brief    Class to calculate the jet combination LR value and purity from a root-file with fit functions
0013 
0014   \author   Jan Heyninck
0015   \version  $Id: TtSemiLRJetCombCalc.h,v 1.4 2008/02/17 11:27:11 rwolf Exp $
0016 */
0017 
0018 #include "FWCore/Framework/interface/EventSetup.h"
0019 #include "FWCore/Framework/interface/Event.h"
0020 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0021 #include "FWCore/Utilities/interface/Exception.h"
0022 #include "AnalysisDataFormats/TopObjects/interface/TtSemiEvtSolution.h"
0023 #include "TopQuarkAnalysis/TopTools/interface/LRHelpFunctions.h"
0024 
0025 #include "TF1.h"
0026 #include "TH1.h"
0027 #include "TFile.h"
0028 #include "TKey.h"
0029 #include "TString.h"
0030 
0031 class TtSemiLRJetCombCalc {
0032 public:
0033   TtSemiLRJetCombCalc();
0034   TtSemiLRJetCombCalc(const TString&, const std::vector<int>&);
0035   ~TtSemiLRJetCombCalc();
0036 
0037   void operator()(TtSemiEvtSolution&);
0038 
0039 private:
0040   LRHelpFunctions* myLR;
0041   bool addPurity;
0042 };
0043 
0044 #endif