CMS 3D CMS Logo

SummaryPlot.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommissioningSummary_SummaryPlot_H
2 #define DQM_SiStripCommissioningSummary_SummaryPlot_H
3 
5 #include <iostream>
6 #include <sstream>
7 #include <string>
8 
9 class SummaryPlot;
10 
12 std::ostream& operator<<(std::ostream&, const SummaryPlot&);
13 
19 class SummaryPlot {
20 public:
21  // ---------- Con(de)structors ----------
22 
26  const std::string& granularity,
27  const std::string& level);
28 
30  SummaryPlot(const SummaryPlot&);
31 
33  SummaryPlot();
34 
36  ~SummaryPlot() { ; }
37 
38  // ---------- Access to member data ----------
39 
41  inline const sistrip::Monitorable& monitorable() const;
42 
44  inline const sistrip::Presentation& presentation() const;
45 
47  inline const sistrip::View& view() const;
48 
50  inline const sistrip::Granularity& granularity() const;
51 
53  inline const std::string& level() const;
54 
55  // ---------- Utility methods ----------
56 
58  inline const bool& isValid() const;
59 
61  void reset();
62 
64  void print(std::stringstream&) const;
65 
66 private:
67  // ---------- Private methods ----------
68 
70  void check();
71 
72  // ---------- Private member data ----------
73 
75 
77 
79 
81 
83 
84  bool isValid_;
85 };
86 
87 // ---------- Inline methods ----------
88 
91 const sistrip::View& SummaryPlot::view() const { return view_; }
93 const std::string& SummaryPlot::level() const { return level_; }
94 const bool& SummaryPlot::isValid() const { return isValid_; }
95 
96 #endif // DQM_SiStripCommissioningSummary_SummaryPlot_H
sistrip::Granularity
Granularity
Definition: ConstantsForGranularity.h:60
SummaryPlot::monitorable
const sistrip::Monitorable & monitorable() const
Definition: SummaryPlot.h:89
operator<<
std::ostream & operator<<(std::ostream &, const SummaryPlot &)
Definition: SummaryPlot.cc:145
sistrip::View
View
Definition: ConstantsForView.h:26
SummaryPlot::print
void print(std::stringstream &) const
Definition: SummaryPlot.cc:134
SummaryPlot::view_
sistrip::View view_
Definition: SummaryPlot.h:78
SummaryPlot::level_
std::string level_
Definition: SummaryPlot.h:82
SummaryPlot::mon_
sistrip::Monitorable mon_
Definition: SummaryPlot.h:74
SummaryPlot::check
void check()
Definition: SummaryPlot.cc:103
SummaryPlot::granularity
const sistrip::Granularity & granularity() const
Definition: SummaryPlot.h:92
sistrip::Monitorable
Monitorable
Definition: ConstantsForMonitorable.h:200
SummaryPlot::~SummaryPlot
~SummaryPlot()
Definition: SummaryPlot.h:36
sistrip::Presentation
Presentation
Definition: ConstantsForPresentation.h:28
SummaryPlot::SummaryPlot
SummaryPlot()
Definition: SummaryPlot.cc:80
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripConstants.h
SummaryPlot::presentation
const sistrip::Presentation & presentation() const
Definition: SummaryPlot.h:90
presentation
Definition: presentation.py:1
SummaryPlot::isValid
const bool & isValid() const
Definition: SummaryPlot.h:94
SummaryPlot::reset
void reset()
Definition: SummaryPlot.cc:92
SummaryPlot::view
const sistrip::View & view() const
Definition: SummaryPlot.h:91
SummaryPlot::gran_
sistrip::Granularity gran_
Definition: SummaryPlot.h:80
SummaryPlot::isValid_
bool isValid_
Definition: SummaryPlot.h:84
SummaryPlot::level
const std::string & level() const
Definition: SummaryPlot.h:93
SummaryPlot::pres_
sistrip::Presentation pres_
Definition: SummaryPlot.h:76
SummaryPlot
Class holding info that defines a summary plot.
Definition: SummaryPlot.h:19