9#include <ecl/modules/eclDisplay/EclPainterFactory.h>
12#include <ecl/modules/eclDisplay/EclPainter1D.h>
13#include <ecl/modules/eclDisplay/EclPainter2D.h>
14#include <ecl/modules/eclDisplay/EclPainterPolar.h>
15#include <ecl/modules/eclDisplay/EclPainterCommon.h>
20 "Distribution of phi segments",
21 "Energy per channel distribution",
22 "Energy per shaper distribution",
23 "Energy per crate distribution",
24 "Energy per phi_id distribution",
25 "Energy per theta_id distribution",
26 "Energy distribution",
27 "Total event energy distribution",
29 "Event display (channels)",
30 "Event display (shapers)"
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, 1D histograms.
@ SHAPER
Events/energy per ShaperDSP.
@ CRATE
Events/energy per crate/ECLCollector.
@ CHANNEL
Events/energy per channel.
Painter for EclData, 2D histograms.
@ CHANNEL_2D
(theta_id:phi_id) histogram.
@ SHAPER_2D
(shaper:crate) histogram.
Painter for EclData that shows common event characteristics on 1D histograms.
@ ENERGY_SUM
Energy per event distribution.
@ ENERGY
Energy per channel distribution.
static EclPainter * createPainter(EclPainterType type, EclData *data, ECL::ECLChannelMapper *mapper, EclData::EclSubsystem subsys=EclData::ALL)
Creates EclPainter of the specified type.
static const char * titles[types_count]
Titles for painter types.
static const char ** getTypeTitles()
Returns array of titles for each EclPainter type.
static const int types_count
Number of painter types.
static int getTypeTitlesCount()
Size of array from getTypeTitles()
EclPainterFactory()
Constructor for EclPainterFactory.
Painter for EclData, polar energy/event_count distribution.
Painter for EclData, parent class, created with EclPainterFactory.
void setMapper(ECL::ECLChannelMapper *mapper)
Set ECLChannelMapper for CellID <-> (crate, shaper, chid) conversion.
void setDisplayedSubsystem(EclData::EclSubsystem sys)
Change between the displayed ECL subsystem (barrel, forward and backward endcaps).
EclPainterType
Enum for type of EclPainter to create.
@ PAINTER_TIME
Time distribution.
@ PAINTER_CHANNEL
Event count/energy distribution per channel.
@ PAINTER_COLLECTOR
Event count/energy distribution per crate/ECLCollector.
@ PAINTER_CHANNEL_2D
(theta_id:phi_id) histogram.
@ PAINTER_ENERGY_SUM
Event energy distribution.
@ PAINTER_1D_THETA
Event count/energy distribution per theta_id.
@ PAINTER_SHAPER_2D
(shaper:crate) histogram.
@ PAINTER_SHAPER
Event count/energy distribution per shaperDSP.
@ PAINTER_PHI
Event count/energy polar angle distribution.
@ PAINTER_ENERGY
Channel energy distribution.
@ PAINTER_1D_PHI
Event count/energy distribution per phi_id.
Abstract base class for different kinds of events.