LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
DrawingPad.h
Go to the documentation of this file.
1 #ifndef EVD_DRAWINGPAD_H
7 #define EVD_DRAWINGPAD_H
8 
9 #include <memory>
10 
11 class TPad;
12 
13 namespace evd_tool
14 {
15  class IExperimentDrawer;
16 }
17 
18 namespace evd
19 {
20 class HeaderDrawer;
21 //class GeometryDrawer;
22 class SimulationDrawer;
23 class RawDataDrawer;
24 class RecoBaseDrawer;
25 class AnalysisBaseDrawer;
26 class HitSelector;
27 
30 {
31 public:
32  DrawingPad(const char* nm,
33  const char* ti,
34  double x1, double y1,
35  double y2, double x2);
36  ~DrawingPad();
37  TPad* Pad() { return fPad; }
38 
39  // Access to the drawing utilities
40  HeaderDrawer* HeaderDraw();
41  //GeometryDrawer* GeometryDraw();
42  evd_tool::IExperimentDrawer* GeometryDraw();
43  SimulationDrawer* SimulationDraw();
44  RawDataDrawer* RawDataDraw();
45  RecoBaseDrawer* RecoBaseDraw();
46  AnalysisBaseDrawer* AnalysisBaseDraw();
47  HitSelector* HitSelectorGet();
48 
49 protected:
50 
51  using IExperimentDrawerPtr = std::unique_ptr<evd_tool::IExperimentDrawer>;
52 
53  TPad* fPad;
55  //GeometryDrawer* fGeometryDraw; ///< Drawer for detector geometry
61 
62 };
63 }
64 #endif
65 
Aid in the rendering of RecoBase objects.
Float_t y1[n_points_granero]
Definition: compare.C:5
Float_t x1[n_points_granero]
Definition: compare.C:5
IExperimentDrawerPtr fGeometryDraw
Drawer for detector geometry.
Definition: DrawingPad.h:56
Float_t y2[n_points_geant4]
Definition: compare.C:26
AnalysisBaseDrawer * fAnalysisBaseDraw
Drawer for analysisbase objects.
Definition: DrawingPad.h:60
RecoBaseDrawer * fRecoBaseDraw
Drawer for recobase objects.
Definition: DrawingPad.h:59
LArSoft includes.
Aid in the rendering of AnalysisBase objects.
Base class for event display drawing pads.
Definition: DrawingPad.h:29
TPad * Pad()
Definition: DrawingPad.h:37
Aid in the rendering of RawData objects.
Definition: RawDataDrawer.h:40
std::unique_ptr< evd_tool::IExperimentDrawer > IExperimentDrawerPtr
Definition: DrawingPad.h:51
RawDataDrawer * fRawDataDraw
Drawer for raw data.
Definition: DrawingPad.h:58
TPad * fPad
The ROOT graphics pad.
Definition: DrawingPad.h:53
Float_t x2[n_points_geant4]
Definition: compare.C:26
HeaderDrawer * fHeaderDraw
Drawer for event header info.
Definition: DrawingPad.h:54
SimulationDrawer * fSimulationDraw
Drawer for simulation objects.
Definition: DrawingPad.h:57