ATLAS Offline Software
ConditionTestAlg.h
Go to the documentation of this file.
1 
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
19 #include "AthExHive/CondDataObj.h"
20 
21 namespace AthViews {
22 
24  : public ::AthAlgorithm
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();
45  virtual StatusCode execute();
46  virtual StatusCode finalize();
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
AthViews::ConditionTestAlg::~ConditionTestAlg
virtual ~ConditionTestAlg()
Destructor:
Definition: ConditionTestAlg.cxx:39
CondDataObj.h
AthViews::ConditionTestAlg
Definition: ConditionTestAlg.h:25
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthViews::ConditionTestAlg::m_condKeyTest
SG::WriteCondHandleKey< CondDataObj > m_condKeyTest
Containers.
Definition: ConditionTestAlg.h:57
AthViews::ConditionTestAlg::finalize
virtual StatusCode finalize()
Definition: ConditionTestAlg.cxx:53
AthAlgorithm
Definition: AthAlgorithm.h:47
AthViews::ConditionTestAlg::ConditionTestAlg
ConditionTestAlg()
Default constructor:
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
AthViews
Definition: ViewDataVerifier.cxx:18
SG::WriteCondHandleKey< CondDataObj >
AthViews::ConditionTestAlg::initialize
virtual StatusCode initialize()
Definition: ConditionTestAlg.cxx:44
AthViews::ConditionTestAlg::execute
virtual StatusCode execute()
Definition: ConditionTestAlg.cxx:60