Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
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
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
y
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
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
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
Macros
_
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
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Database
AthenaPOOL
RootConversions
src
VectorConverters.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id$
16
#include "
RootConversions/VectorConverters.h
"
17
#include "
RootConversions/VectorConverter.h
"
18
#include "
RootConversions/TConverterRegistry.h
"
19
20
#ifdef XAOD_ANALYSIS
21
#include "TError.h"
22
#endif
23
24
25
namespace
RootConversions
{
26
27
31
void
VectorConverters::initialize
()
32
{
33
#ifdef XAOD_ANALYSIS
34
long
tmpError =
gErrorIgnoreLevel
;
35
gErrorIgnoreLevel
=
kError
;
//silences the warnings about duplicate entries from vector.dll and vector-bool.dll
36
#endif
37
TConverterRegistry::Instance
()->
AddStreamerConverter
38
(
"vector<double>"
,
"vector<float>"
,
39
new
RootConversions::VectorConverter<double,float>
(
"double"
));
40
41
TConverterRegistry::Instance
()->
AddStreamerConverter
42
(
"vector<unsigned long>"
,
"vector<unsigned long long>"
,
43
new
RootConversions::VectorConverter<unsigned long,unsigned long long>
44
(
"unsigned long"
));
45
46
TConverterRegistry::Instance
()->
AddStreamerConverter
47
(
"vector<unsigned long long>"
,
"vector<unsigned long>"
,
48
new
RootConversions::VectorConverter<unsigned long long,unsigned long>
49
(
"unsigned long long"
));
50
51
TConverterRegistry::Instance
()->
AddStreamerConverter
52
(
"vector<unsigned short>"
,
"vector<int>"
,
53
new
RootConversions::VectorConverter<unsigned short,int>
54
(
"unsigned short"
));
55
56
TConverterRegistry::Instance
()->
AddStreamerConverter
57
(
"vector<unsigned short>"
,
"vector<long long>"
,
58
new
RootConversions::VectorConverter<unsigned short,long long>
59
(
"unsigned short"
));
60
61
TConverterRegistry::Instance
()->
AddStreamerConverter
62
(
"vector<unsigned short>"
,
"vector<Long64_t>"
,
63
new
RootConversions::VectorConverter<unsigned short,Long64_t>
64
(
"unsigned short"
));
65
66
TConverterRegistry::Instance
()->
AddStreamerConverter
67
(
"vector<unsigned int>"
,
"vector<ULong64_t>"
,
68
new
RootConversions::VectorConverter<unsigned int,ULong64_t>
69
(
"unsigned int"
));
70
#ifdef XAOD_ANALYSIS
71
gErrorIgnoreLevel
=tmpError;
72
#endif
73
}
74
75
76
}
// namespace RootConversions
RootConversions
Definition:
VectorConverter.h:31
covarianceToolsLibrary.gErrorIgnoreLevel
gErrorIgnoreLevel
Definition:
covarianceToolsLibrary.py:21
VectorConverters.h
Define converters for some standard vector types, needed to read old data files and for cross-platfor...
RootConversions::VectorConverter
Converter for vector<T> to vector.
Definition:
VectorConverter.h:40
RootConversions::VectorConverters::initialize
static void initialize()
Register all CLHEP converters.
Definition:
VectorConverters.cxx:31
Analysis::kError
@ kError
Definition:
CalibrationDataVariables.h:60
TConverterRegistry::AddStreamerConverter
void AddStreamerConverter(const std::string &from_type, const std::string &to_type, TMemberStreamer *streamer)
Definition:
TConverterRegistry.cxx:114
TConverterRegistry.h
Registry for Root converters.
TConverterRegistry::Instance
static TConverterRegistry * Instance()
Return a pointer to the global registry instance.
Definition:
TConverterRegistry.cxx:143
VectorConverter.h
Template for streamer converter for vector<T> -> vector, assuming T is convertable to U.
Generated on Sun Mar 16 2025 21:22:44 for ATLAS Offline Software by
1.8.18