LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
A drawing pad showing a 3D rendering of the detector. More...
#include "Display3DPad.h"
Public Member Functions | |
Display3DPad (const char *nm, const char *ti, double x1, double y1, double x2, double y2, const char *opt) | |
~Display3DPad () | |
void | Draw () |
void | UpdateSeedCurve () |
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... | |
Private Attributes | |
evdb::View3D * | fView |
Collection of graphics objects to render. More... | |
A drawing pad showing a 3D rendering of the detector.
Definition at line 20 of file Display3DPad.h.
|
protectedinherited |
Definition at line 51 of file DrawingPad.h.
evd::Display3DPad::Display3DPad | ( | const char * | nm, |
const char * | ti, | ||
double | x1, | ||
double | y1, | ||
double | x2, | ||
double | y2, | ||
const char * | opt | ||
) |
Create a pad to show a 3D rendering of the detector and events
nm | : Name of the pad |
ti | : Title of the pad |
x1 | : Location of left edge of pad (0-1) |
x2 | : Location of right edge of pad (0-1) |
y1 | : Location of bottom edge of pad (0-1) |
y2 | : Location of top edge of pad (0-1) |
opt | Options. Currently just a place holder |
Definition at line 39 of file Display3DPad.cxx.
References fView, and evd::DrawingPad::Pad().
evd::Display3DPad::~Display3DPad | ( | ) |
Definition at line 53 of file Display3DPad.cxx.
References fView.
|
inherited |
Provide access to the drawer for AnalysisBase classes
Definition at line 132 of file DrawingPad.cxx.
References evd::DrawingPad::fAnalysisBaseDraw.
Referenced by evd::CalorPad::Draw().
void evd::Display3DPad::Draw | ( | ) |
Definition at line 60 of file Display3DPad.cxx.
References evdb::View3D::Clear(), geo::GeometryCore::DetHalfHeight(), geo::GeometryCore::DetHalfWidth(), geo::GeometryCore::DetLength(), evd_tool::IExperimentDrawer::DetOutline3D(), evdb::View3D::Draw(), tca::evt, evd::EvdLayoutOptions::fMakeSeeds, evd::DrawingPad::fPad, fView, evd::DrawingPad::GeometryDraw(), evdb::EventHolder::GetEvent(), evdb::EventHolder::Instance(), evd::SimulationDrawer::MCTruth3D(), evd::DrawingPad::Pad(), evd::DrawingPad::RecoBaseDraw(), evd::DrawingPad::SimulationDraw(), and UpdateSeedCurve().
Referenced by evd::Display3DView::Draw().
|
inherited |
Provide access to the drawer for the detector geometry
Definition at line 84 of file DrawingPad.cxx.
References evd::DrawingPad::fGeometryDraw, evd::EvdLayoutOptions::fParameterSet, and fhicl::ParameterSet::get().
Referenced by Draw().
|
inherited |
Provide access to the drawer for the detector geometry
Definition at line 75 of file DrawingPad.cxx.
References evd::DrawingPad::fHeaderDraw.
Referenced by evd::HeaderPad::Draw().
|
inherited |
Provide access to the HitSelector
Definition at line 144 of file DrawingPad.cxx.
References evd::gTheHitSelector.
Referenced by evd::TWireProjPad::ClearHitList(), evd::CalorPad::Draw(), evd::TWireProjPad::Draw(), evd::TWireProjPad::SaveHitList(), evd::TWireProjPad::SaveSeedList(), evd::TWireProjPad::SelectOneHit(), and UpdateSeedCurve().
|
inlineinherited |
Definition at line 37 of file DrawingPad.h.
Referenced by evd::CalorPad::CalorPad(), Display3DPad(), evd::MCBriefPad::Draw(), evd::HeaderPad::Draw(), evd::Display3DView::Draw(), evd::CalorPad::Draw(), Draw(), evd::CalorView::Draw(), evd::TWQProjectionView::Draw(), evd::CalorPad::DrawRefCurves(), evd::MCBriefPad::MCBriefPad(), evd::Ortho3DPad::Ortho3DPad(), evd::TWQMultiTPCProjectionView::SetPlaneWire(), evd::TWQProjectionView::SetPlaneWire(), evd::TWQMultiTPCProjectionView::SetRawCalib(), evd::TWQProjectionView::SetRawCalib(), evd::TQPad::TQPad(), evd::TWireProjPad::TWireProjPad(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), and evd::TWQProjectionView::TWQProjectionView().
|
inherited |
Provide access to the drawer for the RawData classes
Definition at line 109 of file DrawingPad.cxx.
References evd::DrawingPad::fRawDataDraw.
Referenced by evd::TQPad::BookHistogram(), evd::TQPad::Draw(), evd::TWireProjPad::Draw(), evd::TWireProjPad::ShowFull(), and evd::TWireProjPad::TWireProjPad().
|
inherited |
Provide access to the drawer for RecoBase classes
Definition at line 120 of file DrawingPad.cxx.
References evd::DrawingPad::fRecoBaseDraw.
Referenced by evd::TQPad::Draw(), Draw(), evd::TWireProjPad::Draw(), evd::Ortho3DPad::Draw(), and evd::TWireProjPad::ShowFull().
|
inherited |
Provide access to the drawer for the Simulation classes
Definition at line 99 of file DrawingPad.cxx.
References evd::DrawingPad::fSimulationDraw.
Referenced by evd::MCBriefPad::Draw(), Draw(), evd::TWireProjPad::Draw(), and evd::Ortho3DPad::Draw().
void evd::Display3DPad::UpdateSeedCurve | ( | ) |
Definition at line 105 of file Display3DPad.cxx.
References evdb::View3D::AddPolyLine3D(), evdb::View3D::Draw(), fView, trkf::BezierTrack::GetTrackPoint(), evd::DrawingPad::HitSelectorGet(), evd::HitSelector::SeedVector(), x, y, and z.
Referenced by Draw().
|
protectedinherited |
Drawer for analysisbase objects.
Definition at line 60 of file DrawingPad.h.
Referenced by evd::DrawingPad::AnalysisBaseDraw(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
Drawer for detector geometry.
Definition at line 56 of file DrawingPad.h.
Referenced by evd::DrawingPad::GeometryDraw().
|
protectedinherited |
Drawer for event header info.
Definition at line 54 of file DrawingPad.h.
Referenced by evd::DrawingPad::HeaderDraw(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
The ROOT graphics pad.
Definition at line 53 of file DrawingPad.h.
Referenced by evd::TWireProjPad::ClearandUpdatePad(), evd::MCBriefPad::Draw(), evd::TQPad::Draw(), evd::CalorPad::Draw(), Draw(), evd::TWireProjPad::Draw(), evd::Ortho3DPad::Draw(), evd::DrawingPad::DrawingPad(), evd::TWireProjPad::DrawLinesinView(), evd::Ortho3DPad::Ortho3DPad(), evd::Ortho3DPad::SetMarkerSize(), evd::Ortho3DPad::SetZoom(), evd::TWireProjPad::TWireProjPad(), evd::Ortho3DPad::UnZoom(), evd::TWireProjPad::UpdatePad(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
Drawer for raw data.
Definition at line 58 of file DrawingPad.h.
Referenced by evd::DrawingPad::RawDataDraw(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
Drawer for recobase objects.
Definition at line 59 of file DrawingPad.h.
Referenced by evd::DrawingPad::RecoBaseDraw(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
Drawer for simulation objects.
Definition at line 57 of file DrawingPad.h.
Referenced by evd::DrawingPad::SimulationDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
Collection of graphics objects to render.
Definition at line 36 of file Display3DPad.h.
Referenced by Display3DPad(), Draw(), UpdateSeedCurve(), and ~Display3DPad().