 |
Belle II Software
release-05-01-25
|
11 #include <ecl/modules/eclDisplay/EclPainter.h>
17 #include <ecl/utility/ECLChannelMapper.h>
18 #include <ecl/modules/eclDisplay/MultilineWidget.h>
32 EclPainter::~EclPainter()
61 return TString(
"Barrel");
63 return TString(
"Forward endcap");
65 return TString(
"Backward endcap");
67 return TString(
"Full ECL");
EclData::EclSubsystem displayed_subsys
Identifier of displayed ECL subsystem.
void cloneFrom(const EclPainter &other)
Clone attributes from other EclPainter.
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::EclSubsystem getDisplayedSubsystem()
Get currently displayed ECL subsystem.
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.
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.