Project
Loading...
Searching...
No Matches
o2::event_visualisation::ConfigurationManager Class Reference

#include <ConfigurationManager.h>

Public Member Functions

const TEnv & getSettings ()
 
void getConfig (TEnv &settings) const
 Returns current event display configuration.
 
 ConfigurationManager (ConfigurationManager const &)=delete
 Deleted copy constructor.
 
void operator= (ConfigurationManager const &)=delete
 Deleted assignment operator.
 

Static Public Member Functions

static ConfigurationManagergetInstance ()
 Returns an instance of ConfigurationManager.
 
static void setOptionsFileName (const std::string &fileName)
 sets precise location of option file name (if not empty only this is used)
 
static UInt_t getRefreshRateInSeconds ()
 
static std::string getScreenshotPath (const char *prefix)
 
static UInt_t getScreenshotWidth (const char *prefix)
 
static UInt_t getScreenshotHeight (const char *prefix)
 
static UInt_t getScreenshotPixelObjectScale3d (const char *prefix)
 
static UInt_t getScreenshotPixelObjectScaleRphi (const char *prefix)
 
static UInt_t getScreenshotPixelObjectScaleZY (const char *prefix)
 
static std::string getDataDefault ()
 
static std::string getDataSyntheticRunDir ()
 
static std::string getDataCosmicRunDir ()
 
static std::string getDataPhysicsRunDir ()
 
static std::string getSimpleGeomR3Path ()
 
static UInt_t getOutreachFilesMax ()
 
static UInt_t getOutreachFrequencyInRefreshRates ()
 
static bool getScreenshotMonthly ()
 
static UInt_t getBackgroundColor ()
 
static bool getAxesShow ()
 
static bool getFullScreenMode ()
 
static double getCamera3DRotationHorizontal ()
 
static double getCamera3DRotationVertical ()
 
static double getCamera3DZoom ()
 
static double getCameraRPhiZoom ()
 
static double getCameraZYZoom ()
 
static const chargetScreenshotLogoO2 ()
 
static const chargetScreenshotLogoAlice ()
 

Detailed Description

Configuration Manager allows an easy access to the config file.

Configuration Manager is a singleton which assures an access to the correct configuration file, regardless of where it is located in the users home directory or in the O2 installation path.

Definition at line 36 of file ConfigurationManager.h.

Constructor & Destructor Documentation

◆ ConfigurationManager()

o2::event_visualisation::ConfigurationManager::ConfigurationManager ( ConfigurationManager const &  )
delete

Deleted copy constructor.

Member Function Documentation

◆ getAxesShow()

bool o2::event_visualisation::ConfigurationManager::getAxesShow ( )
static

Definition at line 151 of file ConfigurationManager.cxx.

◆ getBackgroundColor()

UInt_t o2::event_visualisation::ConfigurationManager::getBackgroundColor ( )
static

Definition at line 146 of file ConfigurationManager.cxx.

◆ getCamera3DRotationHorizontal()

double o2::event_visualisation::ConfigurationManager::getCamera3DRotationHorizontal ( )
static

Definition at line 161 of file ConfigurationManager.cxx.

◆ getCamera3DRotationVertical()

double o2::event_visualisation::ConfigurationManager::getCamera3DRotationVertical ( )
static

Definition at line 166 of file ConfigurationManager.cxx.

◆ getCamera3DZoom()

double o2::event_visualisation::ConfigurationManager::getCamera3DZoom ( )
static

Definition at line 171 of file ConfigurationManager.cxx.

◆ getCameraRPhiZoom()

double o2::event_visualisation::ConfigurationManager::getCameraRPhiZoom ( )
static

Definition at line 176 of file ConfigurationManager.cxx.

◆ getCameraZYZoom()

double o2::event_visualisation::ConfigurationManager::getCameraZYZoom ( )
static

Definition at line 181 of file ConfigurationManager.cxx.

◆ getConfig()

void o2::event_visualisation::ConfigurationManager::getConfig ( TEnv &  settings) const

Returns current event display configuration.

Definition at line 34 of file ConfigurationManager.cxx.

◆ getDataCosmicRunDir()

std::string o2::event_visualisation::ConfigurationManager::getDataCosmicRunDir ( )
static

Definition at line 129 of file ConfigurationManager.cxx.

◆ getDataDefault()

