Skip to content
Snippets Groups Projects
Commit 1cbf5a37 authored by Susumu Oda's avatar Susumu Oda Committed by Vakhtang Tsulaia
Browse files

Use DeclareInterfaceID and extends for (I)SiZvertexMaker(_xk)

parent dcd78389
No related branches found
No related tags found
No related merge requests found
......@@ -36,8 +36,6 @@ class MsgStream;
namespace InDet{
static const InterfaceID IID_ISiZvertexMaker("InDet::ISiZvertexMaker",1,0);
class ISiZvertexMaker : virtual public IAlgTool
{
///////////////////////////////////////////////////////////////////
......@@ -46,14 +44,8 @@ namespace InDet{
public:
///////////////////////////////////////////////////////////////////
// Standard tool methods
///////////////////////////////////////////////////////////////////
static const InterfaceID& interfaceID();
virtual StatusCode initialize ()=0;
virtual StatusCode finalize ()=0;
virtual ~ISiZvertexMaker(){};
// InterfaceID
DeclareInterfaceID(ISiZvertexMaker, 1, 0);
///////////////////////////////////////////////////////////////////
// Methods to initialize tool for new event or region
......@@ -85,11 +77,6 @@ namespace InDet{
// Inline methods
///////////////////////////////////////////////////////////////////
inline const InterfaceID& ISiZvertexMaker::interfaceID()
{
return IID_ISiZvertexMaker;
}
///////////////////////////////////////////////////////////////////
// Overload of << operator MsgStream
///////////////////////////////////////////////////////////////////
......
......@@ -38,7 +38,7 @@ class MsgStream;
namespace InDet {
class SiZvertexMaker_xk : virtual public ISiZvertexMaker, public AthAlgTool
class SiZvertexMaker_xk : public extends<AthAlgTool, ISiZvertexMaker>
{
///////////////////////////////////////////////////////////////////
// Public methods:
......
......@@ -25,9 +25,8 @@
InDet::SiZvertexMaker_xk::SiZvertexMaker_xk
(const std::string& t,const std::string& n,const IInterface* p)
: AthAlgTool(t,n,p)
: base_class(t, n, p)
{
declareInterface<ISiZvertexMaker>(this);
}
///////////////////////////////////////////////////////////////////
......
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