Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 //
0002 // Author:  Jan Heyninck
0003 // Created: Tue Apr  3 17:33:23 PDT 2007
0004 //
0005 //
0006 
0007 #ifndef TtSemiLRSignalSelCalc_h
0008 #define TtSemiLRSignalSelCalc_h
0009 
0010 /**
0011   \class    TtSemiLRSignalSelCalc TtSemiLRSignalSelCalc.h "TopQuarkAnalysis/TopLeptonSelection/interface/TtSemiLRSignalSelCalc.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: TtSemiLRSignalSelCalc.h,v 1.2 2008/02/17 11:18:54 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 TtSemiLRSignalSelCalc {
0032 public:
0033   TtSemiLRSignalSelCalc();
0034   TtSemiLRSignalSelCalc(const TString&, const std::vector<int>&);
0035   ~TtSemiLRSignalSelCalc();
0036 
0037   void operator()(TtSemiEvtSolution&);
0038 
0039 private:
0040   LRHelpFunctions* myLR;
0041   bool addPurity;
0042 };
0043 
0044 #endif