ATLAS Offline Software
AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg1.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 // DFlowAlg1.h
8 // Header file for class DFlowAlg1
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef ATHEXSTOREGATEEXAMPLE_ATHEX_DFLOWALG1_H
12 #define ATHEXSTOREGATEEXAMPLE_ATHEX_DFLOWALG1_H 1
13 
14 // STL includes
15 #include <string>
16 
17 // FrameWork includes
19 #include "SGTools/BuiltinsClids.h"
22 
23 // eventinfo
25 
26 namespace AthEx {
27 
28 class DFlowAlg1
30 {
31 public:
33  DFlowAlg1( const std::string& name, ISvcLocator* pSvcLocator );
34 
36  virtual ~DFlowAlg1();
37 
38  // Athena algorithm's Hooks
39  virtual StatusCode initialize() override;
40  virtual StatusCode execute(const EventContext& ctx) const override;
41  virtual StatusCode finalize() override;
42 
43  private:
44  DFlowAlg1() = delete;
45 
47  { this, "EvtInfo", "EventInfo", "" };
49  { this, "IntFlow", "dflow_int", "" };
50 
51 };
52 
53 } //> end namespace AthEx
54 #endif //> !ATHEXSTOREGATEEXAMPLE_ATHEX_DFLOWALG1_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
BuiltinsClids.h
AthEx::DFlowAlg1::m_r_evtInfo
SG::ReadHandleKey< xAOD::EventInfo > m_r_evtInfo
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg1.h:47
SG::ReadHandleKey< xAOD::EventInfo >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthEx::DFlowAlg1::m_w_int
SG::WriteHandleKey< int > m_w_int
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg1.h:49
AthEx::DFlowAlg1::DFlowAlg1
DFlowAlg1()=delete
AthEx::DFlowAlg1::finalize
virtual StatusCode finalize() override
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg1.cxx:53
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::DFlowAlg1::~DFlowAlg1
virtual ~DFlowAlg1()
Destructor:
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg1.cxx:39
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::DFlowAlg1::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg1.cxx:60
EventInfo.h
AthEx::DFlowAlg1
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg1.h:30
AthEx::DFlowAlg1::initialize
virtual StatusCode initialize() override
Definition: AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg1.cxx:44