DrawingPad.h
Go to the documentation of this file.
1 ///
2 /// \file DrawingPad.h
3 /// \brief Base class for all event display drawing pads
4 /// \author messier@indiana.edu
5 /// \version $Id: DrawingPad.h,v 1.3 2011-01-29 19:15:20 p-novaart Exp $:
6 ///
7 #ifndef EVD_DRAWINGPAD_H
8 #define EVD_DRAWINGPAD_H
9 class TPad;
10 
11 ///nova event display
12 namespace evd {
13  class HeaderDrawer;
14  class GeometryDrawer;
15  class SimulationDrawer;
16  class RawDataDrawer;
17  class RecoBaseDrawer;
18 
19  /// Base class for event display drawing pads
20  class DrawingPad {
21  public:
22  DrawingPad(const char* nm,
23  const char* ti,
24  double x1, double y1,
25  double y2, double x2);
26  ~DrawingPad();
27  TPad* Pad() { return fPad; }
28 
29  // Access to the drawing utilities
35 
36  protected:
37  TPad* fPad; ///< The ROOT graphics pad
38  HeaderDrawer* fHeaderDraw; ///< Drawer for event header info
39  GeometryDrawer* fGeometryDraw; ///< Drawer for detector geometry
40  SimulationDrawer* fSimulationDraw; ///< Drawer for simulation objects
41  RawDataDrawer* fRawDataDraw; ///< Drawer for raw data
42  RecoBaseDrawer* fRecoBaseDraw; ///< Drawer for recobase objects
43  };
44 }
45 #endif
46 ////////////////////////////////////////////////////////////////////////
HeaderDrawer * HeaderDraw()
Definition: DrawingPad.cxx:64
Aid in the rendering of RecoBase objects.
Float_t y1[n_points_granero]
Definition: compare.C:5
GeometryDrawer * fGeometryDraw
Drawer for detector geometry.
Definition: DrawingPad.h:39
Float_t x1[n_points_granero]
Definition: compare.C:5
static constexpr Double_t nm
Definition: Munits.h:133
GeometryDrawer * GeometryDraw()
Definition: DrawingPad.cxx:73
Aid in the rendering of Geometry objects.
RecoBaseDrawer * fRecoBaseDraw
Drawer for recobase objects.
Definition: DrawingPad.h:42
nova event display
RawDataDrawer * RawDataDraw()
Definition: DrawingPad.cxx:91
Base class for event display drawing pads.
Definition: DrawingPad.h:20
RecoBaseDrawer * RecoBaseDraw()
Definition: DrawingPad.cxx:101
TPad * Pad()
Definition: DrawingPad.h:27
SimulationDrawer * SimulationDraw()
Definition: DrawingPad.cxx:82
Aid in the rendering of RawData objects.
Definition: RawDataDrawer.h:27
RawDataDrawer * fRawDataDraw
Drawer for raw data.
Definition: DrawingPad.h:41
TPad * fPad
The ROOT graphics pad.
Definition: DrawingPad.h:37
DrawingPad(const char *nm, const char *ti, double x1, double y1, double y2, double x2)
Definition: DrawingPad.cxx:34
HeaderDrawer * fHeaderDraw
Drawer for event header info.
Definition: DrawingPad.h:38
SimulationDrawer * fSimulationDraw
Drawer for simulation objects.
Definition: DrawingPad.h:40