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_RawDataContainerCnv_charge.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_RawDataContainerCnv_charge.h
"
6
7
ALFA_RawDataContainer_charge_PERS
*
ALFA_RawDataContainerCnv_charge::createPersistent
(
ALFA_RawDataContainer_charge
* transCont) {
8
9
MsgStream
log
(
msgSvc
(),
"ALFA_RawDataContainerCnv_charge"
);
10
if
(
log
.level()<=
MSG::DEBUG
)
log
<<
MSG::DEBUG
<<
"In ALFA_RawDataContainerCnv_charge::createPersistent"
<<
endmsg
;
11
12
ALFA_RawDataContainerCnv_charge_p1
TPConverter;
13
ALFA_RawDataContainer_charge_PERS
* persCont = TPConverter.
createPersistent
(transCont,
log
);
14
15
if
(
log
.level()<=
MSG::DEBUG
)
log
<<
MSG::DEBUG
<<
"Wrote persistent BCM RDO Container with "
<< persCont->size() <<
" entries"
<<
endmsg
;
16
return
persCont;
17
18
}
19
20
ALFA_RawDataContainer_charge
*
ALFA_RawDataContainerCnv_charge::createTransient
() {
21
22
MsgStream
log
(
msgSvc
(),
"ALFA_RawDataContainerCnv_charge"
);
23
if
(
log
.level()<=
MSG::DEBUG
)
log
<<
MSG::DEBUG
<<
"In ALFA_RawDataContainerCnv_charge::createTransient"
<<
endmsg
;
24
25
ALFA_RawDataContainerCnv_charge_p1
TPConverter_p1;
26
ALFA_RawDataContainer_charge
* transCont(
nullptr
);
27
28
static
const
pool::Guid
p1_guid(
"0C023583-E3D4-4C7D-9B20-B6B2A1018D2F"
);
29
30
if
(this->
compareClassGuid
(p1_guid)) {
31
32
std::unique_ptr< ALFA_RawDataContainer_charge_p1 > persCont(poolReadObject< ALFA_RawDataContainer_charge_p1 >());
33
34
transCont = TPConverter_p1.
createTransient
(persCont.get(),
log
);
35
}
36
else
throw
std::runtime_error(
"Unsupported persistent version of Data container"
);
37
38
39
return
transCont;
40
41
42
}
43
44
45
ALFA_RawDataContainerCnv_charge.h
TPPolyCnvBase::createTransient
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
ALFA_RawDataContainerCnv_charge_p1
Definition:
ALFA_RawDataContainerCnv_charge_p1.h:21
TPAbstractPolyCnvBase::createPersistent
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
ALFA_RawDataContainer_charge_p1
Definition:
ALFA_RawDataContainer_charge_p1.h:11
pool::Guid
::Guid Guid
Definition:
T_AthenaPoolCustCnv.h:19
StdJOSetup.msgSvc
msgSvc
Provide convenience handles for various services.
Definition:
StdJOSetup.py:36
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
ALFA_RawDataContainerCnv_charge::createTransient
virtual ALFA_RawDataContainer_charge * createTransient()
Definition:
ALFA_RawDataContainerCnv_charge.cxx:20
ALFA_RawDataContainer_charge
This container provides acces to the PMF RDOs.
Definition:
ALFA_RawDataContainer_charge.h:21
ALFA_RawDataContainerCnv_charge::createPersistent
virtual ALFA_RawDataContainer_charge_PERS * createPersistent(ALFA_RawDataContainer_charge *transCont)
Definition:
ALFA_RawDataContainerCnv_charge.cxx:7
DEBUG
#define DEBUG
Definition:
page_access.h:11
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
T_AthenaPoolCustCnv::compareClassGuid
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
Generated on Fri Apr 25 2025 21:07:01 for ATLAS Offline Software by
1.8.18