StHist2DProjector.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _StHist2DProjector_H_
15 #define _StHist2DProjector_H_
16 
18 
19 namespace hippodraw {
20 
30 {
31 
32 private:
33 
35  std::string m_title;
36 
39  std::string m_x_label;
40 
43  std::string m_y_label;
44 
48  std::string m_z_label;
49 
50 public:
51 
54 
56  StHist2DProjector( const StHist2DProjector & projector );
57 
60  ProjectorBase * clone();
61 
65  bool isEmpty () const;
66 
73  virtual Range dataRangeOn ( hippodraw::Axes::Type axis ) const;
74 
77  virtual double getPosOn ( hippodraw::Axes::Type axis ) const;
78 
81  virtual bool isAxisBinned ( const std::string & axis ) const;
82 
85  const std::string & getXLabel () const;
86 
90  const std::string & getYLabel ( bool flag = false ) const;
91 
95  const std::string & getZLabel ( bool flag = false ) const;
96 
98  void setYLabel ();
99 
101  virtual double getAverage ( hippodraw::Axes::Type axis ) const;
102 
103  /* The following need to be implemented. */
104  virtual const std::string & getTitle() const;
105  virtual int getNumberOfEntries () const;
106  virtual int getUnderflow () const;
107  virtual int getOverflow () const;
108 
114  virtual void addValues ( const std::vector < double > & v );
115 
122  virtual void setBinnerRange ( hippodraw::Axes::Type axis,
123  const Range & range,
124  bool const_width );
125 
126 };
127 
128 } // namespace hippodraw
129 
130 #endif // _StHist2DProjector_H_

Generated for HippoDraw Class Library by doxygen