ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODCoreCnv
src
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):
15
#include "
AthenaBaseComps/AthAlgorithm.h
"
16
#include "
CxxUtils/checker_macros.h
"
17
18
// Forward declaration(s):
19
namespace
SG
{
20
class
IConstAuxStore;
21
}
22
23
namespace
xAODMaker
{
24
39
class
ATLAS_NOT_THREAD_SAFE
ElementLinkResetAlg
:
public
AthAlgorithm
{
40
41
public
:
43
ElementLinkResetAlg
(
const
std::string& name, ISvcLocator* svcLoc );
44
46
virtual
StatusCode
initialize
();
48
virtual
StatusCode
execute
(
const
EventContext& ctx);
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
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
xAODMaker::ElementLinkResetAlg::AuxIDType::AuxIDType
AuxIDType()
Definition
ElementLinkResetAlg.cxx:192
xAODMaker::ElementLinkResetAlg::AuxIDType::isELVec
bool isELVec
True of the type is an ElementLink vector.
Definition
ElementLinkResetAlg.h:64
xAODMaker::ElementLinkResetAlg::AuxIDType::isSet
bool isSet
Flag for whether this type was already set up.
Definition
ElementLinkResetAlg.h:62
xAODMaker::ElementLinkResetAlg::AuxIDType::isEL
bool isEL
True if the type is an ElementLink.
Definition
ElementLinkResetAlg.h:63
xAODMaker::ElementLinkResetAlg::m_keys
std::vector< std::string > m_keys
StoreGate keys of the auxiliary objects to be processed.
Definition
ElementLinkResetAlg.h:56
xAODMaker::ElementLinkResetAlg::m_typeCache
std::vector< AuxIDType > m_typeCache
Cached types of the auxiliary IDs.
Definition
ElementLinkResetAlg.h:68
xAODMaker::ElementLinkResetAlg::ElementLinkResetAlg
ElementLinkResetAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition
ElementLinkResetAlg.cxx:27
xAODMaker::ElementLinkResetAlg::reset
StatusCode reset(const SG::IConstAuxStore &store, const std::string &key)
Function reseting all the ElementLinks in one specific container.
Definition
ElementLinkResetAlg.cxx:77
xAODMaker::ElementLinkResetAlg::execute
virtual StatusCode execute(const EventContext &ctx)
Function executing the algorithm.
Definition
ElementLinkResetAlg.cxx:44
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