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
ALFA
ALFA_EventCnv
ALFA_EventAthenaPool
src
ALFA_GloRecEvCollectionCnv.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
#include "
ALFA_EventTPCnv/ALFA_GloRecEvCollectionCnv_p1.h
"
6
#include "
ALFA_GloRecEvCollectionCnv.h
"
7
8
9
10
ALFA_GloRecEvCollection_PERS
*
ALFA_GloRecEvCollectionCnv::createPersistent
(
ALFA_GloRecEvCollection
* transCont) {
11
MsgStream
mlog
(
msgSvc
(),
"ALFA_GloRecEvCollectionConverter"
);
12
ALFA_GloRecEvCollectionCnv_p1
TPConverter;
13
ALFA_GloRecEvCollection_PERS
*persObj = TPConverter.
createPersistent
( transCont,
mlog
);
14
return
persObj;
15
}
16
17
18
ALFA_GloRecEvCollection
*
ALFA_GloRecEvCollectionCnv::createTransient
() {
19
MsgStream
mlog
(
msgSvc
(),
"ALFA_GloRecEvCollectionConverter"
);
20
21
ALFA_GloRecEvCollectionCnv_p1
TPConverter_p1;
22
23
ALFA_GloRecEvCollection
*trans_cont(
nullptr
);
// probably inicialization
24
static
const
pool::Guid
p1_guid (
"210D255A-F94F-4009-9A9B-2122597330D5"
);
25
26
if
( this->
compareClassGuid
(p1_guid)) {
27
std::unique_ptr< ALFA_GloRecEvCollection_p1 > col_vect( this->poolReadObject< ALFA_GloRecEvCollection_p1 >() );
28
trans_cont = TPConverter_p1.
createTransient
( col_vect.get(),
mlog
);
29
}
30
// else if( m_token.find("CLID=35722E01-C4E3-420E-8A7E-E375C5E7989D") != std::string::npos) {
31
// old version from before TP separation, just return it
32
// trans_cont = this->poolReadObject<ALFA_DigitCollection>();
33
// }
34
else
{
35
throw
std::runtime_error(
"Unsupported persistent version of Data container"
);
36
}
37
return
trans_cont;
38
}
ALFA_GloRecEvCollectionCnv::createPersistent
ALFA_GloRecEvCollection_PERS * createPersistent(ALFA_GloRecEvCollection *transCont)
Definition:
ALFA_GloRecEvCollectionCnv.cxx:10
ALFA_GloRecEvCollectionCnv_p1
Definition:
ALFA_GloRecEvCollectionCnv_p1.h:14
TPPolyCnvBase::createTransient
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
ALFA_GloRecEvCollection_p1
Definition:
ALFA_GloRecEvCollection_p1.h:16
TPAbstractPolyCnvBase::createPersistent
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
ALFA_GloRecEvCollection
Definition:
ALFA_GloRecEvCollection.h:13
pool::Guid
::Guid Guid
Definition:
T_AthenaPoolCustCnv.h:19
python.InDetPriVxFinderConfig.mlog
mlog
Definition:
InDetPriVxFinderConfig.py:149
StdJOSetup.msgSvc
msgSvc
Provide convenience handles for various services.
Definition:
StdJOSetup.py:36
ALFA_GloRecEvCollectionCnv::createTransient
ALFA_GloRecEvCollection * createTransient()
Definition:
ALFA_GloRecEvCollectionCnv.cxx:18
ALFA_GloRecEvCollectionCnv.h
T_AthenaPoolCustCnv< ALFA_GloRecEvCollection, ALFA_GloRecEvCollection_PERS >::compareClassGuid
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
ALFA_GloRecEvCollectionCnv_p1.h
Generated on Thu Apr 24 2025 21:06:59 for ATLAS Offline Software by
1.8.18