18#ifndef ALICE_O2_EVENTVISUALISATION_VIEW_EVENTMANAGER_H
19#define ALICE_O2_EVENTVISUALISATION_VIEW_EVENTMANAGER_H
25#include "TEveCaloData.h"
27#include <TEveElement.h>
28#include <TEveEventManager.h>
36namespace event_visualisation
69 void Close()
override;
98 static constexpr auto TEMP_SETTINGS_PATH =
".o2eve_temp_settings.json";
100 static EventManager* instance;
104 DataSource* dataSource =
nullptr;
105 TString dataPath =
"";
107 VizSettings vizSettings;
112 ~EventManager() final;
114 EventManager(EventManager const&) = delete;
116 void operator=(EventManager const&) = delete;
118 void displayVisualisationEvent(VisualisationEvent&
event, const
std::
string& detectorName);
119 void displayCalorimeters(VisualisationEvent&
event, const
std::
string& detectorName);
120 void saveVisualisationSettings();
121 void restoreVisualisationSettings();
Abstract base class for Detector-specific reading from file(s)
void init(std::string const &hosts)
static EventManager & getInstance()
Returns an instance of EventManager.
void setDataSource(DataSource *dataSource)
DataSource * getDataSource()
void RemoveNewEventCommand(const TString &cmd) override
void AfterNewEventLoaded() override
void ClearNewEventCommands() override
void PrevEvent() override
void setShowDate(bool value)
void GotoEvent(Int_t) override
void setCdbPath(const TString &path)
Sets the CDB path in CCDB Manager.
void displayCurrentEvent()
void NextEvent() override
void setDataSourcePath(const TString &path)
Setter of the current data source path.
void AddNewEventCommand(const TString &cmd) override
GLsizei const GLfloat * value
GLsizei const GLchar *const * path
@ NdataTypes
number of supported data types
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Defining DataPointCompositeObject explicitly as copiable.