ATLAS Offline Software
SystemTools.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef POOL_SYSTEMTOOLS_H
6 #define POOL_SYSTEMTOOLS_H
7 
8 #include "GaudiKernel/IMessageSvc.h"
9 
10 namespace pool{
11 
16  {
17  public:
19  static const char* GetEnv(const char* key);
20  static std::string GetEnvStr(const std::string& key);
21 
23  static bool FileExists(const char* filename);
24 
25  static std::string itostr(const int i);
26 
27  // get base component of the FC connection string
28  static std::string FCBasename(const std::string& cat);
29 
30  // return the output level for PFC
32 
33  // read the PFC_MSGLEVEL env setting
35 
36  // initialize the Gaudi framework for standalone executables
37  static bool initGaudi();
38  };
39 } // ns pool
40 #endif
pool::SystemTools::itostr
static std::string itostr(const int i)
pool::SystemTools::initGaudi
static bool initGaudi()
pool::SystemTools::GetOutputLvlFromEnv
static MSG::Level GetOutputLvlFromEnv()
pool
pool namespace
Definition: libname.h:15
pool::SystemTools::GetOutputLvl
static MSG::Level GetOutputLvl()
pool::SystemTools::FileExists
static bool FileExists(const char *filename)
Check if a file exists.
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
lumiFormat.i
int i
Definition: lumiFormat.py:85
pool::SystemTools::GetEnvStr
static std::string GetEnvStr(const std::string &key)
pool::SystemTools::GetEnv
static const char * GetEnv(const char *key)
Read an environment variable.
pool::SystemTools::FCBasename
static std::string FCBasename(const std::string &cat)
pool::SystemTools
Definition: SystemTools.h:16
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37