Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 //
0002 // Adapted TtHadLRSignalSelCalc.h,v 1.1 2007/06/15 08:49:19 heyninck Exp
0003 // for fully hadronic channel
0004 
0005 #ifndef TtHadLRSignalSelCalc_h
0006 #define TtHadLRSignalSelCalc_h
0007 
0008 /**
0009   \class    TtHadLRSignalSelCalc TtHadLRSignalSelCalc.h "TopQuarkAnalysis/TopLeptonSelection/interface/TtHadLRSignalSelCalc.h"
0010   \brief    Class to calculate the jet combination LR value and purity from a root-file with fit functions
0011 
0012   \author   Jan Heyninck - adapted hadronic version mfhansen
0013 */
0014 
0015 #include "FWCore/Framework/interface/EventSetup.h"
0016 #include "FWCore/Framework/interface/Event.h"
0017 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0018 #include "FWCore/Utilities/interface/Exception.h"
0019 #include "AnalysisDataFormats/TopObjects/interface/TtHadEvtSolution.h"
0020 #include "TopQuarkAnalysis/TopTools/interface/LRHelpFunctions.h"
0021 
0022 #include "TF1.h"
0023 #include "TH1.h"
0024 #include "TFile.h"
0025 #include "TKey.h"
0026 #include "TString.h"
0027 
0028 class TtHadLRSignalSelCalc {
0029 public:
0030   TtHadLRSignalSelCalc();
0031   TtHadLRSignalSelCalc(const TString&, const std::vector<int>&);
0032   ~TtHadLRSignalSelCalc();
0033   void operator()(TtHadEvtSolution&);
0034 
0035 private:
0036   LRHelpFunctions* myLR;
0037   bool addPurity;
0038 };
0039 
0040 #endif