Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DetectorDescription
Base
interface
DDutils.h
Go to the documentation of this file.
1
#ifndef DDutils_hh
2
#define DDutils_hh 1
3
4
#include <string>
5
#include <vector>
6
// #include <iostream>
7
9
std::vector<int>
dbl_to_int
(
const
std::vector<double> & vecdbl);
10
12
std::string
dbl_to_string
(
const
double
&
in
);
13
14
//Converts int or double to std::string
15
std::string
int_to_string
(
const
int
&
in
);
16
17
#endif
dbl_to_string
std::string dbl_to_string(const double &in)
Converts only the integer part of a double to a string.
Definition:
DDutils.cc:12
recoMuon::in
Definition:
RecoMuonEnumerators.h:6
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
dbl_to_int
std::vector< int > dbl_to_int(const std::vector< double > &vecdbl)
Converts a std::vector of doubles to a std::vector of int.
Definition:
DDutils.cc:4
int_to_string
std::string int_to_string(const int &in)
Definition:
DDutils.cc:16
Generated for CMSSW Reference Manual by
1.8.5