Skip to content
Snippets Groups Projects
Commit 73673a8f authored by John Derek Chapman's avatar John Derek Chapman Committed by John Chapman
Browse files

Merge branch 'declareInterfaceMigration_Pt2_ATLASSIM-3439_21.3' into '21.3'

Simulation declareInterface migration Part2 ATLASSIM-3439

See merge request !4816


Former-commit-id: 5c565bdecb29a6dd1e22627557dfe2a6d19c2ef4
parent ab9b2ba5
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ class IPixelOfflineCalibSvc;
namespace iFatras {
class PlanarClusterOnTrackTool: public AthAlgTool, virtual public Trk::IRIO_OnTrackCreator, virtual public IIncidentListener
class PlanarClusterOnTrackTool: public extends<AthAlgTool, Trk::IRIO_OnTrackCreator, IIncidentListener>
{
public:
......
......@@ -22,10 +22,9 @@
namespace iFatras {
PlanarClusterOnTrackTool::PlanarClusterOnTrackTool
(const std::string& t,const std::string& n,const IInterface* p) :
::AthAlgTool(t,n,p),
base_class(t,n,p),
m_useDefinedParameters(false)
{
declareInterface<IRIO_OnTrackCreator>(this);
declareProperty("UseDefinedParameters", m_useDefinedParameters);
}
......
......@@ -50,8 +50,6 @@ public:
static const InterfaceID& interfaceID() {
return IID_ICompetingRIOsOnTrackTool;
} //!< The AlgTool InterfaceID
virtual StatusCode initialize()=0; //!< standard AlgTool method
virtual StatusCode finalize()=0; //!< standard AlgTool method
/** @brief abstract base method for making a Trk::CompetingRIOsOnTrack object.
......
......@@ -40,8 +40,6 @@ namespace Trk {
virtual ~IRIO_OnTrackCreator() {}
static const InterfaceID& interfaceID()
{ return IID_IRIO_OnTrackCreator; } //!< The AlgTool InterfaceID
virtual StatusCode initialize()=0; //!< standard AlgTool method
virtual StatusCode finalize()=0; //!< standard AlgTool method
/** abstract base method for the creation of RIO_OnTrack
it takes a RIO (PrepRawData) and the given Track Parameter
......
......@@ -40,8 +40,6 @@ namespace Trk {
virtual ~IRIO_OnTrackErrorScalingTool() {}
static const InterfaceID& interfaceID() //!< AlgTool standard interface
{ return IID_IRIO_OnTrackErrorScalingTool; }
virtual StatusCode initialize()=0; //!< AlgTool standard initialisation
virtual StatusCode finalize()=0;
/* The AtlasDetectorID helper does not have an is_endcap method.
therefore follow a different approach than this one:
virtual const void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment