CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/FWCore/Framework/interface/TriggerReport.h

Go to the documentation of this file.
00001 #ifndef FWCore_Framework_TriggerReport_h
00002 #define FWCore_Framework_TriggerReport_h
00003 
00004 /*----------------------------------------------------------------------
00005 
00006 TriggerReport: This struct contains all the information relevant to
00007 reporting on the behavior of the trigger.ed at the time of its
00008 creation.
00009 
00010 $Id: TriggerReport.h,v 1.2 2007/06/14 17:52:16 wmtan Exp $
00011 
00012 ----------------------------------------------------------------------*/
00013 
00014 #include <string>
00015 #include <vector>
00016 
00017 namespace edm {
00018 
00019   struct EventSummary
00020   {
00021     int totalEvents;
00022     int totalEventsPassed;
00023     int totalEventsFailed;
00024   };
00025 
00026   struct ModuleInPathSummary
00027   {
00028     int timesVisited;
00029     int timesPassed;
00030     int timesFailed;
00031     int timesExcept;
00032 
00033     std::string moduleLabel;
00034   };
00035 
00036 
00037   struct PathSummary
00038   {
00039     int bitPosition;
00040     int timesRun;
00041     int timesPassed;
00042     int timesFailed;
00043     int timesExcept;
00044 
00045     std::string name;
00046     std::vector<ModuleInPathSummary> moduleInPathSummaries;
00047   };
00048 
00049   struct WorkerSummary
00050   {
00051     int timesVisited;
00052     int timesRun;
00053     int timesPassed;
00054     int timesFailed;
00055     int timesExcept;
00056 
00057     std::string moduleLabel;
00058   };
00059 
00060 
00061   struct TriggerReport
00062   {
00063     EventSummary               eventSummary;
00064     std::vector<PathSummary>   trigPathSummaries;
00065     std::vector<PathSummary>   endPathSummaries;
00066     std::vector<WorkerSummary> workerSummaries;
00067   };
00068 
00069 }
00070 #endif