 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PANTAUALGS_TOOL_HELPERFUNCTIONS
6 #define PANTAUALGS_TOOL_HELPERFUNCTIONS
40 virtual int getBinIndex(
const std::vector<double>& binEdges,
double value)
const;
42 virtual double stddev(
double sumOfSquares,
double sumOfValues,
int numConsts)
const;
48 if(!
tool->isInitialized())
49 if (
tool->initialize().isFailure())
50 return StatusCode::FAILURE;
51 handle = ToolHandle<T>(
tool);
52 return StatusCode::SUCCESS;
78 #endif // PANTAUALGS_TOOL_HELPERFUNCTIONS
AsgMessaging(const std::string &name)
Constructor with a name.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual int getBinIndex(const std::vector< double > &binEdges, double value) const
virtual std::string convertNumberToString(double x) const
HelperFunctions(const std::string &name="")
Class mimicking the AthMessaging class from the offline software.
static StatusCode bindToolHandle(ToolHandle< T > &, std::string)
virtual ~HelperFunctions()
virtual double stddev(double sumOfSquares, double sumOfValues, int numConsts) const
const std::string & getName() const