Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
HeterogeneousCore
SonicTriton
src
triton_utils.cc
Go to the documentation of this file.
1
#include "
HeterogeneousCore/SonicTriton/interface/triton_utils.h
"
2
3
#include <sstream>
4
#include <experimental/iterator>
5
6
namespace
triton_utils
{
7
8
template
<
typename
C>
9
std::string
printColl
(
const
C
& coll,
const
std::string
& delim) {
10
if
(coll.empty())
11
return
""
;
12
std::stringstream
msg
;
13
//avoid trailing delim
14
std::copy
(std::begin(coll),
std::end
(coll), std::experimental::make_ostream_joiner(
msg
, delim));
15
return
msg
.str();
16
}
17
18
}
// namespace triton_utils
19
20
template
std::string
triton_utils::printColl
(
const
edm::Span
<std::vector<int64_t>::const_iterator>& coll,
21
const
std::string
& delim);
22
template
std::string
triton_utils::printColl
(
const
std::vector<uint8_t>& coll,
const
std::string
& delim);
23
template
std::string
triton_utils::printColl
(
const
std::vector<float>& coll,
const
std::string
& delim);
24
template
std::string
triton_utils::printColl
(
const
std::unordered_set<std::string>& coll,
const
std::string
& delim);
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
correctionTermsCaloMet_cff.C
C
Definition:
correctionTermsCaloMet_cff.py:34
filterCSVwithJSON.copy
copy
Definition:
filterCSVwithJSON.py:36
mps_fire.end
end
Definition:
mps_fire.py:242
mps_check.msg
tuple msg
Definition:
mps_check.py:285
triton_utils.h
edm::Span
Definition:
Span.h:16
triton_utils::printColl
std::string printColl(const C &coll, const std::string &delim=", ")
Definition:
triton_utils.cc:9
triton_utils
Definition:
triton_utils.h:14
Generated for CMSSW Reference Manual by
1.8.14