ATLAS Offline Software
ReadDataReentrant.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 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef ATHEXSTOREGATEEXAMPLE_READDATAREENTRANT_H
17 #define ATHEXSTOREGATEEXAMPLE_READDATAREENTRANT_H
18 
19 #include <string>
26 
27 
28 
30  : public AthReentrantAlgorithm
31 {
32 public:
33  ReadDataReentrant (const std::string& name, ISvcLocator* pSvcLocator);
34  virtual StatusCode initialize() override final;
35  virtual StatusCode execute (const EventContext& ctx) const override final;
36  virtual StatusCode finalize() override final;
37 
38 private:
44  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo{this, "EvtInfo", "EventInfo", "EventInfo name"};
46 };
47 
48 
49 
50 #endif // not ATHEXSTOREGATEEXAMPLE_READDATAREENTRANT_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
StoreGateExample_ClassDEF.h
ReadDataReentrant::m_pLinkListKey
SG::ReadHandleKey< std::list< ElementLink< std::vector< float > > > > m_pLinkListKey
Definition: ReadDataReentrant.h:41
ReadDataReentrant::ReadDataReentrant
ReadDataReentrant(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ReadDataReentrant.cxx:38
ReadDataReentrant::m_eventInfo
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
Definition: ReadDataReentrant.h:44
ReadDataReentrant::m_dobjKeyArray
SG::ReadHandleKeyArray< MyDataObj > m_dobjKeyArray
Definition: ReadDataReentrant.h:45
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
ReadDataReentrant
Definition: ReadDataReentrant.h:31
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
ReadDataReentrant::m_vFloatKey
SG::ReadHandleKey< std::vector< float > > m_vFloatKey
Definition: ReadDataReentrant.h:40
ReadDataReentrant::m_linkVectorKey
SG::ReadHandleKey< std::vector< ElementLink< MapStringFloat > > > m_linkVectorKey
Definition: ReadDataReentrant.h:42
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
ReadDataReentrant::m_cobjKey
SG::ReadHandleKey< DataVector< MyContObj > > m_cobjKey
Definition: ReadDataReentrant.h:39
ReadDataReentrant::initialize
virtual StatusCode initialize() override final
Definition: ReadDataReentrant.cxx:52
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadDataReentrant::finalize
virtual StatusCode finalize() override final
Definition: ReadDataReentrant.cxx:280
AthReentrantAlgorithm.h
UpdateHandleKey.h
Property holding a SG store/key/clid from which an UpdateHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
MyDataObj.h
ReadDataReentrant::m_testObjectKey
SG::ReadHandleKey< TestDataObject > m_testObjectKey
Definition: ReadDataReentrant.h:43
EventInfo.h
ReadDataReentrant::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: ReadDataReentrant.cxx:71