ATLAS Offline Software
Loading...
Searching...
No Matches
ViewTestAlg.h
Go to the documentation of this file.
1
2/*
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
18namespace AthViews {
19
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
Property holding a SG store/key/clid from which a WriteHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute()
ViewTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< int > m_output
Definition ViewTestAlg.h:40
virtual StatusCode finalize()
virtual StatusCode initialize()