ATLAS Offline Software
Loading...
Searching...
No Matches
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"
22
23// Forward declaration(s):
24namespace SG {
25 class IAuxStore;
26 class DataProxy;
27}
28
29namespace xAODMaker {
30
42
43 public:
45 AuxStoreWrapper( const std::string& name, ISvcLocator* svcLoc );
46
48 virtual StatusCode initialize();
50 virtual StatusCode execute();
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
68 std::set< std::string > m_toConvert;
70 std::map< std::string, CLID > m_clids;
71
74
75 }; // class AuxStoreWrapper
76
77} // namespace xAODMaker
78
79#endif // XAODCORECNV_AUXSTOREWRAPPER_H
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Interface for non-const operations on an auxiliary store.
Definition IAuxStore.h:48
bool m_cachesSet
Flag specifying whether the internal caches were set already.
StatusCode changeContainer(const SG::IAuxStore *store, const std::string &name)
Create a new container store.
AuxStoreWrapper(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
std::map< std::string, CLID > m_clids
Keys and CLIDs of the interface containers touched.
std::vector< std::string > m_keys
StoreGate keys of the store objects to be wrapped.
virtual StatusCode execute()
Function executing the algorithm.
std::set< std::string > m_keysSet
Keys of the objects to be wrapped, in a set container.
std::set< std::string > m_toConvert
Keys of the auxiliary stores that need to be converted in the end.
StatusCode changeElement(const SG::IAuxStore *store, const std::string &name)
Create a new element store.
ServiceHandle< ::IClassIDSvc > m_clidSvc
Handle to the Class ID service.
Forward declaration.
void initialize()