7#ifndef SCT_CablingUtilities_H
8#define SCT_CablingUtilities_H
29 bool inRange(
const int value,
const int lowerBound,
const int upperBound,
const std::string & valueName=
"");
32 int calculateLink(
const int MURorder,
const int ModID,
const int theSide,
const bool isSwapped =
false);
39 std::string
getenv(
const std::string & variableName);
std::string getenv(const std::string &variableName)
get an environment variable
int calculateLink(const int MURorder, const int ModID, const int theSide, const bool isSwapped=false)
calculate link, normal and swapped (from Kondo)
int stringToInt(const std::string &hexOrDecString)
Convert a string (decimal or hex) to an int; -1 indicates an error.
bool inRange(const int value, const int lowerBound, const int upperBound, const std::string &valueName)
Check range and give error if out of range.