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
Event
xAOD
xAODTauAthenaPool
src
xAODTauJetContainerCnv_v1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// System include(s):
6
#include <stdexcept>
7
8
// Gaudi/Athena include(s):
9
#include "GaudiKernel/MsgStream.h"
10
11
// Local include(s):
12
#include "
xAODTauJetContainerCnv_v1.h
"
13
14
15
xAODTauJetContainerCnv_v1::xAODTauJetContainerCnv_v1
()
16
{
17
}
18
19
void
xAODTauJetContainerCnv_v1::
20
persToTrans
(
const
xAOD::TauJetContainer_v1
* oldObj,
21
xAOD::TauJetContainer
* newObj,
22
MsgStream&
/*log*/
)
const
{
23
24
// Clear the transient object:
25
newObj->
clear
();
26
27
// Simply fill the transient object with as many new objects as many we have
28
// in the persistent object:
29
for
(
size_t
i
= 0;
i
< oldObj->
size
(); ++
i
) {
30
newObj->
push_back
(
new
xAOD::TauJet
() );
31
}
32
33
return
;
34
}
35
39
void
xAODTauJetContainerCnv_v1::transToPers
(
const
xAOD::TauJetContainer
*,
40
xAOD::TauJetContainer_v1
*,
41
MsgStream&
log
)
const
{
42
43
log
<< MSG::ERROR
44
<<
"Somebody called xAODTauJetContainerCnv_v1::transToPers"
45
<<
endmsg
;
46
throw
std::runtime_error(
"Somebody called xAODTauJetContainerCnv_v1::"
47
"transToPers"
);
48
49
return
;
50
}
xAODTauJetContainerCnv_v1::persToTrans
virtual void persToTrans(const xAOD::TauJetContainer_v1 *oldObj, xAOD::TauJetContainer *newObj, MsgStream &log) const override
Function converting from the old type to the current one.
Definition:
xAODTauJetContainerCnv_v1.cxx:20
xAODTauJetContainerCnv_v1.h
xAODTauJetContainerCnv_v1::xAODTauJetContainerCnv_v1
xAODTauJetContainerCnv_v1()
Default constructor.
Definition:
xAODTauJetContainerCnv_v1.cxx:15
lumiFormat.i
int i
Definition:
lumiFormat.py:85
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
xAOD::TauJet_v3
Class describing a tau jet.
Definition:
TauJet_v3.h:41
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
DataVector::clear
void clear()
Erase all the elements in the collection.
xAODTauJetContainerCnv_v1::transToPers
virtual void transToPers(const xAOD::TauJetContainer *, xAOD::TauJetContainer_v1 *, MsgStream &log) const override
Dummy function inherited from the base class.
Definition:
xAODTauJetContainerCnv_v1.cxx:39
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
Generated on Thu Apr 24 2025 21:23:39 for ATLAS Offline Software by
1.8.18