00001 #ifndef HepMCProductAnalyzer_h 00002 #define HepMCProductAnalyzer_h 00003 // -*- C++ -*- 00004 // 00005 // Package: HepMCProductAnalyzer 00006 // Class: HepMCProductAnalyzer 00007 // 00015 // 00016 // Original Author: Filip Moortgat 00017 // Created: Mon Jan 16 17:56:07 CET 2006 00018 // $Id: HepMCProductAnalyzer.h,v 1.1 2007/03/20 09:38:31 fmoortga Exp $ 00019 // 00020 // 00021 00022 00023 // system include files 00024 #include <memory> 00025 #include <string> 00026 00027 // user include files 00028 #include "FWCore/Framework/interface/Frameworkfwd.h" 00029 #include "FWCore/Framework/interface/EDAnalyzer.h" 00030 00031 #include "FWCore/Framework/interface/Event.h" 00032 #include "FWCore/Framework/interface/MakerMacros.h" 00033 00034 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00035 00036 00037 //#include "SimDataFormats/HepMCProduct/interface/HepMCProduct.h" 00038 // 00039 // class decleration 00040 // 00041 00042 class HepMCProductAnalyzer : public edm::EDAnalyzer { 00043 public: 00044 explicit HepMCProductAnalyzer(const edm::ParameterSet&); 00045 ~HepMCProductAnalyzer(); 00046 00047 00048 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00049 private: 00050 // ----------member data --------------------------- 00051 00052 std::string label_; 00053 00054 }; 00055 #endif