ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_CablingUtilities.cxx File Reference
#include <iostream>
#include <sstream>
#include <string>
#include <cstdlib>
Include dependency graph for SCT_CablingUtilities.cxx:

Go to the source code of this file.

Namespaces

namespace  SCT_Cabling
namespace  SCT_Cabling::CoveritySafe

Functions

Utility functions for this unit
int SCT_Cabling::stringToInt (const std::string &hexOrDecString)
 Convert a string (decimal or hex) to an int; -1 indicates an error.
bool SCT_Cabling::inRange (const int value, const int lowerBound, const int upperBound, const std::string &valueName)
 Check range and give error if out of range.
int SCT_Cabling::calculateLink (const int MURorder, const int ModID, const int theSide, const bool isSwapped=false)
 calculate link, normal and swapped (from Kondo)
Equivalent functions which avoid coverity check warnings
std::string SCT_Cabling::CoveritySafe::getenv (const std::string &variableName)
 get an environment variable