00001 00002 #include <FWCore/Framework/interface/MakerMacros.h> 00003 #include <FWCore/Framework/interface/EDAnalyzer.h> 00004 #include <FWCore/Framework/interface/Event.h> 00005 #include "FWCore/ServiceRegistry/interface/Service.h" 00006 00007 #include "EventFilter/Utilities/interface/ModuleWeb.h" 00008 00009 00010 #include <vector> 00011 #include <string> 00012 00013 namespace xgi{ 00014 class Input; 00015 class Output; 00016 } 00017 00018 #include <string> 00019 00020 namespace evf{ 00021 class ExceptionGenerator : public edm::EDAnalyzer, public evf::ModuleWeb 00022 { 00023 public: 00024 static const int menu_items = 8; 00025 static const std::string menu[menu_items]; 00026 00027 explicit ExceptionGenerator( const edm::ParameterSet& ); 00028 ~ExceptionGenerator(){}; 00029 00030 void analyze(const edm::Event & e, const edm::EventSetup& c); 00031 void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&); 00032 00033 void defaultWebPage(xgi::Input *in, xgi::Output *out); 00034 void publish(xdata::InfoSpace *){}; 00035 00036 private: 00037 bool actionRequired_; 00038 std::string qualifier_; 00039 unsigned int intqualifier_; 00040 std::string original_referrer_; 00041 int actionId_; 00042 }; 00043 } 00044