ATLAS Offline Software
Loading...
Searching...
No Matches
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
12#include <cstdlib>
13
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}
header file for SCT conditions utilities
std::string getenv(const std::string &variableName)
get an environment variable
SCT_SimpleHisto.h C++ projects.