 |
Belle II Software
release-05-01-25
|
14 #include <ecl/modules/eclDisplay/EclPainter.h>
97 void setXRange(
int xmin,
int xmax)
override;
114 void Draw()
override;
@ CHANNEL
Events/energy per channel.
@ SHAPER
Events/energy per ShaperDSP.
int getMaxX()
Returns number of X bins.
void setTitles()
Update titles of the histogram.
virtual ~EclPainter1D()
Destructor for EclPainter subclass.
@ CRATE
Events/energy per crate/ECLCollector.
void initHisto()
Initialize histogram.
TH1F * m_hist
Displayed histogram.
void Draw() override
Redraw the canvas.
int m_shaper
ID of currently selected shaper.
void setXRange(int xmin, int xmax) override
Set XRange for histogram.
Type getType()
Return subtype of ECLPainter1D.
Painter for EclData, parent class, created with EclPainterFactory.
Type m_type
Display subtypes of this class.
virtual EclPainter * handleClick(int px, int py) override
Creates sub-histogram for crates and shapers.
virtual void getInformation(int px, int py, MultilineWidget *panel) override
Sets the information to be displayed in the provided MultilineWidget.
Abstract base class for different kinds of events.
Type
Subtype of histogram to draw.
This class contains data for ECLSimHit's and provides several relevant conversion functions for bette...
int channelToSegId(int channel)
Convert channel id to X bin number.
int m_crate
ID of currently selected crate.
EclPainter1D(EclData *data, Type type)
Constructor for EclPainter subclass.
Painter for EclData, 1D histograms.
void setCrate(int crate)
Show data only from specific crate.
void setShaper(int crate, int shaper)
Show data only from specific shaper.