CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  {
20  int totalEvents = 0;
23  };
24 
26  {
27  int timesVisited = 0;
28  int timesPassed = 0;
29  int timesFailed = 0;
30  int timesExcept = 0;
31 
33  };
34 
35 
36  struct PathSummary
37  {
38  int bitPosition = 0;
39  int timesRun = 0;
40  int timesPassed = 0;
41  int timesFailed = 0;
42  int timesExcept = 0;
43 
45  std::vector<ModuleInPathSummary> moduleInPathSummaries;
46  };
47 
49  {
50  int timesVisited = 0;
51  int timesRun = 0;
52  int timesPassed = 0;
53  int timesFailed = 0;
54  int timesExcept = 0;
55 
57  };
58 
59  inline
60  bool operator<(WorkerSummary const& a, WorkerSummary const& b) {
61  return a.moduleLabel < b.moduleLabel;
62  }
63 
65  {
67  std::vector<PathSummary> trigPathSummaries;
68  std::vector<PathSummary> endPathSummaries;
69  std::vector<WorkerSummary> workerSummaries;
70  };
71 
72 }
73 #endif
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition: DetSet.h:90
std::vector< PathSummary > endPathSummaries
Definition: TriggerReport.h:68
std::vector< WorkerSummary > workerSummaries
Definition: TriggerReport.h:69
std::string moduleLabel
Definition: TriggerReport.h:56
std::vector< PathSummary > trigPathSummaries
Definition: TriggerReport.h:67
EventSummary eventSummary
Definition: TriggerReport.h:66
std::string name
Definition: TriggerReport.h:44
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
std::vector< ModuleInPathSummary > moduleInPathSummaries
Definition: TriggerReport.h:45