CMS 3D CMS Logo

WarningSummary.h
Go to the documentation of this file.
1 #ifndef EventFilter_SiStripRawToDigi_WarningSummary
2 #define EventFilter_SiStripRawToDigi_WarningSummary 1
3 
4 #include <string>
5 #include <map>
6 
7 namespace sistrip {
8  class WarningSummary {
9  public:
10  WarningSummary(const std::string& category, const std::string& name, bool debug = false)
12 
13  void add(const std::string& message, const std::string& details = "");
14  void printSummary() const;
15 
16  private:
17  bool m_debug;
20  std::map<std::string, std::size_t> m_warnings;
21  };
22 } // namespace sistrip
23 #endif // EventFilter_SiStripRawToDigi_WarningSummary
sistrip::WarningSummary::m_warnings
std::map< std::string, std::size_t > m_warnings
Definition: WarningSummary.h:20
taus_updatedMVAIds_cff.category
category
Definition: taus_updatedMVAIds_cff.py:31
sistrip::WarningSummary::m_category
std::string m_category
Definition: WarningSummary.h:18
sistrip::WarningSummary::WarningSummary
WarningSummary(const std::string &category, const std::string &name, bool debug=false)
Definition: WarningSummary.h:10
sistrip::WarningSummary::add
void add(const std::string &message, const std::string &details="")
Definition: WarningSummary.cc:6
sistrip::WarningSummary::printSummary
void printSummary() const
Definition: WarningSummary.cc:22
debug
#define debug
Definition: HDRShower.cc:19
details
Definition: helper.h:56
sistrip::WarningSummary::m_debug
bool m_debug
Definition: WarningSummary.h:17
sistrip::WarningSummary::m_name
std::string m_name
Definition: WarningSummary.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
sistrip::WarningSummary
Definition: WarningSummary.h:8
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
sistrip
sistrip classes
Definition: SiStripQualityHelpers.h:14