12#include <ecl/modules/eclDisplay/EclPainter.h>
This class contains data for ECLSimHit's and provides several relevant conversion functions for bette...
Type m_type
Display subtypes of this class.
TH1F * m_hist
Histogram for energy distribution.
EclPainterCommon(const EclPainterCommon &)=delete
Copy constructor (disabled).
Type
Subtype of histogram to draw.
@ ENERGY_SUM
Energy per event distribution.
@ ENERGY
Energy per channel distribution.
int getMinX()
Return m_x_min.
int getMaxX()
Return m_x_max.
void setTitles()
Update titles of the histogram.
Type getType()
Return subtype of ECLPainterCommon.
EclPainterCommon & operator=(const EclPainterCommon &)=delete
Operator = (disabled).
virtual ~EclPainterCommon() override
Destructor for EclPainter subclass.
void initHisto()
Initialize histogram.
void Draw() override
Redraw the canvas.
EclPainterCommon(EclData *data, Type type)
Constructor for EclPainter subclass.
EclPainter(EclData *data)
Default constructor.
Abstract base class for different kinds of events.