ATLAS Offline Software
MuonSpectrometer/MuonCalib/MuonCalibUtils/MuonCalibStl/MuonCalibStl/ToString.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TOSTRING
6 #define TOSTRING
7 
8 #include <sstream>
9 #include <string>
10 
11 namespace MuonCalib {
12 
18  class ToString {
19  public:
20  template< class T >
21  std::string operator()( const T& i )
22  {
23  std::ostringstream os;
24  os << i;
25  return os.str();
26  }
27  };
28 }
29 
30 #endif
MuonCalib::ToString::operator()
std::string operator()(const T &i)
Definition: MuonSpectrometer/MuonCalib/MuonCalibUtils/MuonCalibStl/MuonCalibStl/ToString.h:21
lumiFormat.i
int i
Definition: lumiFormat.py:92
MuonCalib::ToString
Definition: MuonSpectrometer/MuonCalib/MuonCalibUtils/MuonCalibStl/MuonCalibStl/ToString.h:18
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231