00001 #ifndef JetVertexAssociation_h 00002 #define JetVertexAssociation_h 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "DataFormats/Common/interface/EDProduct.h" 00006 00007 #include "JetMETCorrections/JetVertexAssociation/interface/JetVertexMain.h" 00008 00009 #include <memory> 00010 #include <string> 00011 #include <iostream> 00012 #include <iomanip> 00013 #include <cmath> 00014 #include <vector> 00015 00016 00017 namespace edm { 00018 class ParameterSet; 00019 class Event; 00020 class EventSetup; 00021 } 00022 00023 namespace cms{ 00024 00025 class JetVertexAssociation : public edm::EDProducer{ 00026 00027 public: 00028 00029 JetVertexAssociation (const edm::ParameterSet& ps); 00030 00031 ~JetVertexAssociation () {} 00032 00033 void produce(edm::Event& e, const edm::EventSetup& c); 00034 00035 private: 00036 typedef std::vector<double> ResultCollection1; 00037 typedef std::vector<bool> ResultCollection2; 00038 00039 JetVertexMain m_algo; 00040 std::string jet_algo; 00041 std::string track_algo; 00042 std::string vertex_algo; 00043 00044 }; 00045 } 00046 00047 00048 #endif