ATLAS Offline Software
AthAlgorithmDHUpdate.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  * Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
4  */
5 // $Id$
14 #ifndef ATHENABASECOMPS_ATHALGORITHMDHUPDATE_H
15 #define ATHENABASECOMPS_ATHALGORITHMDHUPDATE_H
16 
17 
18 #include "GaudiKernel/IDataHandleHolder.h"
19 #include "GaudiKernel/DataObjID.h"
20 #include "GaudiKernel/ClassID.h"
21 #include <memory>
22 
23 
24 namespace AthenaBaseComps {
25 
26 
41  : public IDataHandleVisitor
42 {
43 public:
49  AthAlgorithmDHUpdate (DataObjIDColl& linkedObjs,
50  std::unique_ptr<IDataHandleVisitor> chain);
51 
52 
60  virtual void visit(const IDataHandleHolder* dhh) override;
61 
62 
63 private:
71  void handle (CLID clid, const std::string& key);
72 
73 
75  DataObjIDColl& m_linkedObjs;
76 
78  std::unique_ptr<IDataHandleVisitor> m_chain;
79 };
80 
81 
82 } // namespace AthenaBaseComps
83 
84 
85 #endif // not ATHENABASECOMPS_ATHALGORITHMDHUPDATE_H
AthenaBaseComps::AthAlgorithmDHUpdate::handle
void handle(CLID clid, const std::string &key)
Handle one output dependency.
Definition: AthAlgorithmDHUpdate.cxx:81
AthenaBaseComps::AthAlgorithmDHUpdate::AthAlgorithmDHUpdate
AthAlgorithmDHUpdate(DataObjIDColl &linkedObjs, std::unique_ptr< IDataHandleVisitor > chain)
Constructor.
Definition: AthAlgorithmDHUpdate.cxx:25
runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
AthenaBaseComps
Definition: AthAlgorithmDHUpdate.cxx:17
AthenaBaseComps::AthAlgorithmDHUpdate
Update output dependencies to include symlinks.
Definition: AthAlgorithmDHUpdate.h:42
AthenaBaseComps::AthAlgorithmDHUpdate::m_linkedObjs
DataObjIDColl & m_linkedObjs
Set of additional output dependencies represented by links.
Definition: AthAlgorithmDHUpdate.h:75
AthenaBaseComps::AthAlgorithmDHUpdate::visit
virtual void visit(const IDataHandleHolder *dhh) override
Walk over the dependencies of an algorithm.
Definition: AthAlgorithmDHUpdate.cxx:40
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
AthenaBaseComps::AthAlgorithmDHUpdate::m_chain
std::unique_ptr< IDataHandleVisitor > m_chain
Hook to call after this one.
Definition: AthAlgorithmDHUpdate.h:78
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37