1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#ifndef FWCore_Services_JobReportService_h
#define FWCore_Services_JobReportService_h
// -*- C++ -*-
//
// Package: Services
// Class : JobReport
//
/**\class JobReportService JobReportService.h FWCore/Services/src/JobReportService.h
Description: A service that collections job handling information.
Usage:
The JobReport service collects 'job handling' information (currently
file handling) from several sources, collates the information, and
at appropriate intervales, reports the information to the job report,
through the MessageLogger.
*/
//
// Original Author: Marc Paterno
//
#include <string>
#include "FWCore/MessageLogger/interface/JobReport.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ServiceRegistry/interface/ActivityRegistry.h"
namespace edm {
class ConfigurationDescriptions;
namespace service {
class JobReportService : public JobReport {
public:
JobReportService(ParameterSet const& ps, ActivityRegistry& reg);
~JobReportService();
void postEndJob();
void frameworkShutdownOnFailure();
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
};
inline bool isProcessWideService(JobReportService const*) { return true; }
} // namespace service
} // namespace edm
#endif
|