LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
ProtoDUNEDrawer (const fhicl::ParameterSet &pset) | |
virtual void | DetOutline3D (evdb::View3D *view) override |
Protected Member Functions | |
void | DrawBoxBoundedGeoOutline (evdb::View3D *view, geo::BoxBoundedGeo const &bb, Color_t color, Width_t width, Style_t style) const |
Draw the outline of an object bounded by a box. More... | |
void | DrawTPCoutline (evdb::View3D *view, geo::TPCGeo const &TPC, Color_t color, Width_t width, Style_t style) const |
Draw the outline of the TPC volume. More... | |
void | DrawActiveTPCoutline (evdb::View3D *view, geo::TPCGeo const &TPC, Color_t color, Width_t width, Style_t style) const |
Draw the outline of the TPC active volume. More... | |
void | DrawRectangularBox (evdb::View3D *view, double const *coordsLo, double const *coordsHi, int color=kGray, int width=1, int style=1) const |
void | DrawGrids (evdb::View3D *view, double const *coordsLo, double const *coordsHi, int color=kGray, int width=1, int style=1) const |
void | DrawAxes (evdb::View3D *view, double const *coordsLo, double const *coordsHi, int color=kGray, int width=1, int style=1) const |
Private Member Functions | |
void | configure (const fhicl::ParameterSet &pset) |
Private Attributes | |
bool | fDrawGrid |
true to draw backing grid More... | |
bool | fDrawAnodeGrid |
Draws the grid on the anode plane. More... | |
bool | fDrawAxes |
true to draw coordinate axes More... | |
bool | fDrawActive |
true to outline TPC sensitive volumes More... | |
Definition at line 25 of file ProtoDUNEDrawer_tool.cc.
|
explicit |
Definition at line 86 of file ProtoDUNEDrawer_tool.cc.
References configure().
|
private |
Definition at line 91 of file ProtoDUNEDrawer_tool.cc.
References fDrawActive, fDrawAnodeGrid, fDrawAxes, fDrawGrid, and fhicl::ParameterSet::get().
Referenced by DrawTPCoutline(), and ProtoDUNEDrawer().
|
overridevirtual |
Implements evd_tool::IExperimentDrawer.
Definition at line 103 of file ProtoDUNEDrawer_tool.cc.
References DrawActiveTPCoutline(), DrawAxes(), DrawBoxBoundedGeoOutline(), DrawGrids(), DrawTPCoutline(), geo::BoxBoundedGeo::ExtendToInclude(), fDrawActive, fDrawAxes, and fDrawGrid.
|
protected |
Draw the outline of the TPC active volume.
Definition at line 164 of file ProtoDUNEDrawer_tool.cc.
References geo::TPCGeo::ActiveHalfHeight(), geo::TPCGeo::ActiveHalfLength(), geo::TPCGeo::ActiveHalfWidth(), color(), DrawBoxBoundedGeoOutline(), and geo::TPCGeo::GetActiveVolumeCenter().
Referenced by DetOutline3D(), and DrawTPCoutline().
|
protected |
Definition at line 273 of file ProtoDUNEDrawer_tool.cc.
References util::abs(), evdb::View3D::AddPolyLine3D(), DEFINE_ART_CLASS_TOOL, and xaxis.
Referenced by DetOutline3D(), and DrawTPCoutline().
|
protected |
Draw the outline of an object bounded by a box.
Definition at line 151 of file ProtoDUNEDrawer_tool.cc.
References color(), DrawRectangularBox(), geo::BoxBoundedGeo::MaxX(), geo::BoxBoundedGeo::MaxY(), geo::BoxBoundedGeo::MaxZ(), geo::BoxBoundedGeo::MinX(), geo::BoxBoundedGeo::MinY(), and geo::BoxBoundedGeo::MinZ().
Referenced by DetOutline3D(), DrawActiveTPCoutline(), and DrawTPCoutline().
|
protected |
Definition at line 221 of file ProtoDUNEDrawer_tool.cc.
References util::abs(), evdb::View3D::AddPolyLine3D(), fDrawAnodeGrid, x, y, and z.
Referenced by DetOutline3D(), and DrawTPCoutline().
|
protected |
Definition at line 183 of file ProtoDUNEDrawer_tool.cc.
References evdb::View3D::AddPolyLine3D().
Referenced by DrawBoxBoundedGeoOutline(), and DrawTPCoutline().
|
inlineprotected |
Draw the outline of the TPC volume.
Definition at line 40 of file ProtoDUNEDrawer_tool.cc.
References configure(), DrawActiveTPCoutline(), DrawAxes(), DrawBoxBoundedGeoOutline(), DrawGrids(), and DrawRectangularBox().
Referenced by DetOutline3D().
|
private |
true to outline TPC sensitive volumes
Definition at line 81 of file ProtoDUNEDrawer_tool.cc.
Referenced by configure(), and DetOutline3D().
|
private |
Draws the grid on the anode plane.
Definition at line 79 of file ProtoDUNEDrawer_tool.cc.
Referenced by configure(), and DrawGrids().
|
private |
true to draw coordinate axes
Definition at line 80 of file ProtoDUNEDrawer_tool.cc.
Referenced by configure(), and DetOutline3D().
|
private |
true to draw backing grid
Definition at line 78 of file ProtoDUNEDrawer_tool.cc.
Referenced by configure(), and DetOutline3D().