ATLAS Offline Software
Loading...
Searching...
No Matches
ConditionTestAlg.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// ConditionTestAlg.h
8// Header file for class ConditionTestAlg
9// Author: B. Wynne <bwynne@cern.ch>
11#ifndef ATHVIEWS_CONDITIONTESTALG_H
12#define ATHVIEWS_CONDITIONTESTALG_H 1
13
14// STL includes
15#include <string>
16
17// FrameWork includes
20
21namespace AthViews {
22
24 : public ::AthCondAlgorithm
25{
26
28 // Public methods:
30 public:
31
32 // Copy constructor:
33
35 ConditionTestAlg( const std::string& name, ISvcLocator* pSvcLocator );
36
38 virtual ~ConditionTestAlg();
39
40 // Assignment operator:
41 //ConditionTestAlg &operator=(const ConditionTestAlg &alg);
42
43 // Athena algorithm's Hooks
44 virtual StatusCode initialize() override;
45 virtual StatusCode execute(const EventContext& ctx) const override;
46 virtual StatusCode finalize() override;
47
49 // Private data:
51 private:
52
55
57 SG::WriteCondHandleKey<CondDataObj> m_condKeyTest{ this, "TestConditionsData", "testConditionsData", "" };
58
59};
60
61} //> end namespace AthViews
62#endif //> !ATHVIEWS_CONDITIONTESTALG_H
Base class for conditions algorithms.
Base class for conditions algorithms.
ConditionTestAlg()
Default constructor:
virtual ~ConditionTestAlg()
Destructor:
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode finalize() override
virtual StatusCode initialize() override
SG::WriteCondHandleKey< CondDataObj > m_condKeyTest
Containers.
ConditionTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters: