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 
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
edm::WorkerSummary::timesVisited
int timesVisited
Definition: TriggerReport.h:45
edm::WorkerSummary::moduleLabel
std::string moduleLabel
Definition: TriggerReport.h:51
edm::ModuleInPathSummary::timesFailed
int timesFailed
Definition: TriggerReport.h:27
edm::EventSummary::totalEvents
int totalEvents
Definition: TriggerReport.h:19
edm::PathSummary::timesFailed
int timesFailed
Definition: TriggerReport.h:37
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ModuleInPathSummary::timesExcept
int timesExcept
Definition: TriggerReport.h:28
edm::EventSummary
Definition: TriggerReport.h:18
edm::ModuleInPathSummary::timesPassed
int timesPassed
Definition: TriggerReport.h:26
edm::PathSummary::moduleInPathSummaries
std::vector< ModuleInPathSummary > moduleInPathSummaries
Definition: TriggerReport.h:41
edm::PathSummary::name
std::string name
Definition: TriggerReport.h:40
edm::TriggerReport::trigPathSummaries
std::vector< PathSummary > trigPathSummaries
Definition: TriggerReport.h:58
edm::WorkerSummary::timesExcept
int timesExcept
Definition: TriggerReport.h:49
edm::ModuleInPathSummary::moduleLabel
std::string moduleLabel
Definition: TriggerReport.h:30
edm::TriggerReport::workerSummaries
std::vector< WorkerSummary > workerSummaries
Definition: TriggerReport.h:60
edm::PathSummary::bitPosition
int bitPosition
Definition: TriggerReport.h:34
edm::operator<
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition: DetSet.h:89
edm::WorkerSummary::timesRun
int timesRun
Definition: TriggerReport.h:46
b
double b
Definition: hdecay.h:118
edm::WorkerSummary
Definition: TriggerReport.h:44
edm::WorkerSummary::timesPassed
int timesPassed
Definition: TriggerReport.h:47
a
double a
Definition: hdecay.h:119
edm::TriggerReport::eventSummary
EventSummary eventSummary
Definition: TriggerReport.h:57
edm::EventSummary::totalEventsPassed
int totalEventsPassed
Definition: TriggerReport.h:20
edm::TriggerReport
Definition: TriggerReport.h:56
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ModuleInPathSummary::timesVisited
int timesVisited
Definition: TriggerReport.h:25
edm::ModuleInPathSummary
Definition: TriggerReport.h:24
edm::PathSummary
Definition: TriggerReport.h:33
edm::PathSummary::timesRun
int timesRun
Definition: TriggerReport.h:35
edm::WorkerSummary::timesFailed
int timesFailed
Definition: TriggerReport.h:48
edm::PathSummary::timesPassed
int timesPassed
Definition: TriggerReport.h:36
edm::PathSummary::timesExcept
int timesExcept
Definition: TriggerReport.h:38
edm::TriggerReport::endPathSummaries
std::vector< PathSummary > endPathSummaries
Definition: TriggerReport.h:59
edm::EventSummary::totalEventsFailed
int totalEventsFailed
Definition: TriggerReport.h:21