10#include <ecl/modules/eclDisplay/EclPainter.h>
13#include <ecl/mapper/ECLChannelMapper.h>
14#include <ecl/modules/eclDisplay/MultilineWidget.h>
31EclPainter::~EclPainter()
60 return TString(
"Barrel");
62 return TString(
"Forward endcap");
64 return TString(
"Backward endcap");
66 return TString(
"Full ECL");
This class provides access to ECL channel map that is either a) Loaded from the database (see ecl/dbo...
This class contains data for ECLSimHit's and provides several relevant conversion functions for bette...
EclSubsystem
Subsystems of ECL: ALL all subsystems BARR barrel only FORW forward endcap only BACKW backward endcap...
Painter for EclData, parent class, created with EclPainterFactory.
ECL::ECLChannelMapper * m_mapper
mapper for CellID <-> (crate, shaper, chid) conversion.
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.
void cloneFrom(const EclPainter &other)
Clone attributes from other EclPainter.
void setMapper(ECL::ECLChannelMapper *mapper)
Set ECLChannelMapper for CellID <-> (crate, shaper, chid) conversion.
TString getSubsystemTitle(EclData::EclSubsystem subsys)
Return title of ECL subsystem to use in painter.
void getNewRootObjectName(char *buf, int size)
Make unique name for next root object.
static int m_obj_counter
Counter to make unique names for new root objects.
virtual EclPainter * handleClick(int px, int py)
Some EclPainters can shift to another view upon click.
void setDisplayedSubsystem(EclData::EclSubsystem sys)
Change between the displayed ECL subsystem (barrel, forward and backward endcaps).
EclPainter(EclData *data)
Default constructor.
ECL::ECLChannelMapper * getMapper()
Return currently set ECLChannelMapper.
void setData(EclData *data)
Set EclData to display in painter.
virtual void setXRange(int x1, int x2)
Set XRange for histogram in EclPainter.
EclData * m_ecl_data
Data to draw.
EclData::EclSubsystem displayed_subsys
Identifier of displayed ECL subsystem.
Abstract base class for different kinds of events.