CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/EventFilter/Utilities/plugins/ExceptionGenerator.h

Go to the documentation of this file.
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 #include <vector>
00010 #include <string>
00011 
00012 namespace xgi{
00013   class Input;
00014   class Output;
00015 }
00016 
00017 #include <string>
00018 
00019 namespace evf{
00020     class ExceptionGenerator : public edm::EDAnalyzer, public evf::ModuleWeb
00021     {
00022     public:
00023       static const int menu_items = 10;
00024       static const std::string menu[menu_items];
00025                                                    
00026       explicit ExceptionGenerator( const edm::ParameterSet& );
00027       ~ExceptionGenerator(){};
00028       void beginJob();
00029       void beginRun(edm::Run& r);
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       int actionId_;
00038       unsigned int intqualifier_;
00039       std::string qualifier_;
00040       bool actionRequired_;
00041       std::string original_referrer_;
00042 
00043     };
00044   }
00045