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.1.1.1 2010/11/10 19:44:54 p-novaart Exp $:
6 ///
7 #ifndef EVD_DRAWINGPAD_H
8 #define EVD_DRAWINGPAD_H
9 
10 class TPad;
11 
12 namespace gar {
13 namespace evd {
14  class HeaderDrawer;
15  class GeometryDrawer;
16  class SimulationDrawer;
17  class RawDataDrawer;
18  class RecoBaseDrawer;
19  class AnalysisBaseDrawer;
20  class HitSelector;
21 
22  /// Base class for event display drawing pads
23  class DrawingPad {
24  public:
25  DrawingPad(const char* nm,
26  const char* ti,
27  double x1, double y1,
28  double y2, double x2);
29  ~DrawingPad();
30  TPad* Pad() { return fPad; }
31 
32  // Access to the drawing utilities
39  HitSelector* HitSelectorGet();
40 
41  protected:
42  TPad* fPad; ///< The ROOT graphics pad
43  HeaderDrawer* fHeaderDraw; ///< Drawer for event header info
44  GeometryDrawer* fGeometryDraw; ///< Drawer for detector geometry
45  SimulationDrawer* fSimulationDraw; ///< Drawer for simulation objects
46  RawDataDrawer* fRawDataDraw; ///< Drawer for raw data
47  RecoBaseDrawer* fRecoBaseDraw; ///< Drawer for recobase objects
48  AnalysisBaseDrawer* fAnalysisBaseDraw; ///< Drawer for analysisbase objects
49 
50  };
51 }
52 }
53 #endif
54 ////////////////////////////////////////////////////////////////////////
HeaderDrawer * HeaderDraw()
Definition: DrawingPad.cxx:76
GeometryDrawer * fGeometryDraw
Drawer for detector geometry.
Definition: DrawingPad.h:44
SimulationDrawer * SimulationDraw()
Definition: DrawingPad.cxx:94
Aid in the rendering of AnalysisBase objects.
SimulationDrawer * fSimulationDraw
Drawer for simulation objects.
Definition: DrawingPad.h:45
RawDataDrawer * fRawDataDraw
Drawer for raw data.
Definition: DrawingPad.h:46
HitSelector * HitSelectorGet()
TPad * fPad
The ROOT graphics pad.
Definition: DrawingPad.h:42
DrawingPad(const char *nm, const char *ti, double x1, double y1, double y2, double x2)
Definition: DrawingPad.cxx:38
GeometryDrawer * GeometryDraw()
Definition: DrawingPad.cxx:85
RawDataDrawer * RawDataDraw()
Definition: DrawingPad.cxx:104
RecoBaseDrawer * fRecoBaseDraw
Drawer for recobase objects.
Definition: DrawingPad.h:47
LArSoft includes.
Definition: InfoTransfer.h:33
Aid in the rendering of RecoBase objects.
HeaderDrawer * fHeaderDraw
Drawer for event header info.
Definition: DrawingPad.h:43
Aid in the rendering of Geometry objects.
Base class for event display drawing pads.
Definition: DrawingPad.h:23
General GArSoft Utilities.
AnalysisBaseDrawer * AnalysisBaseDraw()
Definition: DrawingPad.cxx:127
RecoBaseDrawer * RecoBaseDraw()
Definition: DrawingPad.cxx:115
AnalysisBaseDrawer * fAnalysisBaseDraw
Drawer for analysisbase objects.
Definition: DrawingPad.h:48
Aid in the rendering of RawData objects.
Definition: RawDataDrawer.h:27