CMS 3D CMS Logo

TriggerReport.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_TriggerReport_h
2 #define FWCore_Framework_TriggerReport_h
3 
4 /*----------------------------------------------------------------------
5 
6 TriggerReport: This struct contains all the information relevant to
7 reporting on the behavior of the trigger.ed at the time of its
8 creation.
9 
10 
11 ----------------------------------------------------------------------*/
12 
13 #include <string>
14 #include <vector>
15 
16 namespace edm {
17 
18  struct EventSummary {
19  int totalEvents = 0;
22  };
23 
25  int timesVisited = 0;
26  int timesPassed = 0;
27  int timesFailed = 0;
28  int timesExcept = 0;
29  int bitPosition = 0;
30 
32  };
33 
34  struct PathSummary {
35  int bitPosition = 0;
36  int timesRun = 0;
37  int timesPassed = 0;
38  int timesFailed = 0;
39  int timesExcept = 0;
40 
42  std::vector<ModuleInPathSummary> moduleInPathSummaries;
43  };
44 
45  struct WorkerSummary {
46  int timesVisited = 0;
47  int timesRun = 0;
48  int timesPassed = 0;
49  int timesFailed = 0;
50  int timesExcept = 0;
51 
53  };
54 
55  inline bool operator<(WorkerSummary const& a, WorkerSummary const& b) { return a.moduleLabel < b.moduleLabel; }
56 
57  struct TriggerReport {
59  std::vector<PathSummary> trigPathSummaries;
60  std::vector<PathSummary> endPathSummaries;
61  std::vector<WorkerSummary> workerSummaries;
62  };
63 
64 } // namespace edm
65 #endif
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition: DetSet.h:89
std::vector< PathSummary > endPathSummaries
Definition: TriggerReport.h:60
std::vector< WorkerSummary > workerSummaries
Definition: TriggerReport.h:61
std::string moduleLabel
Definition: TriggerReport.h:52
std::vector< PathSummary > trigPathSummaries
Definition: TriggerReport.h:59
EventSummary eventSummary
Definition: TriggerReport.h:58
std::string name
Definition: TriggerReport.h:41
double b
Definition: hdecay.h:120
HLT enums.
double a
Definition: hdecay.h:121
std::vector< ModuleInPathSummary > moduleInPathSummaries
Definition: TriggerReport.h:42