ATLAS Offline Software
WriteDataReentrant.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-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef ATHEXSTOREGATEEXAMPLE_WRITEDATAREENTRANT_H
17 #define ATHEXSTOREGATEEXAMPLE_WRITEDATAREENTRANT_H
18 
19 
20 #include <string>
26 
27 
29  : public AthReentrantAlgorithm
30 {
31 public:
32  WriteDataReentrant (const std::string& name, ISvcLocator* pSvcLocator);
33  virtual StatusCode initialize() override final;
34  virtual StatusCode finalize() override final;
35  virtual StatusCode execute (const EventContext& ctx) const override final;
36 
37 private:
41  //SG::WriteHandleKey<MyDataObj> m_dobjKey4;
48 
50 
52  StatusCode onError() const;
53 };
54 
55 
56 #endif // not ATHEXSTOREGATEEXAMPLE_WRITEDATAREENTRANT_H
WriteDataReentrant::m_cobjKey
SG::WriteHandleKey< DataVector< MyContObj > > m_cobjKey
Definition: WriteDataReentrant.h:42
StoreGateExample_ClassDEF.h
WriteDataReentrant::initialize
virtual StatusCode initialize() override final
Definition: WriteDataReentrant.cxx:56
WriteDataReentrant::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: WriteDataReentrant.cxx:85
WriteDataReentrant::m_vFloatKey
SG::WriteHandleKey< std::vector< float > > m_vFloatKey
Definition: WriteDataReentrant.h:43
WriteDataReentrant::m_linkVectorKey
SG::WriteHandleKey< std::vector< ElementLink< MapStringFloat > > > m_linkVectorKey
Definition: WriteDataReentrant.h:46
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
WriteDataReentrant::m_pLinkListKey
SG::WriteHandleKey< std::list< ElementLink< std::vector< float > > > > m_pLinkListKey
Definition: WriteDataReentrant.h:45
WriteDataReentrant::m_dobjKey3
SG::WriteHandleKey< MyDataObj > m_dobjKey3
Definition: WriteDataReentrant.h:40
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
WriteDataReentrant::m_testObject
SG::DataObjectSharedPtr< TestDataObject > m_testObject
Definition: WriteDataReentrant.h:51
WriteDataReentrant::onError
StatusCode onError() const
Definition: WriteDataReentrant.cxx:317
WriteDataReentrant::WriteDataReentrant
WriteDataReentrant(const std::string &name, ISvcLocator *pSvcLocator)
Definition: WriteDataReentrant.cxx:37
WriteDataReentrant::finalize
virtual StatusCode finalize() override final
Definition: WriteDataReentrant.cxx:310
WriteDataReentrant::m_dobjKey
SG::WriteHandleKey< MyDataObj > m_dobjKey
Definition: WriteDataReentrant.h:38
SG::WriteHandleKey< MyDataObj >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
WriteDataReentrant
Definition: WriteDataReentrant.h:30
AthReentrantAlgorithm.h
WriteDataReentrant::m_dobjKey2
SG::WriteHandleKey< MyDataObj > m_dobjKey2
Definition: WriteDataReentrant.h:39
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
WriteDataReentrant::m_dobjKeyArray
SG::WriteHandleKeyArray< MyDataObj > m_dobjKeyArray
Definition: WriteDataReentrant.h:49
WriteHandleKeyArray.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
MyDataObj.h
WriteDataReentrant::m_mKey
SG::WriteHandleKey< MapStringFloat > m_mKey
Definition: WriteDataReentrant.h:44
SG::DataObjectSharedPtr< TestDataObject >
WriteDataReentrant::m_testObjectKey
SG::WriteHandleKey< TestDataObject > m_testObjectKey
Definition: WriteDataReentrant.h:47