CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
21  public:
22 
23  // ---------- Con(de)structors ----------
24 
27  const std::string& presentation,
28  const std::string& granularity,
29  const std::string& level );
30 
32  SummaryPlot( const SummaryPlot& );
33 
35  SummaryPlot();
36 
39 
40  // ---------- Access to member data ----------
41 
43  inline const sistrip::Monitorable& monitorable() const;
44 
46  inline const sistrip::Presentation& presentation() const;
47 
49  inline const sistrip::View& view() const;
50 
52  inline const sistrip::Granularity& granularity() const;
53 
55  inline const std::string& level() const;
56 
57  // ---------- Utility methods ----------
58 
60  inline const bool& isValid() const;
61 
63  void reset();
64 
66  void print( std::stringstream& ) const;
67 
68  private:
69 
70  // ---------- Private methods ----------
71 
73  void check();
74 
75  // ---------- Private member data ----------
76 
78 
80 
82 
84 
86 
87  bool isValid_;
88 
89 };
90 
91 // ---------- Inline methods ----------
92 
95 const sistrip::View& SummaryPlot::view() const { return view_; }
97 const std::string& SummaryPlot::level() const { return level_; }
98 const bool& SummaryPlot::isValid() const { return isValid_; }
99 
100 #endif // DQM_SiStripCommissioningSummary_SummaryPlot_H
101 
102 
103 
const std::string & level() const
Definition: SummaryPlot.h:97
sistrip::Presentation pres_
Definition: SummaryPlot.h:79
sistrip::Monitorable mon_
Definition: SummaryPlot.h:77
void check()
Definition: SummaryPlot.cc:124
std::string level_
Definition: SummaryPlot.h:85
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
const sistrip::Granularity & granularity() const
Definition: SummaryPlot.h:96
sistrip::View view_
Definition: SummaryPlot.h:81
const sistrip::View & view() const
Definition: SummaryPlot.h:95
void print(std::stringstream &) const
Definition: SummaryPlot.cc:167
Class holding info that defines a summary plot.
Definition: SummaryPlot.h:19
sistrip::Granularity gran_
Definition: SummaryPlot.h:83
const bool & isValid() const
Definition: SummaryPlot.h:98
void reset()
Definition: SummaryPlot.cc:113
const sistrip::Presentation & presentation() const
Definition: SummaryPlot.h:94
bool isValid_
Definition: SummaryPlot.h:87
const sistrip::Monitorable & monitorable() const
Definition: SummaryPlot.h:93