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 #include "CondFormats/HcalObjects/interface/HcalElectronicsMap.h" 00016 00017 //additional include files 00018 #include "HtrXmlPatternTool.h" 00019 #include "HtrXmlPatternToolParameters.h" 00020 00021 class HtrXmlPattern : public edm::EDAnalyzer { 00022 public: 00023 explicit HtrXmlPattern(const edm::ParameterSet&); 00024 ~HtrXmlPattern(); 00025 00026 private: 00027 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00028 virtual void endJob() ; 00029 virtual void do_hand_fill(const HcalElectronicsMap*); 00030 HtrXmlPatternTool *m_tool; 00031 HtrXmlPatternToolParameters *m_toolparameters; 00032 int m_sets_to_show; 00033 int m_hand_pattern_number; 00034 bool m_fill_by_hand; 00035 bool m_filled; 00036 bool m_write_root_file; 00037 }; 00038 00039 #endif