Map1Projector.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 
14 #ifndef _Map1Projector_H_
15 #define _Map1Projector_H_
16 
17 #include "NTupleProjector.h"
18 
19 namespace hippodraw {
20 
34 {
35 
36 private:
37 
40  std::string m_x_label;
41 
44  std::string m_y_option;
45 
46 
47 protected:
48 
50  Map1Projector ( const Map1Projector & projector );
51 
57  virtual void changedNTuple();
58 
60  virtual void addPointReps ();
61 
62 public:
63 
64 
66  Map1Projector();
67 
70  ProjectorBase * clone();
71 
72  virtual bool inRange ( int row ) const;
73 
77  virtual void setYErrorOption ( bool enable );
78 
81  virtual Range dataRangeOn ( hippodraw::Axes::Type ) const;
82  virtual Range valueRange ( ) const;
83 
86  virtual double getPosOn ( hippodraw::Axes::Type axis ) const;
87 
90  const std::string & getXLabel() const;
91 
96  const std::string & getYLabel ( bool density = false ) const;
97 
99  virtual double getAverage ( hippodraw::Axes::Type axis ) const;
100 
101  virtual DataSource * createNTuple () const;
102 
103  virtual void prepareValues ();
104 
105 protected:
106 
107  virtual void fillProjectedValues ( DataSource * ntuple,
108  bool in_range = false ) const;
109 
110 };
111 
112 } // namespace hippodraw
113 
114 #endif // _Map1Projector_H_

Generated for HippoDraw Class Library by doxygen