ATLAS Offline Software
Loading...
Searching...
No Matches
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}
virtual xAOD::TrigBphysAuxContainer * createPersistentWithKey(xAOD::TrigBphysAuxContainer *trans, const std::string &key) override
virtual xAOD::TrigBphysAuxContainer * createPersistentWithKey(xAOD::TrigBphysAuxContainer *trans, const std::string &key) override
Function preparing the container to be written out.
TrigBphysAuxContainer_v1 TrigBphysAuxContainer
#define LOAD_DICTIONARY(name)