12#include <ecl/mapper/ECLChannelMapper.h>
15#include <framework/core/Module.h>
16#include <framework/datastore/StoreArray.h>
68 virtual void event()
override;
73 virtual void endRun()
override;
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...
Displays energy distribution in ECL.
bool m_frame_closed
Flag to check if EclFrame is closed;.
int m_evtNum
Counter of added events.
bool m_autoDisplay
If true, events are displayed as soon as they are loaded.
ECL::ECLChannelMapper m_mapper
Channel mapper to show channel <-> (crate, shaper) distributions.
bool m_keepOpen
Keep window open after all events have been processed.
virtual void initialize() override
Initialize EclChannelMapper.
TFile * m_tempfile
Temporary file to store TTree.
virtual void event() override
Handle event.
void initFrame()
Initialize EclFrame.
virtual void endRun() override
Empty method.
virtual void terminate() override
Wait till EclFrame is closed then free allocated resources.
std::string m_eclMapperInitFileName
filename to initialize ECLChannelMapper.
EclFrame * m_frame
Root GUI to display ECL data.
virtual void beginRun() override
Empty method.
bool m_displayEnergy
If true, energy distribution in ECL is displayed.
int m_displayMode
Default display mode.
TApplication * m_app
Application to contain EclFrame.
StoreArray< ECLCalDigit > m_eclarray
Displayed ECL events.
TString m_tempname
Name of temporary file.
virtual ~EclDisplayModule()
Module destructor.
bool m_showDisplay
Show GUI.
void handleClosedFrame()
This method is called when EclFrame is closed.
EclData * m_data
Class that provides interface for quick and comprehensive analysis of large number of events.
Root TGMainFrame that contains multiple widgets that display the ECLSimHit's w.r.t.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.