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.2 2007/06/14 21:03:39 wmtan 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 namespace service { 00033 class JobReportService : public JobReport { 00034 public: 00035 JobReportService(ParameterSet const& ps, ActivityRegistry& reg); 00036 ~JobReportService(); 00037 00038 void postBeginJob(); 00039 void postEndJob(); 00040 00041 void preEventProcessing(const edm::EventID&, const edm::Timestamp&); 00042 void postEventProcessing(const Event&, const EventSetup&); 00043 00044 void preModule(const ModuleDescription&); 00045 void postModule(const ModuleDescription&); 00046 00047 void frameworkShutdownOnFailure(); 00048 00049 }; 00050 } 00051 } 00052 00053 #endif