LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Base class for event display drawing pads. More...
#include "DrawingPad.h"
Public Member Functions | |
DrawingPad (const char *nm, const char *ti, double x1, double y1, double y2, double x2) | |
~DrawingPad () | |
TPad * | Pad () |
HeaderDrawer * | HeaderDraw () |
evd_tool::IExperimentDrawer * | GeometryDraw () |
SimulationDrawer * | SimulationDraw () |
RawDataDrawer * | RawDataDraw () |
RecoBaseDrawer * | RecoBaseDraw () |
AnalysisBaseDrawer * | AnalysisBaseDraw () |
HitSelector * | HitSelectorGet () |
Protected Types | |
using | IExperimentDrawerPtr = std::unique_ptr< evd_tool::IExperimentDrawer > |
Protected Attributes | |
TPad * | fPad |
The ROOT graphics pad. More... | |
HeaderDrawer * | fHeaderDraw |
Drawer for event header info. More... | |
IExperimentDrawerPtr | fGeometryDraw |
Drawer for detector geometry. More... | |
SimulationDrawer * | fSimulationDraw |
Drawer for simulation objects. More... | |
RawDataDrawer * | fRawDataDraw |
Drawer for raw data. More... | |
RecoBaseDrawer * | fRecoBaseDraw |
Drawer for recobase objects. More... | |
AnalysisBaseDrawer * | fAnalysisBaseDraw |
Drawer for analysisbase objects. More... | |
Base class for event display drawing pads.
Definition at line 27 of file DrawingPad.h.
|
protected |
Definition at line 43 of file DrawingPad.h.
evd::DrawingPad::DrawingPad | ( | const char * | nm, |
const char * | ti, | ||
double | x1, | ||
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
Create a drawing pad for the event display
nm | : Name of the TPad |
ti | : Title of the TPad |
x1 | : Relative x position (0-1) of lower left corner |
y1 | : Relative y position (0-1) of lower left corner |
x2 | : Relative x position (0-1) of upper right corner |
y2 | : Relative y position (0-1) of upper right corner |
Definition at line 36 of file DrawingPad.cxx.
References fPad.
evd::DrawingPad::~DrawingPad | ( | ) |
Definition at line 52 of file DrawingPad.cxx.
References fAnalysisBaseDraw, fHeaderDraw, fPad, fRawDataDraw, fRecoBaseDraw, and fSimulationDraw.
AnalysisBaseDrawer * evd::DrawingPad::AnalysisBaseDraw | ( | ) |
Provide access to the drawer for AnalysisBase classes
Definition at line 143 of file DrawingPad.cxx.
References fAnalysisBaseDraw.
Referenced by evd::CalorPad::Draw().
evd_tool::IExperimentDrawer * evd::DrawingPad::GeometryDraw | ( | ) |
Provide access to the drawer for the detector geometry
Definition at line 97 of file DrawingPad.cxx.
References fGeometryDraw, evd::EvdLayoutOptions::fParameterSet, and fhicl::ParameterSet::get().
Referenced by evd::Display3DPad::Draw().
HeaderDrawer * evd::DrawingPad::HeaderDraw | ( | ) |
Provide access to the drawer for the detector geometry
Definition at line 88 of file DrawingPad.cxx.
References fHeaderDraw.
Referenced by evd::HeaderPad::Draw().
HitSelector * evd::DrawingPad::HitSelectorGet | ( | ) |
Provide access to the HitSelector
Definition at line 155 of file DrawingPad.cxx.
References evd::gTheHitSelector.
Referenced by evd::TWireProjPad::ClearHitList(), evd::TWireProjPad::Draw(), evd::TWireProjPad::SaveHitList(), evd::TWireProjPad::SaveSeedList(), and evd::TWireProjPad::SelectOneHit().
|
inline |
Definition at line 31 of file DrawingPad.h.
Referenced by evd::CalorPad::CalorPad(), evd::Display3DPad::Display3DPad(), evd::HeaderPad::Draw(), evd::MCBriefPad::Draw(), evd::Display3DView::Draw(), evd::CalorView::Draw(), evd::CalorPad::Draw(), evd::Display3DPad::Draw(), evd::TWQProjectionView::Draw(), evd::CalorPad::DrawRefCurves(), evd::MCBriefPad::MCBriefPad(), evd::Ortho3DPad::Ortho3DPad(), evd::TWQProjectionView::SetPlaneWire(), evd::TWQMultiTPCProjectionView::SetPlaneWire(), evd::TWQProjectionView::SetRawCalib(), evd::TWQMultiTPCProjectionView::SetRawCalib(), evd::TQPad::TQPad(), evd::TWireProjPad::TWireProjPad(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), and evd::TWQProjectionView::TWQProjectionView().
RawDataDrawer * evd::DrawingPad::RawDataDraw | ( | ) |
Provide access to the drawer for the RawData classes
Definition at line 121 of file DrawingPad.cxx.
References fRawDataDraw.
Referenced by evd::TQPad::BookHistogram(), evd::TQPad::Draw(), evd::TWireProjPad::Draw(), evd::TWireProjPad::ShowFull(), and evd::TWireProjPad::TWireProjPad().
RecoBaseDrawer * evd::DrawingPad::RecoBaseDraw | ( | ) |
Provide access to the drawer for RecoBase classes
Definition at line 132 of file DrawingPad.cxx.
References fRecoBaseDraw.
Referenced by evd::Display3DPad::Draw(), evd::TWireProjPad::Draw(), evd::Ortho3DPad::Draw(), and evd::TWireProjPad::ShowFull().
SimulationDrawer * evd::DrawingPad::SimulationDraw | ( | ) |
Provide access to the drawer for the Simulation classes
Definition at line 112 of file DrawingPad.cxx.
References fSimulationDraw.
Referenced by evd::MCBriefPad::Draw(), evd::TWireProjPad::Draw(), and evd::Ortho3DPad::Draw().
|
protected |
Drawer for analysisbase objects.
Definition at line 51 of file DrawingPad.h.
Referenced by AnalysisBaseDraw(), and ~DrawingPad().
|
protected |
Drawer for detector geometry.
Definition at line 47 of file DrawingPad.h.
Referenced by GeometryDraw().
|
protected |
Drawer for event header info.
Definition at line 46 of file DrawingPad.h.
Referenced by HeaderDraw(), and ~DrawingPad().
|
protected |
The ROOT graphics pad.
Definition at line 45 of file DrawingPad.h.
Referenced by evd::TWireProjPad::ClearandUpdatePad(), evd::MCBriefPad::Draw(), evd::CalorPad::Draw(), evd::Display3DPad::Draw(), evd::TQPad::Draw(), evd::TWireProjPad::Draw(), evd::Ortho3DPad::Draw(), DrawingPad(), evd::TWireProjPad::DrawLinesinView(), evd::Ortho3DPad::Ortho3DPad(), evd::Ortho3DPad::SetMarkerSize(), evd::Ortho3DPad::SetZoom(), evd::TWireProjPad::TWireProjPad(), evd::Ortho3DPad::UnZoom(), evd::TWireProjPad::UpdatePad(), and ~DrawingPad().
|
protected |
Drawer for raw data.
Definition at line 49 of file DrawingPad.h.
Referenced by RawDataDraw(), and ~DrawingPad().
|
protected |
Drawer for recobase objects.
Definition at line 50 of file DrawingPad.h.
Referenced by RecoBaseDraw(), and ~DrawingPad().
|
protected |
Drawer for simulation objects.
Definition at line 48 of file DrawingPad.h.
Referenced by SimulationDraw(), and ~DrawingPad().