00001 #ifndef HtrXmlPattern_h_included 00002 #define HtrXmlPattern_h_included 1 00003 00004 // system include files 00005 #include <memory> 00006 00007 // default include files 00008 #include "FWCore/Framework/interface/Frameworkfwd.h" 00009 #include "FWCore/Framework/interface/EDAnalyzer.h" 00010 00011 #include "FWCore/Framework/interface/Event.h" 00012 #include "FWCore/Framework/interface/MakerMacros.h" 00013 00014 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00015 00016 //additional include files 00017 #include "HtrXmlPatternTool.h" 00018 #include "HtrXmlPatternToolParameters.h" 00019 00020 class HtrXmlPattern : public edm::EDAnalyzer { 00021 public: 00022 explicit HtrXmlPattern(const edm::ParameterSet&); 00023 ~HtrXmlPattern(); 00024 00025 private: 00026 virtual void beginJob(const edm::EventSetup&) ; 00027 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00028 virtual void endJob() ; 00029 HtrXmlPatternTool *m_tool; 00030 HtrXmlPatternToolParameters *m_toolparameters; 00031 00032 int m_sets_to_show; 00033 bool m_write_XML; 00034 bool m_write_root_file; 00035 }; 00036 00037 #endif