std::string o2::event_visualisation::ConfigurationManager::getDataDefault ( )
static

Definition at line 118 of file ConfigurationManager.cxx.

◆ getDataPhysicsRunDir()

std::string o2::event_visualisation::ConfigurationManager::getDataPhysicsRunDir ( )
static

Definition at line 135 of file ConfigurationManager.cxx.

◆ getDataSyntheticRunDir()

std::string o2::event_visualisation::ConfigurationManager::getDataSyntheticRunDir ( )
static

Definition at line 123 of file ConfigurationManager.cxx.

◆ getFullScreenMode()

bool o2::event_visualisation::ConfigurationManager::getFullScreenMode ( )
static

Definition at line 156 of file ConfigurationManager.cxx.

◆ getInstance()

ConfigurationManager & o2::event_visualisation::ConfigurationManager::getInstance ( )
static

Returns an instance of ConfigurationManager.

Definition at line 28 of file ConfigurationManager.cxx.

◆ getOutreachFilesMax()

UInt_t o2::event_visualisation::ConfigurationManager::getOutreachFilesMax ( )
static

Definition at line 83 of file ConfigurationManager.cxx.

◆ getOutreachFrequencyInRefreshRates()

UInt_t o2::event_visualisation::ConfigurationManager::getOutreachFrequencyInRefreshRates ( )
static

Definition at line 73 of file ConfigurationManager.cxx.

◆ getRefreshRateInSeconds()

UInt_t o2::event_visualisation::ConfigurationManager::getRefreshRateInSeconds ( )
static

Definition at line 68 of file ConfigurationManager.cxx.

◆ getScreenshotHeight()

UInt_t o2::event_visualisation::ConfigurationManager::getScreenshotHeight ( const char prefix)
static

Definition at line 93 of file ConfigurationManager.cxx.

◆ getScreenshotLogoAlice()

const char * o2::event_visualisation::ConfigurationManager::getScreenshotLogoAlice ( )
static

Definition at line 193 of file ConfigurationManager.cxx.

◆ getScreenshotLogoO2()

const char * o2::event_visualisation::ConfigurationManager::getScreenshotLogoO2 ( )
static

Definition at line 186 of file ConfigurationManager.cxx.

◆ getScreenshotMonthly()

bool o2::event_visualisation::ConfigurationManager::getScreenshotMonthly ( )
static

Definition at line 113 of file ConfigurationManager.cxx.

◆ getScreenshotPath()

std::string o2::event_visualisation::ConfigurationManager::getScreenshotPath ( const char prefix)
static

Definition at line 78 of file ConfigurationManager.cxx.

◆ getScreenshotPixelObjectScale3d()

UInt_t o2::event_visualisation::ConfigurationManager::getScreenshotPixelObjectScale3d ( const char prefix)
static

Definition at line 98 of file ConfigurationManager.cxx.

◆ getScreenshotPixelObjectScaleRphi()

UInt_t o2::event_visualisation::ConfigurationManager::getScreenshotPixelObjectScaleRphi ( const char prefix)
static

Definition at line 103 of file ConfigurationManager.cxx.

◆ getScreenshotPixelObjectScaleZY()

UInt_t o2::event_visualisation::ConfigurationManager::getScreenshotPixelObjectScaleZY ( const char prefix)
static

Definition at line 108 of file ConfigurationManager.cxx.

◆ getScreenshotWidth()

UInt_t o2::event_visualisation::ConfigurationManager::getScreenshotWidth ( const char prefix)
static

Definition at line 88 of file ConfigurationManager.cxx.

◆ getSettings()

const TEnv & o2::event_visualisation::ConfigurationManager::getSettings ( )
inline

Definition at line 48 of file ConfigurationManager.h.

◆ getSimpleGeomR3Path()

std::string o2::event_visualisation::ConfigurationManager::getSimpleGeomR3Path ( )
static

Definition at line 141 of file ConfigurationManager.cxx.

◆ operator=()

void o2::event_visualisation::ConfigurationManager::operator= ( ConfigurationManager const &  )
delete

Deleted assignment operator.

◆ setOptionsFileName()

static void o2::event_visualisation::ConfigurationManager::setOptionsFileName ( const std::string &  fileName)
inlinestatic

sets precise location of option file name (if not empty only this is used)

Definition at line 54 of file ConfigurationManager.h.


The documentation for this class was generated from the following files: