 |
Belle II Software
release-05-01-25
|
13 #include <ecl/modules/eclDisplay/EclData.h>
22 class MultilineWidget;
25 class ECLChannelMapper;
100 virtual void Draw() = 0;
EclData::EclSubsystem displayed_subsys
Identifier of displayed ECL subsystem.
void cloneFrom(const EclPainter &other)
Clone attributes from other EclPainter.
EclPainter & operator=(const EclPainter &other)
Assignment operator.
EclPainter(const EclPainter &other)
Copy constructor.
void setData(EclData *data)
Set EclData to display in painter.
void setDisplayedSubsystem(EclData::EclSubsystem sys)
Change between the displayed ECL subsystem (barrel, forward and backward endcaps).
EclData * getData()
Return currently displayed EclData.
EclData::EclSubsystem getDisplayedSubsystem()
Get currently displayed ECL subsystem.
const EclData * getData() const
Return currently displayed EclData.
virtual void getInformation(int px, int py, MultilineWidget *panel)
Sets the information to be displayed in the provided MultilineWidget.
EclPainter(EclData *data)
Default constructor.
Painter for EclData, parent class, created with EclPainterFactory.
EclSubsystem
Subsystems of ECL: ALL all subsystems BARR barrel only FORW forward endcap only BACKW backward endcap...
This class provides access to ECL channel map that is either a) Loaded from the database (see ecl/dbo...
void setMapper(ECL::ECLChannelMapper *mapper)
Set ECLChannelMapper for CellID <-> (crate, shaper, chid) conversion.
virtual void Draw()=0
Redraw the canvas.
Abstract base class for different kinds of events.
void getNewRootObjectName(char *buf, int size)
Make unique name for next root object.
virtual void setXRange(int x1, int x2)
Set XRange for histogram in EclPainter.
virtual EclPainter * handleClick(int px, int py)
Some EclPainters can shift to another view upon click.
ECL::ECLChannelMapper * m_mapper
mapper for CellID <-> (crate, shaper, chid) conversion.
TString getSubsystemTitle(EclData::EclSubsystem subsys)
Return title of ECL subsystem to use in painter.
ECL::ECLChannelMapper * getMapper()
Return currently set ECLChannelMapper.
This class contains data for ECLSimHit's and provides several relevant conversion functions for bette...
static int m_obj_counter
Counter to make unique names for new root objects.
EclData * m_ecl_data
Data to draw.