DyHist1DProjector.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _DyHist1DProjector_H_
15 #define _DyHist1DProjector_H_
16 
17 #include "Hist1DProjImp.h"
18 #include "NTupleProjector.h"
19 
20 namespace hippodraw {
21 
22 class Range;
23 
39  public NTupleProjector
40 {
41 
42 private:
43 
46  bool m_fixed;
47 
48 protected:
49 
52  DyHist1DProjector ( const DyHist1DProjector & projector );
53 
56  virtual void execute();
57 
62  virtual void changedNTuple();
63 
64 public:
65 
68 
71  virtual ProjectorBase * clone();
72 
77  virtual Range dataRangeOn ( hippodraw::Axes::Type axis ) const;
78 
81  virtual double getPosOn ( hippodraw::Axes::Type axis ) const;
82 
89  virtual const std::string & getYLabel ( bool density = false ) const;
90 
92  virtual double getAverage ( hippodraw::Axes::Type axis ) const;
93 
94  virtual bool isAxisBinned ( const std::string & axis ) const;
95 
101  virtual void setBinnerRange ( hippodraw::Axes::Type axis,
102  const Range & range,
103  bool const_width );
104 
110  virtual void update ( const Observable * object );
111 
117  virtual void willDelete ( const Observable * object );
118 
120  virtual int getUnderflow () const;
121 
123  virtual int getOverflow () const;
124 
125 
126 };
127 
128 } // namespace hippodraw
129 
130 #endif // _DyHist1DProjector_H_

Generated for HippoDraw Class Library by doxygen