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
src
Alignment
Geners
src
CatalogIO.cc
Go to the documentation of this file.
1
#include "Alignment/Geners/interface/CatalogIO.hh"
2
3
namespace
gs
{
4
bool
writeBinaryCatalog
(std::ostream &
os
,
5
const
unsigned
compressionCode,
6
const
unsigned
mergeLevel,
7
const
std::vector<std::string> &annotations,
8
const
AbsCatalog &
catalog
,
9
const
unsigned
formatId) {
10
os
.seekp(0, std::ios_base::beg);
11
12
const
unsigned
endianness = 0x01020304;
13
const
unsigned
char
sizelong =
sizeof
(long);
14
15
write_pod(
os
, formatId);
16
write_pod(
os
, endianness);
17
write_pod(
os
, sizelong);
18
write_pod(
os
, compressionCode);
19
write_pod(
os
, mergeLevel);
20
write_pod_vector(
os
, annotations);
21
22
return
!
os
.fail() &&
catalog
.classId().write(
os
) &&
catalog
.write(
os
);
23
}
24
}
// namespace gs
gs::writeBinaryCatalog
bool writeBinaryCatalog(std::ostream &os, const unsigned compressionCode, const unsigned mergeLevel, const std::vector< std::string > &annotations, const AbsCatalog &catalog, const unsigned formatId)
Definition:
CatalogIO.cc:4
l1tGTMenu_BTagSeeds_cff.os
os
Definition:
l1tGTMenu_BTagSeeds_cff.py:34
getEcalConditions_orcoffint2r_cff.catalog
catalog
Definition:
getEcalConditions_orcoffint2r_cff.py:40
gs
Definition:
AbsArchive.cc:46
Generated for CMSSW Reference Manual by
1.8.14