44 Pad()->SetFillColor(kBlack);
55 for (
const std::string& draw3DTool : drawSim3DTools.
get_pset_names()) {
59 fSim3DDrawerVec.push_back(art::make_tool<evdb_tool::ISim3DDrawer>(draw3DToolParamSet));
68 for (
const std::string& draw3DTool : drawReco3DTools.
get_pset_names()) {
72 fReco3DDrawerVec.push_back(art::make_tool<evdb_tool::I3DDrawer>(draw3DToolParamSet));
108 draw3D->Draw(*evt,
fView);
112 draw3D->Draw(*evt,
fView);
117 if (
fPad->GetView() ==
nullptr) {
118 auto const& tpc = geo->
TPC({0, 0});
119 double rmin[] = {-2.1 * tpc.
HalfWidth(), -2.1 * tpc.HalfHeight(), -0.5 * tpc.Length()};
120 double rmax[] = {2.1 * tpc.HalfWidth(), 2.1 * tpc.HalfHeight(), 0.5 * tpc.Length()};
122 TView3D* v =
new TView3D(1, rmin, rmax);
124 v->SetView(0.0, 260.0, 270.0, irep);
void SpacePoint3D(const art::Event &evt, evdb::View3D *view)
const art::Event * GetEvent() const
std::vector< std::unique_ptr< evdb_tool::I3DDrawer > > fReco3DDrawerVec
Float_t y1[n_points_granero]
void Prong3D(const art::Event &evt, evdb::View3D *view)
Float_t x1[n_points_granero]
void Vertex3D(const art::Event &evt, evdb::View3D *view)
void Event3D(const art::Event &evt, evdb::View3D *view)
void Edge3D(const art::Event &evt, evdb::View3D *view)
Singleton to hold the current art::Event for the event display.
Drawing pad showing a 3D rendering of the detector.
fhicl::ParameterSet f3DDrawerParams
FHICL paramegers for the 3D drawers.
Float_t y2[n_points_geant4]
void Seed3D(const art::Event &evt, evdb::View3D *view)
std::vector< std::string > get_pset_names() const
evd_tool::IExperimentDrawer * GeometryDraw()
static EventHolder * Instance()
void PFParticle3D(const art::Event &evt, evdb::View3D *view)
T get(std::string const &key) const
Base class for event display drawing pads.
RecoBaseDrawer * RecoBaseDraw()
void Slice3D(const art::Event &evt, evdb::View3D *view)
fhicl::ParameterSet f3DDrawerParams
FHICL paramegers for the 3D drawers.
Display3DPad(const char *nm, const char *ti, double x1, double y1, double x2, double y2)
std::vector< std::unique_ptr< evdb_tool::ISim3DDrawer > > fSim3DDrawerVec
Class to aid in the rendering of RecoBase objects.
A collection of 3D drawable objects.
TPad * fPad
The ROOT graphics pad.
TPCGeo const & TPC(TPCID const &tpcid=details::tpc_zero) const
Returns the specified TPC.
Float_t x2[n_points_geant4]
evdb::View3D * fView
Collection of graphics objects to render.
This is the interface class for drawing 3D detector geometries.
art framework interface to geometry description
double HalfWidth() const
Width is associated with x coordinate [cm].