00001 // 00002 // Author: Jan Heyninck 00003 // Created: Tue Apr 3 17:33:23 PDT 2007 00004 // 00005 // $Id: TtSemiLRJetCombObservables.h,v 1.6 2008/04/15 10:13:43 rwolf 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 using namespace std; 00041 00042 class TtSemiLRJetCombObservables { 00043 00044 public: 00045 00046 typedef pair<unsigned int,bool> IntBoolPair; 00047 00048 TtSemiLRJetCombObservables(); 00049 ~TtSemiLRJetCombObservables(); 00050 00051 vector< IntBoolPair > operator()(TtSemiEvtSolution&, const edm::Event & iEvent,bool matchOnly = false); 00052 //void operator()(TtSemiEvtSolution&); 00053 void jetSource(const edm::InputTag & jetSource) {jetSource_ = jetSource;} 00054 00055 private: 00056 00057 typedef pair<unsigned int,double> IntDblPair; 00058 //std::vector<std::pair<unsigned int,double> > jetCombVarVal; 00059 00060 edm::InputTag jetSource_; 00061 00062 vector< IntDblPair > evtselectVarVal; 00063 vector< IntBoolPair > evtselectVarMatch; 00064 }; 00065 00066 #endif