ATLAS Offline Software
Event/xAOD/xAODCore/xAODCore/tools/Utils.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: Utils.h 573032 2013-11-29 13:33:57Z krasznaa $
8 #ifndef XAODCORE_TOOLS_UTILS_H
9 #define XAODCORE_TOOLS_UTILS_H
10 
11 // System include(s):
12 #include <string>
13 
14 // ROOT include(s):
15 #include <Rtypes.h>
16 
17 namespace xAOD {
18 
19  namespace Utils {
20 
22  std::string timeToString( ::Double_t secs );
23 
25  std::string sizeToString( ::Long64_t bytes );
26 
28  std::string speedToString( ::Double_t bytespersec );
29 
30  } // namespace Utils
31 
32 } // namespace xAOD
33 
34 #endif // XAODCORE_TOOLS_UTILS_H
xAOD::Utils::sizeToString
std::string sizeToString(::Long64_t bytes)
Function for printing data sizes in human-readable format.
Definition: Event/xAOD/xAODCore/Root/Utils.cxx:129
xAOD::Utils::speedToString
std::string speedToString(::Double_t bytespersec)
Function for printing data processing speeds in a human-readable format.
Definition: Event/xAOD/xAODCore/Root/Utils.cxx:151
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::Utils::timeToString
std::string timeToString(::Double_t secs)
Function creating a human-readable elapsed time printout.
Definition: Event/xAOD/xAODCore/Root/Utils.cxx:99
Utils
Definition: CaloCellSelectorUtils.cxx:10