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
ForwardDetectors
ZDC
ZdcCnv
ZdcEventAthenaPool
src
ZdcDigitsCollectionCnv.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ZdcEventTPCnv/ZdcDigitsCollectionCnv_p1.h
"
6
#include "
ZdcDigitsCollectionCnv.h
"
7
// Gaudi
8
#include "GaudiKernel/MsgStream.h"
9
10
ZdcDigitsCollection_PERS
*
ZdcDigitsCollectionCnv::createPersistent
(
ZdcDigitsCollection
* transCont) {
11
12
MsgStream
mlog
(
msgSvc
(),
"ZdcDigitsCollectionConverter"
);
13
ZdcDigitsCollectionCnv_p1
converter;
14
ZdcDigitsCollection_PERS
*persObj = converter.
createPersistent
( transCont,
mlog
);
15
16
17
return
persObj;
18
}
19
20
ZdcDigitsCollection
*
ZdcDigitsCollectionCnv::createTransient
() {
21
22
23
MsgStream
mlog
(
msgSvc
(),
"ZdcDigitsCollectionConverter"
);
24
ZdcDigitsCollectionCnv_p1
converter_p1;
25
26
ZdcDigitsCollection
*trans_cont(
nullptr
);
27
28
static
const
pool::Guid
p1_guid(
"B77B5F9A-1C29-4D74-A107-B3C71680C029"
);
29
if
( this->
compareClassGuid
(p1_guid)) {
30
std::unique_ptr< ZdcDigitsCollection_p1 > col_vect( this->poolReadObject< ZdcDigitsCollection_p1 >() );
31
trans_cont = converter_p1.
createTransient
(col_vect.get(),
mlog
);
32
}
33
else
{
34
throw
std::runtime_error(
"Unsupported persistent version of Data collection"
);
35
}
36
37
38
return
trans_cont;
39
}
ZdcDigitsCollectionCnv::createTransient
virtual ZdcDigitsCollection * createTransient()
Definition:
ZdcDigitsCollectionCnv.cxx:20
TPPolyCnvBase::createTransient
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
TPAbstractPolyCnvBase::createPersistent
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
ZdcDigitsCollectionCnv_p1
Definition:
ZdcDigitsCollectionCnv_p1.h:25
pool::Guid
::Guid Guid
Definition:
T_AthenaPoolCustCnv.h:19
ZdcDigitsCollectionCnv_p1.h
ZdcDigitsCollection_p1
Definition:
ZdcDigitsCollection_p1.h:19
python.InDetPriVxFinderConfig.mlog
mlog
Definition:
InDetPriVxFinderConfig.py:149
StdJOSetup.msgSvc
msgSvc
Provide convenience handles for various services.
Definition:
StdJOSetup.py:36
ZdcDigitsCollectionCnv.h
ZdcDigitsCollection
Definition:
ZdcDigitsCollection.h:20
ZdcDigitsCollectionCnv::createPersistent
virtual ZdcDigitsCollection_PERS * createPersistent(ZdcDigitsCollection *transCont)
Definition:
ZdcDigitsCollectionCnv.cxx:10
T_AthenaPoolCustCnv::compareClassGuid
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
Generated on Wed Apr 16 2025 21:23:44 for ATLAS Offline Software by
1.8.18