MINT2
RootPlotter2D.h
Go to the documentation of this file.
1 
10 #ifndef ROOT_PLOTTER_2D_HH
11 #define ROOT_PLOTTER_2D_HH
12 
13 #include "Mint/RootPlotter.h"
14 
15 #include "Mint/MessageService.h"
16 
17 #include "TLine.h"
18 #include "TArc.h"
19 
20 class RootPlotter2D : public RootPlotter{
21 
22  private:
23 
24  protected:
25 
26 
27 
28  virtual void setHistogramStyle(TH1* histogram, bool setMinMax);
29 
30  public:
31 
32  virtual double getGlobalMax();
33  virtual double getGlobalMin();
34 
35  RootPlotter2D(TH1* histogram, double width = 350, double height = 300);
36 
37  void addVerticalLine(double xpos, int style=1);
38  void addHorizontalLine(double ypos, int style=1);
39 
40  void addVerticalBox(double xmin, double xmax, int fillColour, int fillstyle);
41 
42  virtual ~RootPlotter2D();
43 
44 };
45 
46 #endif
virtual double getGlobalMin()
void addHorizontalLine(double ypos, int style=1)
virtual double getGlobalMax()
void addVerticalBox(double xmin, double xmax, int fillColour, int fillstyle)
void addVerticalLine(double xpos, int style=1)
RootPlotter2D(TH1 *histogram, double width=350, double height=300)
virtual void setHistogramStyle(TH1 *histogram, bool setMinMax)
virtual ~RootPlotter2D()