ATLAS Offline Software
AthAsgExUnittestTool.h
Go to the documentation of this file.
1 // -*- mode: c++ -*-
2 //
3 // Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
4 //
5 #ifndef ATHASGEXUNITTEST_ATHEXUNITTESTTOOL_H
6 #define ATHASGEXUNITTEST_ATHEXUNITTESTTOOL_H 1
7 
8 #include "AsgTools/AsgTool.h"
10 
12 public:
13 
15  // Add another constructor for non-athena use cases
16  AthAsgExUnittestTool( const std::string& name );
17 
18  // Initialize is required by AsgTool base class
19  virtual StatusCode initialize() override;
20 
21  // This tools method
22  virtual double useTheProperty() override;
23 
24 private:
25 
26  double m_nProperty;
27  unsigned int m_enumProperty;
28 
29 };
30 
31 #endif //> !ATHASGEXUNITTEST_ATHEXUNITTESTTOOL_H
AthAsgExUnittestTool::AthAsgExUnittestTool
AthAsgExUnittestTool(const std::string &name)
Definition: AthAsgExUnittestTool.cxx:9
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
IAthAsgExUnittestTool.h
AthAsgExUnittestTool
Definition: AthAsgExUnittestTool.h:11
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IAthAsgExUnittestTool
Definition: IAthAsgExUnittestTool.h:12
AthAsgExUnittestTool::m_enumProperty
unsigned int m_enumProperty
Definition: AthAsgExUnittestTool.h:27
AthAsgExUnittestTool::useTheProperty
virtual double useTheProperty() override
Definition: AthAsgExUnittestTool.cxx:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
AthAsgExUnittestTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: AthAsgExUnittestTool.cxx:17
AthAsgExUnittestTool::m_nProperty
double m_nProperty
Definition: AthAsgExUnittestTool.h:26
AsgTool.h