ATLAS Offline Software
InnerDetector
InDetConditions
SCT_ConditionsAlgorithms
src
SCT_ConditionsUtilities.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
11
#include "
SCT_ConditionsUtilities.h
"
12
#include <cstdlib>
13
14
namespace
SCT_ConditionsAlgorithms
{
15
namespace
CoveritySafe {
17
std::string
getenv
(
const
std::string& variableName) {
18
std::string
result
;
19
const
char
* pChar{
std::getenv
(variableName.c_str())};
20
if
(pChar)
result
=pChar;
21
return
result
;
22
}
23
}
24
}
get_generator_info.result
result
Definition:
get_generator_info.py:21
SCT_ConditionsAlgorithms
SCT_SimpleHisto.h C++ projects.
Definition:
SCT_ConditionsUtilities.cxx:14
SCT_ConditionsAlgorithms::CoveritySafe::getenv
std::string getenv(const std::string &variableName)
get an environment variable
Definition:
SCT_ConditionsUtilities.cxx:17
SCT_ConditionsUtilities.h
Generated on Thu Nov 7 2024 21:25:26 for ATLAS Offline Software by
1.8.18