LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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... | |
std::vector< std::unique_ptr< evdb_tool::ISim3DDrawer > > | fSim3DDrawerVec |
std::vector< std::unique_ptr< evdb_tool::I3DDrawer > > | fReco3DDrawerVec |
A drawing pad showing a 3D rendering of the detector.
Definition at line 26 of file Display3DPad.h.
|
protectedinherited |
Definition at line 43 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 36 of file Display3DPad.cxx.
References evd::SimulationDrawingOptions::f3DDrawerParams, evd::RecoDrawingOptions::f3DDrawerParams, fReco3DDrawerVec, fSim3DDrawerVec, fView, fhicl::ParameterSet::get(), fhicl::ParameterSet::get_pset_names(), and evd::DrawingPad::Pad().
evd::Display3DPad::~Display3DPad | ( | ) |
Definition at line 81 of file Display3DPad.cxx.
References fView.
|
inherited |
Provide access to the drawer for AnalysisBase classes
Definition at line 143 of file DrawingPad.cxx.
References evd::DrawingPad::fAnalysisBaseDraw.
Referenced by evd::CalorPad::Draw().
void evd::Display3DPad::Draw | ( | ) |
Definition at line 91 of file Display3DPad.cxx.
References evdb::View3D::Clear(), geo::GeometryCore::DetHalfHeight(), geo::GeometryCore::DetHalfWidth(), geo::GeometryCore::DetLength(), evd_tool::IExperimentDrawer::DetOutline3D(), evdb::View3D::Draw(), evd::RecoBaseDrawer::Edge3D(), evd::RecoBaseDrawer::Event3D(), tca::evt, evd::DrawingPad::fPad, fReco3DDrawerVec, fSim3DDrawerVec, fView, evd::DrawingPad::GeometryDraw(), evdb::EventHolder::GetEvent(), evdb::EventHolder::Instance(), evd::DrawingPad::Pad(), evd::RecoBaseDrawer::PFParticle3D(), evd::RecoBaseDrawer::Prong3D(), evd::DrawingPad::RecoBaseDraw(), evd::RecoBaseDrawer::Seed3D(), evd::RecoBaseDrawer::Slice3D(), evd::RecoBaseDrawer::SpacePoint3D(), and evd::RecoBaseDrawer::Vertex3D().
Referenced by evd::Display3DView::Draw().
|
inherited |
Provide access to the drawer for the detector geometry
Definition at line 97 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 88 of file DrawingPad.cxx.
References evd::DrawingPad::fHeaderDraw.
Referenced by evd::HeaderPad::Draw().
|
inherited |
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().
|
inlineinherited |
Definition at line 31 of file DrawingPad.h.
Referenced by evd::CalorPad::CalorPad(), Display3DPad(), evd::MCBriefPad::Draw(), evd::HeaderPad::Draw(), evd::Display3DView::Draw(), evd::CalorView::Draw(), evd::CalorPad::Draw(), 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().
|
inherited |
Provide access to the drawer for the RawData classes
Definition at line 121 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 132 of file DrawingPad.cxx.
References evd::DrawingPad::fRecoBaseDraw.
Referenced by Draw(), evd::TWireProjPad::Draw(), evd::Ortho3DPad::Draw(), and evd::TWireProjPad::ShowFull().
|
inherited |
Provide access to the drawer for the Simulation classes
Definition at line 112 of file DrawingPad.cxx.
References evd::DrawingPad::fSimulationDraw.
Referenced by evd::MCBriefPad::Draw(), evd::TWireProjPad::Draw(), and evd::Ortho3DPad::Draw().
void evd::Display3DPad::UpdateSeedCurve | ( | ) |
|
protectedinherited |
Drawer for analysisbase objects.
Definition at line 51 of file DrawingPad.h.
Referenced by evd::DrawingPad::AnalysisBaseDraw(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
Drawer for detector geometry.
Definition at line 47 of file DrawingPad.h.
Referenced by evd::DrawingPad::GeometryDraw().
|
protectedinherited |
Drawer for event header info.
Definition at line 46 of file DrawingPad.h.
Referenced by evd::DrawingPad::HeaderDraw(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
The ROOT graphics pad.
Definition at line 45 of file DrawingPad.h.
Referenced by evd::TWireProjPad::ClearandUpdatePad(), evd::MCBriefPad::Draw(), evd::CalorPad::Draw(), Draw(), evd::TQPad::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 49 of file DrawingPad.h.
Referenced by evd::DrawingPad::RawDataDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
Definition at line 45 of file Display3DPad.h.
Referenced by Display3DPad(), and Draw().
|
protectedinherited |
Drawer for recobase objects.
Definition at line 50 of file DrawingPad.h.
Referenced by evd::DrawingPad::RecoBaseDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
Definition at line 44 of file Display3DPad.h.
Referenced by Display3DPad(), and Draw().
|
protectedinherited |
Drawer for simulation objects.
Definition at line 48 of file DrawingPad.h.
Referenced by evd::DrawingPad::SimulationDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
Collection of graphics objects to render.
Definition at line 42 of file Display3DPad.h.
Referenced by Display3DPad(), Draw(), and ~Display3DPad().