ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
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
}
SCT_ConditionsUtilities.h
header file for SCT conditions utilities
SCT_ConditionsAlgorithms::CoveritySafe
Definition
SCT_ConditionsUtilities.cxx:15
SCT_ConditionsAlgorithms::CoveritySafe::getenv
std::string getenv(const std::string &variableName)
get an environment variable
Definition
SCT_ConditionsUtilities.cxx:17
SCT_ConditionsAlgorithms
SCT_SimpleHisto.h C++ projects.
Definition
SCT_ConditionsUtilities.cxx:14
result
Generated on
for ATLAS Offline Software by
1.14.0