CMS 3D CMS Logo

CTPPSPixelErrorSummary.h
Go to the documentation of this file.
1 #ifndef EventFilter_CTPPSRawToDigi_CTPPSPixelErrorSummary
2 #define EventFilter_CTPPSRawToDigi_CTPPSPixelErrorSummary
3 
4 #include <string>
5 #include <map>
6 
8 public:
11 
12  void add(const std::string& message, const std::string& details = "");
13  void printSummary() const;
14 
15 private:
16  bool m_debug;
19  std::map<std::string, std::size_t> m_errors;
20 };
21 #endif
CTPPSPixelErrorSummary(const std::string &category, const std::string &name, bool debug=false)
std::map< std::string, std::size_t > m_errors
void add(const std::string &message, const std::string &details="")
Definition: helper.h:56
#define debug
Definition: HDRShower.cc:19