LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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  class IExperimentDrawer;
15 }
16 
17 namespace evd {
18  class HeaderDrawer;
19  //class GeometryDrawer;
20  class SimulationDrawer;
21  class RawDataDrawer;
22  class RecoBaseDrawer;
23  class AnalysisBaseDrawer;
24  class HitSelector;
25 
27  class DrawingPad {
28  public:
29  DrawingPad(const char* nm, const char* ti, double x1, double y1, double y2, double x2);
30  ~DrawingPad();
31  TPad* Pad() { return fPad; }
32 
33  // Access to the drawing utilities
34  HeaderDrawer* HeaderDraw();
35  evd_tool::IExperimentDrawer* GeometryDraw();
36  SimulationDrawer* SimulationDraw();
37  RawDataDrawer* RawDataDraw();
38  RecoBaseDrawer* RecoBaseDraw();
39  AnalysisBaseDrawer* AnalysisBaseDraw();
40  HitSelector* HitSelectorGet();
41 
42  protected:
43  using IExperimentDrawerPtr = std::unique_ptr<evd_tool::IExperimentDrawer>;
44 
45  TPad* fPad;
52  };
53 }
54 #endif
55 
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:47
Float_t y2[n_points_geant4]
Definition: compare.C:26
AnalysisBaseDrawer * fAnalysisBaseDraw
Drawer for analysisbase objects.
Definition: DrawingPad.h:51
RecoBaseDrawer * fRecoBaseDraw
Drawer for recobase objects.
Definition: DrawingPad.h:50
LArSoft includes.
Aid in the rendering of AnalysisBase objects.
Base class for event display drawing pads.
Definition: DrawingPad.h:27
TPad * Pad()
Definition: DrawingPad.h:31
Aid in the rendering of RawData objects.
Definition: RawDataDrawer.h:47
std::unique_ptr< evd_tool::IExperimentDrawer > IExperimentDrawerPtr
Definition: DrawingPad.h:43
RawDataDrawer * fRawDataDraw
Drawer for raw data.
Definition: DrawingPad.h:49
TPad * fPad
The ROOT graphics pad.
Definition: DrawingPad.h:45
Float_t x2[n_points_geant4]
Definition: compare.C:26
HeaderDrawer * fHeaderDraw
Drawer for event header info.
Definition: DrawingPad.h:46
SimulationDrawer * fSimulationDraw
Drawer for simulation objects.
Definition: DrawingPad.h:48