18#include <fairlogger/Logger.h>
25namespace event_visualisation
37 if (not this->mOptionsFileName.empty() and settings.ReadFile(fileName = this->mOptionsFileName, kEnvUser) >= 0) {
40 if (settings.ReadFile(fileName =
".o2eve_config", kEnvUser) < 0) {
41 LOGF(warn,
"could not find .o2eve_config in working directory! Trying .o2eve_config in home directory");
42 if (settings.ReadFile(fileName = Form(
"%s/.o2eve_config", gSystem->Getenv(
"HOME")), kEnvUser) < 0) {
43 LOGF(warn,
"could not find .o2eve_config in home directory! Trying o2eve_config in home directory");
44 if (settings.ReadFile(fileName = Form(
"%s/o2eve_config", gSystem->Getenv(
"HOME")), kEnvUser) < 0) {
45 LOGF(warn,
"could not find o2eve_config in home directory! Trying o2eve_config in O2/EventVisualisation");
46 if (settings.ReadFile(fileName = Form(
"%s/EventVisualisation/o2eve_config",
47 gSystem->Getenv(
"ALICEO2_INSTALL_PATH")),
49 LOGF(fatal,
"could not find .o2eve_config or o2eve_config file!.");
55 LOGF(info, Form(
"using %s config settings", fileName.Data()));
60 if (this->mSettingsLoadCounter <= 0) {
62 this->mSettingsLoadCounter = mSettings.GetValue(
"settings.reload", 10000);
64 this->mSettingsLoadCounter--;
196 "screenshot.logo.alice",
"alice-white.png");
static double getCamera3DRotationVertical()
static std::string getDataCosmicRunDir()
static UInt_t getBackgroundColor()
static double getCameraRPhiZoom()
static double getCameraZYZoom()
static bool getFullScreenMode()
static std::string getScreenshotPath(const char *prefix)
static double getCamera3DZoom()
static UInt_t getRefreshRateInSeconds()
static UInt_t getScreenshotHeight(const char *prefix)
static ConfigurationManager & getInstance()
Returns an instance of ConfigurationManager.
static bool getScreenshotMonthly()
static std::string getDataPhysicsRunDir()
void getConfig(TEnv &settings) const
Returns current event display configuration.
static UInt_t getScreenshotPixelObjectScale3d(const char *prefix)
static UInt_t getScreenshotPixelObjectScaleZY(const char *prefix)
static std::string getSimpleGeomR3Path()
static std::string getDataDefault()
static UInt_t getScreenshotWidth(const char *prefix)
static const char * getScreenshotLogoO2()
static UInt_t getOutreachFilesMax()
static UInt_t getOutreachFrequencyInRefreshRates()
static const char * getScreenshotLogoAlice()
static std::string getDataSyntheticRunDir()
static double getCamera3DRotationHorizontal()
static bool getAxesShow()
static UInt_t getScreenshotPixelObjectScaleRphi(const char *prefix)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Defining DataPointCompositeObject explicitly as copiable.