ATLAS Offline Software
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):
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 
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:
34 }
master.flag
bool flag
Definition: master.py:29
T_AthenaPoolAuxContainerCnv::createPersistentWithKey
virtual AUXSTORE * createPersistentWithKey(AUXSTORE *trans, const std::string &key) override
Convert a transient object to persistent form.
xAODTrigBphysAuxContainerCnv.h
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_v1
Auxiliary store for the TrigBphys composite container.
Definition: TrigBphysAuxContainer_v1.h:36
LOAD_DICTIONARY
#define LOAD_DICTIONARY(name)
Definition: xAODTrigBphysAuxContainerCnv.cxx:15
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37