StHist1DProjector.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _StHist1DProjector_H_
15 #define _StHist1DProjector_H_
16 
18 
19 namespace hippodraw {
20 
30 {
31 
32 private:
33 
35  std::string m_title;
36 
38  std::string m_x_label;
39 
41  std::string m_y_label;
42 
43 public:
44 
47 
49  StHist1DProjector( const StHist1DProjector & projector );
50 
53  ProjectorBase * clone();
54 
58  bool isEmpty () const;
59 
66  virtual Range dataRangeOn ( hippodraw::Axes::Type axis ) const;
67 
70  virtual double getPosOn ( hippodraw::Axes::Type axis ) const;
71 
74  virtual bool isAxisBinned ( const std::string & axis ) const;
75 
78  const std::string & getXLabel () const;
79 
83  const std::string & getYLabel ( bool flag = false ) const;
84 
86  void setYLabel ();
87 
89  virtual double getAverage ( hippodraw::Axes::Type axis ) const;
90 
91  /* The following need to be implemented. */
92  virtual const std::string & getTitle() const;
93  virtual int getNumberOfEntries () const;
94 
95  /* Get the underflow. */
96  virtual int getUnderflow () const;
97 
98  /* Get the overflow. */
99  virtual int getOverflow () const;
100 
106  virtual void addValues ( const std::vector < double > & v );
107 
114  virtual void setBinnerRange ( hippodraw::Axes::Type axis,
115  const Range & range,
116  bool const_width );
117 
121  virtual void reset ();
122 
123 };
124 
125 } // namespace hippodraw
126 
127 #endif // _StHist1DProjector_H_

Generated for HippoDraw Class Library by doxygen