12#include <ecl/modules/eclDisplay/EclPainter.h>
115 virtual void Draw()
override;
This class contains data for ECLSimHit's and provides several relevant conversion functions for bette...
Painter for EclData, 2D histograms.
~EclPainter2D()
Destructor for EclPainter subclass.
Type m_type
Display subtypes of this class.
void cloneFrom(const EclPainter2D &other)
Clone attributes from other EclPainter2D.
int channelToSegIdX(int channel)
Convert channel id to X bin number.
Type
Subtype of histogram to draw.
@ CHANNEL_2D
(theta_id:phi_id) histogram.
@ SHAPER_2D
(shaper:crate) histogram.
int getMaxX()
Returns number of X bins.
void setTitles()
Update histogram titles.
TH2C * hgrid
The grid itself, drawn in drawGrid().
virtual void getInformation(int px, int py, MultilineWidget *panel) override
Sets the information to be displayed in the provided MultilineWidget.
void initGrid()
Initialize grid for drawGrid().
Type getType()
Return subtype of ECLPainter2D.
int channelToSegIdY(int channel)
Convert channel id to Y bin number.
TPad * grid
Grid pad, drawn in drawGrid().
void drawGrid()
Draw grid over histogram.
int getMaxY()
Returns number of Y bins.
EclPainter2D & operator=(const EclPainter2D &other)
Assignment operator.
TH2F * m_hist
Displayed histogram.
EclPainter2D(const EclPainter2D &other)
Copy constructor.
virtual void Draw() override
Redraw the canvas.
Painter for EclData, parent class, created with EclPainterFactory.
Abstract base class for different kinds of events.