CMS 3D CMS Logo

CTPPSRawToDigiErrorSummary.h
Go to the documentation of this file.
1 #ifndef EventFilter_CTPPSRawToDigi_CTPPSRawToDigiErrorSummary
2 #define EventFilter_CTPPSRawToDigi_CTPPSRawToDigiErrorSummary
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
Definition: helper.h:56
std::map< std::string, std::size_t > m_errors
CTPPSRawToDigiErrorSummary(const std::string &category, const std::string &name, bool debug=false)
void add(const std::string &message, const std::string &details="")
#define debug
Definition: HDRShower.cc:19