ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODCoreCnv
src
AuxStoreWrapper.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef XAODCORECNV_AUXSTOREWRAPPER_H
8
#define XAODCORECNV_AUXSTOREWRAPPER_H
9
10
// System include(s):
11
#include <vector>
12
#include <set>
13
#include <string>
14
#include <map>
15
16
// Gaudi/Athena include(s):
17
#include "GaudiKernel/ClassID.h"
18
#include "GaudiKernel/IClassIDSvc.h"
19
#include "GaudiKernel/ServiceHandle.h"
20
#include "
AthenaBaseComps/AthAlgorithm.h
"
21
#include "
CxxUtils/checker_macros.h
"
22
23
// Forward declaration(s):
24
namespace
SG
{
25
class
IAuxStore
;
26
class
DataProxy
;
27
}
28
29
namespace
xAODMaker
{
30
41
class
ATLAS_NOT_THREAD_SAFE
AuxStoreWrapper
:
public
AthAlgorithm
{
42
43
public
:
45
AuxStoreWrapper
(
const
std::string& name, ISvcLocator* svcLoc );
46
48
virtual
StatusCode
initialize
();
50
virtual
StatusCode
execute
(
const
EventContext& ctx);
51
52
private
:
54
StatusCode
changeContainer
(
const
SG::IAuxStore
* store,
55
const
std::string& name );
57
StatusCode
changeElement
(
const
SG::IAuxStore
* store,
58
const
std::string& name );
59
61
std::vector< std::string >
m_keys
;
63
std::set< std::string >
m_keysSet
;
64
66
bool
m_cachesSet
;
68
std::set< std::string >
m_toConvert
;
70
std::map< std::string, CLID >
m_clids
;
71
73
ServiceHandle< ::IClassIDSvc >
m_clidSvc
;
74
75
};
// class AuxStoreWrapper
76
77
}
// namespace xAODMaker
78
79
#endif
// XAODCORECNV_AUXSTOREWRAPPER_H
AthAlgorithm.h
checker_macros.h
Define macros for attributes used to control the static checker.
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition
checker_macros.h:212
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
SG::DataProxy
Definition
DataProxy.h:45
SG::IAuxStore
Interface for non-const operations on an auxiliary store.
Definition
IAuxStore.h:51
ServiceHandle< ::IClassIDSvc >
xAODMaker::AuxStoreWrapper::m_cachesSet
bool m_cachesSet
Flag specifying whether the internal caches were set already.
Definition
AuxStoreWrapper.h:66
xAODMaker::AuxStoreWrapper::changeContainer
StatusCode changeContainer(const SG::IAuxStore *store, const std::string &name)
Create a new container store.
Definition
AuxStoreWrapper.cxx:187
xAODMaker::AuxStoreWrapper::AuxStoreWrapper
AuxStoreWrapper(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition
AuxStoreWrapper.cxx:49
xAODMaker::AuxStoreWrapper::execute
virtual StatusCode execute(const EventContext &ctx)
Function executing the algorithm.
Definition
AuxStoreWrapper.cxx:80
xAODMaker::AuxStoreWrapper::m_clids
std::map< std::string, CLID > m_clids
Keys and CLIDs of the interface containers touched.
Definition
AuxStoreWrapper.h:70
xAODMaker::AuxStoreWrapper::m_keys
std::vector< std::string > m_keys
StoreGate keys of the store objects to be wrapped.
Definition
AuxStoreWrapper.h:61
xAODMaker::AuxStoreWrapper::m_keysSet
std::set< std::string > m_keysSet
Keys of the objects to be wrapped, in a set container.
Definition
AuxStoreWrapper.h:63
xAODMaker::AuxStoreWrapper::m_toConvert
std::set< std::string > m_toConvert
Keys of the auxiliary stores that need to be converted in the end.
Definition
AuxStoreWrapper.h:68
xAODMaker::AuxStoreWrapper::changeElement
StatusCode changeElement(const SG::IAuxStore *store, const std::string &name)
Create a new element store.
Definition
AuxStoreWrapper.cxx:276
xAODMaker::AuxStoreWrapper::m_clidSvc
ServiceHandle< ::IClassIDSvc > m_clidSvc
Handle to the Class ID service.
Definition
AuxStoreWrapper.h:73
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
xAODMaker
Definition
StoreGateSvc.h:70
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0