CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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  int totalEvents = 0;
22  };
23 
25  int timesVisited = 0;
26  int timesPassed = 0;
27  int timesFailed = 0;
28  int timesExcept = 0;
29 
31  };
32 
33  struct PathSummary {
34  int bitPosition = 0;
35  int timesRun = 0;
36  int timesPassed = 0;
37  int timesFailed = 0;
38  int timesExcept = 0;
39 
41  std::vector<ModuleInPathSummary> moduleInPathSummaries;
42  };
43 
44  struct WorkerSummary {
45  int timesVisited = 0;
46  int timesRun = 0;
47  int timesPassed = 0;
48  int timesFailed = 0;
49  int timesExcept = 0;
50 
52  };
53 
54  inline bool operator<(WorkerSummary const& a, WorkerSummary const& b) { return a.moduleLabel < b.moduleLabel; }
55 
56  struct TriggerReport {
58  std::vector<PathSummary> trigPathSummaries;
59  std::vector<PathSummary> endPathSummaries;
60  std::vector<WorkerSummary> workerSummaries;
61  };
62 
63 } // namespace edm
64 #endif
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition: DetSet.h:89
std::vector< PathSummary > endPathSummaries
Definition: TriggerReport.h:59
std::vector< WorkerSummary > workerSummaries
Definition: TriggerReport.h:60
std::string moduleLabel
Definition: TriggerReport.h:51
std::vector< PathSummary > trigPathSummaries
Definition: TriggerReport.h:58
EventSummary eventSummary
Definition: TriggerReport.h:57
std::string name
Definition: TriggerReport.h:40
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
std::vector< ModuleInPathSummary > moduleInPathSummaries
Definition: TriggerReport.h:41