ATLAS Offline Software
Loading...
Searching...
No Matches
ElementLinkResetAlg.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_ELEMENTLINKRESETALG_H
8#define XAODCORECNV_ELEMENTLINKRESETALG_H
9
10// System include(s):
11#include <vector>
12#include <string>
13
14// Gaudi/Athena include(s):
17
18// Forward declaration(s):
19namespace SG {
20 class IConstAuxStore;
21}
22
23namespace xAODMaker {
24
40
41 public:
43 ElementLinkResetAlg( const std::string& name, ISvcLocator* svcLoc );
44
46 virtual StatusCode initialize();
48 virtual StatusCode execute();
49
50 private:
52 StatusCode reset( const SG::IConstAuxStore& store,
53 const std::string& key );
54
56 std::vector< std::string > m_keys;
57
59 class AuxIDType {
60 public:
61 AuxIDType();
62 bool isSet;
63 bool isEL;
64 bool isELVec;
65 };
66
68 std::vector< AuxIDType > m_typeCache;
69
70 }; // class ElementLinkResetAlg
71
72} // namespace xAODMaker
73
74#endif // XAODCORECNV_ELEMENTLINKRESETALG_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 const operations on an auxiliary store.
bool isELVec
True of the type is an ElementLink vector.
bool isSet
Flag for whether this type was already set up.
bool isEL
True if the type is an ElementLink.
virtual StatusCode execute()
Function executing the algorithm.
std::vector< std::string > m_keys
StoreGate keys of the auxiliary objects to be processed.
std::vector< AuxIDType > m_typeCache
Cached types of the auxiliary IDs.
ElementLinkResetAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
StatusCode reset(const SG::IConstAuxStore &store, const std::string &key)
Function reseting all the ElementLinks in one specific container.
Forward declaration.
void initialize()