ATLAS Offline Software
AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg2.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // DFlowAlg2.h
8 // Header file for class DFlowAlg2
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef ATHEXSTOREGATEEXAMPLE_ATHEX_DFLOWALG2_H
12 #define ATHEXSTOREGATEEXAMPLE_ATHEX_DFLOWALG2_H 1
13 
14 // STL includes
15 #include <string>
16 
17 // FrameWork includes
21 
22 namespace AthEx {
23 
24 class DFlowAlg2
26 {
27 public:
29  DFlowAlg2( const std::string& name, ISvcLocator* pSvcLocator );
30 
32  virtual ~DFlowAlg2();
33 
34  // Athena algorithm's Hooks
35  virtual StatusCode initialize() override;
36  virtual StatusCode execute (const EventContext& ctx) const override;
37  virtual StatusCode finalize() override;
38 
39 private:
40  DFlowAlg2() = delete;
41 
43  { this, "RIntFlow", "dflow_int", "" };
45  { this, "WIntFlow", "dflow_int2", "" };
47  { this, "IntsFlow", "dflow_ints", "" };
48 };
49 
50 
51 } //> end namespace AthEx
52 #endif //> !ATHEXSTOREGATEEXAMPLE_ATHEX_DFLOWALG2_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthEx::DFlowAlg2::initialize
virtual StatusCode initialize() override
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg2.cxx:39
AthEx::DFlowAlg2::m_w_int
SG::WriteHandleKey< int > m_w_int
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg2.h:45
SG::ReadHandleKey< int >
AthEx::DFlowAlg2::m_r_int
SG::ReadHandleKey< int > m_r_int
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg2.h:43
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthEx::DFlowAlg2::~DFlowAlg2
virtual ~DFlowAlg2()
Destructor:
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg2.cxx:34
SG::WriteHandleKey< int >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthEx
Definition: Hist.h:25
AthEx::DFlowAlg2::finalize
virtual StatusCode finalize() override
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg2.cxx:49
AthEx::DFlowAlg2
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg2.h:26
AthEx::DFlowAlg2::DFlowAlg2
DFlowAlg2()=delete
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
AthEx::DFlowAlg2::m_ints
SG::WriteHandleKey< std::vector< int > > m_ints
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg2.h:47
AthEx::DFlowAlg2::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg2.cxx:56