00001 // 00002 // Author: Jan Heyninck 00003 // Created: Tue Apr 3 17:33:23 PDT 2007 00004 // 00005 // $Id: TtSemiLRJetCombObservables.h,v 1.7 2010/03/25 09:22:18 snaumann Exp $ 00006 // 00007 00008 #ifndef TtSemiLRJetCombObservables_h 00009 #define TtSemiLRJetCombObservables_h 00010 00027 #include "FWCore/Framework/interface/EventSetup.h" 00028 #include "FWCore/Framework/interface/Event.h" 00029 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00030 #include "FWCore/Utilities/interface/Exception.h" 00031 00032 // General C++ stuff 00033 #include <iostream> 00034 #include <string> 00035 #include <vector> 00036 #include <Math/VectorUtil.h> 00037 00038 #include "AnalysisDataFormats/TopObjects/interface/TtSemiEvtSolution.h" 00039 00040 class TtSemiLRJetCombObservables { 00041 00042 public: 00043 00044 typedef std::pair<unsigned int,bool> IntBoolPair; 00045 00046 TtSemiLRJetCombObservables(); 00047 ~TtSemiLRJetCombObservables(); 00048 00049 std::vector< IntBoolPair > operator()(TtSemiEvtSolution&, const edm::Event & iEvent,bool matchOnly = false); 00050 //void operator()(TtSemiEvtSolution&); 00051 void jetSource(const edm::InputTag & jetSource) {jetSource_ = jetSource;} 00052 00053 private: 00054 00055 typedef std::pair<unsigned int,double> IntDblPair; 00056 //std::vector<std::pair<unsigned int,double> > jetCombVarVal; 00057 00058 edm::InputTag jetSource_; 00059 00060 std::vector< IntDblPair > evtselectVarVal; 00061 std::vector< IntBoolPair > evtselectVarMatch; 00062 }; 00063 00064 #endif