ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODTrigBphysAthenaPool
src
xAODTrigBphysAuxContainerCnv.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id: xAODTrigBphysAuxContainerCnv.cxx
6
7
// System include(s):
8
#include <exception>
9
#include <mutex>
10
11
// Local include(s):
12
#include "
xAODTrigBphysAuxContainerCnv.h
"
13
14
15
#define LOAD_DICTIONARY( name ) do { TClass* cl = TClass::GetClass( name ); \
16
if( ( ! cl ) || ( ! cl->IsLoaded() ) ) { ATH_MSG_ERROR( "Couldn't load dictionary for type: " << name ); } } while(0)
17
18
19
xAOD::TrigBphysAuxContainer
*
20
xAODTrigBphysAuxContainerCnv::
21
createPersistentWithKey
(
xAOD::TrigBphysAuxContainer
* trans,
22
const
std::string& key)
23
{
24
// ??? Still needed?
25
std::once_flag flag;
26
std::call_once (flag,
27
[
this
] {
28
LOAD_DICTIONARY
(
"ElementLink<DataVector<xAOD::TrigBphys_v1> >"
);
29
LOAD_DICTIONARY
(
"std::vector<ElementLink<DataVector<xAOD::TrackParticle_v1> >"
);
30
});
31
32
// Create a copy of the container:
33
return
xAODTrigBphysAuxContainerCnvBase::createPersistentWithKey
(trans, key);
34
}
T_AthenaPoolAuxContainerCnv< xAOD::TrigBphysAuxContainer >::createPersistentWithKey
virtual xAOD::TrigBphysAuxContainer * createPersistentWithKey(xAOD::TrigBphysAuxContainer *trans, const std::string &key) override
xAODTrigBphysAuxContainerCnv::createPersistentWithKey
virtual xAOD::TrigBphysAuxContainer * createPersistentWithKey(xAOD::TrigBphysAuxContainer *trans, const std::string &key) override
Function preparing the container to be written out.
Definition
xAODTrigBphysAuxContainerCnv.cxx:21
xAOD::TrigBphysAuxContainer
TrigBphysAuxContainer_v1 TrigBphysAuxContainer
Definition
TrigBphysAuxContainer.h:12
LOAD_DICTIONARY
#define LOAD_DICTIONARY(name)
Definition
xAODBTaggingTrigAuxContainerCnv.cxx:24
xAODTrigBphysAuxContainerCnv.h
Generated on
for ATLAS Offline Software by
1.17.0