ATLAS Offline Software
Loading...
Searching...
No Matches
AthAsgExUnittestTool.h
Go to the documentation of this file.
1// -*- mode: c++ -*-
2//
3// Copyright (C) 2002-2026 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
12public:
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
24private:
25 Gaudi::Property<double> m_nProperty{this, "Property", 3.0, "A double property"};
26 Gaudi::Property<unsigned int> m_enumProperty{this, "ENumProperty", Val1, "A enum property"};
27
28};
29
30#endif //> !ATHASGEXUNITTEST_ATHEXUNITTESTTOOL_H
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
virtual double useTheProperty() override
AthAsgExUnittestTool(const std::string &name)
Gaudi::Property< unsigned int > m_enumProperty
Gaudi::Property< double > m_nProperty
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47