ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODJetAthenaPool
src
xAODJetTrigAuxContainerCnv.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id: xAODJetAuxContainerCnv.cxx 588765 2014-03-21 13:30:28Z delsart $
6
7
#if !(defined(GENERATIONBASE) || defined(SIMULATIONBASE))
8
9
// Local include(s):
10
#include "
xAODJetTrigAuxContainerCnv.h
"
11
#include "
xAODJetTrigAuxContainerCnv_v1.h
"
12
13
#include <TClass.h>
14
#include <mutex>
15
16
#define LOAD_DICTIONARY( name ) do { TClass* cl = TClass::GetClass( name ); \
17
if( ( ! cl ) || ( ! cl->IsLoaded() ) ) { ATH_MSG_ERROR( "Couldn't load dictionary for type: " << name ); } } while(0)
18
19
20
xAOD::JetTrigAuxContainer
*
21
xAODJetTrigAuxContainerCnv::
22
createPersistentWithKey
(
xAOD::JetTrigAuxContainer
* trans,
23
const
std::string& key )
24
{
25
// ??? Still needed?
26
std::once_flag flag;
27
std::call_once (flag,
28
[
this
] {
29
LOAD_DICTIONARY
(
"ElementLink<DataVector<xAOD::MuonSegment_v1> >"
);
30
LOAD_DICTIONARY
(
"std::vector<ElementLink<DataVector<xAOD::MuonSegment_v1> > >"
);
31
LOAD_DICTIONARY
(
"std::vector<std::vector<ElementLink<DataVector<xAOD::MuonSegment_v1> > > >"
);
32
LOAD_DICTIONARY
(
"std::vector<ElementLink<DataVector<xAOD::BTagging_v1> > >"
);
33
});
34
35
// Create a copy of the container:
36
return
xAODJetTrigAuxContainerCnvBase::createPersistentWithKey
(trans, key);
37
}
38
39
40
#endif
// NOT SIMULATIONBASE OR GENERATIONBASE
T_AthenaPoolAuxContainerCnv< xAOD::JetTrigAuxContainer, xAODJetTrigAuxContainerCnv_v1 >::createPersistentWithKey
virtual xAOD::JetTrigAuxContainer * createPersistentWithKey(xAOD::JetTrigAuxContainer *trans, const std::string &key) override
xAODJetTrigAuxContainerCnv::createPersistentWithKey
virtual xAOD::JetTrigAuxContainer * createPersistentWithKey(xAOD::JetTrigAuxContainer *trans, const std::string &key)
Function preparing the container to be written out.
Definition
xAODJetTrigAuxContainerCnv.cxx:22
xAOD::JetTrigAuxContainer
JetTrigAuxContainer_v2 JetTrigAuxContainer
Definition of the current jet trigger auxiliary container.
Definition
JetTrigAuxContainer.h:21
LOAD_DICTIONARY
#define LOAD_DICTIONARY(name)
Definition
xAODBTaggingTrigAuxContainerCnv.cxx:24
xAODJetTrigAuxContainerCnv.h
xAODJetTrigAuxContainerCnv_v1.h
Generated on
for ATLAS Offline Software by
1.17.0