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
MuonSpectrometer
MuonCnv
MuonEventAthenaPool
src
NSW_TrigRawDataContainerCnv.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 "
NSW_TrigRawDataContainerCnv.h
"
6
7
NSW_TrigRawDataContainerCnv::NSW_TrigRawDataContainerCnv
(ISvcLocator* svcLocator) :
NSW_TrigRawDataContainerCnvBase
(svcLocator) { }
8
9
NSW_TrigRawDataContainer_PERS
*
NSW_TrigRawDataContainerCnv::createPersistent
(
Muon::NSW_TrigRawDataContainer
* transCont) {
10
MsgStream
log
(
msgSvc
(),
"NSW_TrigRawDataContainerCnv"
);
11
if
(
log
.level() <=
MSG::DEBUG
)
log
<<
MSG::DEBUG
<<
"NSW_TrigRawDataContainerCnv::createPersistent()"
<<
endmsg
;
12
return
m_TPConverter_p1
.
createPersistent
(transCont,
log
);
13
}
14
15
Muon::NSW_TrigRawDataContainer
*
NSW_TrigRawDataContainerCnv::createTransient
() {
16
MsgStream
log
(
msgSvc
(),
"NSW_TrigRawDataContainerCnv"
);
17
if
(
log
.level() <=
MSG::DEBUG
)
log
<<
MSG::DEBUG
<<
"NSW_TrigRawDataContainerCnv::createTransient()"
<<
endmsg
;
18
// UUID of the NSW_TrigRawDataContainer_p1 representation, created by uuidgen command
19
static
const
pool::Guid
p1_guid(
"5D25FB79-BFE3-44DC-9EEC-8A93CE7776B3"
);
20
21
Muon::NSW_TrigRawDataContainer
*transCont =
nullptr
;
22
if
(
compareClassGuid
(p1_guid)) {
23
std::unique_ptr<Muon::NSW_TrigRawDataContainer_p1> pContainer( this->poolReadObject<Muon::NSW_TrigRawDataContainer_p1>() );
24
transCont =
m_TPConverter_p1
.
createTransient
(pContainer.get(),
log
);
25
}
else
throw
std::runtime_error(
"No persistent version match for GUID NSW_TrigRawData RDO container"
);
26
return
transCont;
27
}
NSW_TrigRawDataContainerCnv::NSW_TrigRawDataContainerCnv
NSW_TrigRawDataContainerCnv(ISvcLocator *svcLocator)
Definition:
NSW_TrigRawDataContainerCnv.cxx:7
NSW_TrigRawDataContainerCnv.h
TPAbstractPolyCnvBase::createPersistent
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
pool::Guid
::Guid Guid
Definition:
T_AthenaPoolCustCnv.h:19
StdJOSetup.msgSvc
msgSvc
Provide convenience handles for various services.
Definition:
StdJOSetup.py:36
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
Muon::NSW_TrigRawDataContainer_p1
Definition:
NSW_TrigRawDataContainer_p1.h:12
NSW_TrigRawDataContainerCnv::createPersistent
virtual NSW_TrigRawDataContainer_PERS * createPersistent(Muon::NSW_TrigRawDataContainer *transCont) override
Definition:
NSW_TrigRawDataContainerCnv.cxx:9
NSW_TrigRawDataContainerCnv::m_TPConverter_p1
Muon::NSW_TrigRawDataContainerCnv_p1 m_TPConverter_p1
Definition:
NSW_TrigRawDataContainerCnv.h:23
NSW_TrigRawDataContainerCnv::createTransient
virtual Muon::NSW_TrigRawDataContainer * createTransient() override
Definition:
NSW_TrigRawDataContainerCnv.cxx:15
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.
Muon::NSW_TrigRawDataContainer
Definition:
NSW_TrigRawDataContainer.h:14
Muon::NSW_TrigRawDataContainerCnv_p1::createTransient
virtual NSW_TrigRawDataContainer * createTransient(const NSW_TrigRawDataContainer_p1 *persCont, MsgStream &log) override final
Definition:
NSW_TrigRawDataContainerCnv_p1.cxx:9
Generated on Fri Apr 25 2025 21:16:10 for ATLAS Offline Software by
1.8.18