ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_CablingUtilities.h File Reference

Header file for utility functions used in SCT cabling code. More...

#include <sstream>
#include <string>
Include dependency graph for SCT_CablingUtilities.h:
This graph shows which files directly or indirectly include this file:

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

Detailed Description

Header file for utility functions used in SCT cabling code.

Author
Shaun Roe
Date
14/11/2008.

Definition in file SCT_CablingUtilities.h.