ATLAS Offline Software
ViewTestAlg.h
Go to the documentation of this file.
1 /*
3  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 // ViewTestAlg.h
7 // Header file for class ViewTestAlg
8 // Author: B. Wynne <bwynne@cern.ch>
10 
11 #ifndef ATHVIEWS_VIEWTESTALG_H
12 #define ATHVIEWS_VIEWTESTALG_H 1
13 
14 #include <string>
17 
18 namespace AthViews {
19 
20 class ViewTestAlg : public AthAlgorithm
21 {
22  public:
23 
24  // Constructor with parameters
25  ViewTestAlg( const std::string& name, ISvcLocator* pSvcLocator );
26 
27  // Destructor
28  virtual ~ViewTestAlg();
29 
30  // Athena algorithm hooks
31  virtual StatusCode initialize();
32  virtual StatusCode execute();
33  virtual StatusCode finalize();
34 
35  private:
36 
37  // Default constructor
39 
40  SG::WriteHandleKey< int > m_output{ this, "Output", "", "Optional output object" };
41 };
42 
43 } //> end namespace AthViews
44 
45 #endif //> !ATHVIEWS_VIEWTESTALG_H
AthViews::ViewTestAlg::initialize
virtual StatusCode initialize()
Definition: ViewTestAlg.cxx:26
AthViews::ViewTestAlg
Definition: ViewTestAlg.h:21
AthAlgorithm.h
AthViews::ViewTestAlg::m_output
SG::WriteHandleKey< int > m_output
Definition: ViewTestAlg.h:40
AthViews::ViewTestAlg::~ViewTestAlg
virtual ~ViewTestAlg()
Definition: ViewTestAlg.cxx:22
SG::WriteHandleKey< int >
AthViews::ViewTestAlg::execute
virtual StatusCode execute()
Definition: ViewTestAlg.cxx:49
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
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:228
AthViews
Definition: ViewDataVerifier.cxx:18
AthViews::ViewTestAlg::finalize
virtual StatusCode finalize()
Definition: ViewTestAlg.cxx:42
AthViews::ViewTestAlg::ViewTestAlg
ViewTestAlg()