00001 #ifndef FWCore_Services_JobReportService_h 00002 #define FWCore_Services_JobReportService_h 00003 // -*- C++ -*- 00004 // 00005 // Package: Services 00006 // Class : JobReport 00007 // 00020 // 00021 // Original Author: Marc Paterno 00022 // $Id: JobReportService.h,v 1.3 2010/03/09 16:24:55 wdd Exp $ 00023 // 00024 00025 #include <string> 00026 00027 #include "FWCore/MessageLogger/interface/JobReport.h" 00028 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00029 #include "FWCore/ServiceRegistry/interface/ActivityRegistry.h" 00030 00031 namespace edm { 00032 class ConfigurationDescriptions; 00033 00034 namespace service { 00035 class JobReportService : public JobReport { 00036 public: 00037 JobReportService(ParameterSet const& ps, ActivityRegistry& reg); 00038 ~JobReportService(); 00039 00040 void postBeginJob(); 00041 void postEndJob(); 00042 00043 void preEventProcessing(const edm::EventID&, const edm::Timestamp&); 00044 void postEventProcessing(const Event&, const EventSetup&); 00045 00046 void preModule(const ModuleDescription&); 00047 void postModule(const ModuleDescription&); 00048 00049 void frameworkShutdownOnFailure(); 00050 00051 static void fillDescriptions(edm::ConfigurationDescriptions & descriptions); 00052 }; 00053 } 00054 } 00055 00056 #endif