215 MF_LOG_DEBUG(
"TWireProjPad") <<
"Started to draw plane " <<
fPlane;
218 int kSelectedColor = 4;
222 art::Event
const* evtPtr = evdb::EventHolder::Instance()->GetEvent();
224 auto const&
evt = *evtPtr;
225 auto const clockData =
226 art::ServiceHandle<detinfo::DetectorClocksService const>()->DataFor(
evt);
228 art::ServiceHandle<detinfo::DetectorPropertiesService const>()->DataFor(
evt, clockData);
229 art::ServiceHandle<evd::RecoDrawingOptions const> recoOpt;
242 if (recoOpt->fUseHitSelector)
262 art::ServiceHandle<evd::RawDrawingOptions const> rawopt;
263 if (
fOri != rawopt->fAxisOrientation) {
264 fOri = rawopt->fAxisOrientation;
274 TString xtitle =
fHisto->GetXaxis()->GetTitle();
275 fHisto->GetXaxis()->SetTitle(
fHisto->GetYaxis()->GetTitle());
276 fHisto->GetYaxis()->SetTitle(xtitle);
289 MF_LOG_DEBUG(
"TWireProjPad") <<
"Started rendering plane " <<
fPlane;
293 MF_LOG_DEBUG(
"TWireProjPad") <<
"Drawing of plane " <<
fPlane <<
" completed";
unsigned int fPlane
Which plane in the detector.
void ShowFull(int override=0)
double fXLo
Low value of x axis.
void RawDigit2D(art::Event const &evt, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane, bool bZoomToRoI=false)
Draws raw digit content in 2D wire plane representation.
void Prong2D(const art::Event &evt, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane)
void Slice2D(const art::Event &evt, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane)
void Cluster2D(const art::Event &evt, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane)
void DrawTrackVertexAssns2D(const art::Event &evt, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane)
std::vector< double > const & GetCurrentZoom() const
void Seed2D(const art::Event &evt, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane)
RawDataDrawer * RawDataDraw()
int fOri
Orientation of the axes - see RawDrawingOptions for values.
double fXHi
High value of x axis.
DrawOptions_t const & GetDrawOptions() const
Return the current draw options.
RecoBaseDrawer * RecoBaseDraw()
int Hit2D(const art::Event &evt, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane)
double fYLo
Low value of y axis.
SimulationDrawer * SimulationDraw()
TH1F * fHisto
Histogram to draw object on.
void SetZoomRange(int i1, int i2, int y1, int y2)
void EndPoint2D(const art::Event &evt, evdb::View2D *view, unsigned int plane)
void Wire2D(const art::Event &evt, evdb::View2D *view, unsigned int plane)
HitSelector * HitSelectorGet()
void OpFlash2D(const art::Event &evt, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane)
void MCTruthVectors2D(const art::Event &evt, evdb::View2D *view, unsigned int plane)
void Event2D(const art::Event &evt, evdb::View2D *view, unsigned int plane)
TPad * fPad
The ROOT graphics pad.
void Vertex2D(const art::Event &evt, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane)
double fYHi
High value of y axis.
evdb::View2D * fView
Collection of graphics objects to render.
void ExtractRange(TVirtualPad *pPad, std::vector< double > const *zoom=nullptr)
Fills the viewport information from the specified pad.