File indexing completed on 2023-03-17 11:02:24
0001 #ifndef FWCore_Framework_TriggerReport_h
0002 #define FWCore_Framework_TriggerReport_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #include <string>
0014 #include <vector>
0015
0016 namespace edm {
0017
0018 struct EventSummary {
0019 int totalEvents = 0;
0020 int totalEventsPassed = 0;
0021 int totalEventsFailed = 0;
0022 };
0023
0024 struct ModuleInPathSummary {
0025 int timesVisited = 0;
0026 int timesPassed = 0;
0027 int timesFailed = 0;
0028 int timesExcept = 0;
0029 int bitPosition = 0;
0030
0031 std::string moduleLabel;
0032 };
0033
0034 struct PathSummary {
0035 int bitPosition = 0;
0036 int timesRun = 0;
0037 int timesPassed = 0;
0038 int timesFailed = 0;
0039 int timesExcept = 0;
0040
0041 std::string name;
0042 std::vector<ModuleInPathSummary> moduleInPathSummaries;
0043 };
0044
0045 struct WorkerSummary {
0046 int timesVisited = 0;
0047 int timesRun = 0;
0048 int timesPassed = 0;
0049 int timesFailed = 0;
0050 int timesExcept = 0;
0051
0052 std::string moduleLabel;
0053 };
0054
0055 inline bool operator<(WorkerSummary const& a, WorkerSummary const& b) { return a.moduleLabel < b.moduleLabel; }
0056
0057 struct TriggerReport {
0058 EventSummary eventSummary;
0059 std::vector<PathSummary> trigPathSummaries;
0060 std::vector<PathSummary> endPathSummaries;
0061 std::vector<WorkerSummary> workerSummaries;
0062 };
0063
0064 }
0065 #endif