2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5 #include "TrkEventCnvTools/ITrkEventCnvTool.h"
7 template <class CONT, class ROT>
8 bool Trk::IEventCnvSuperTool::getHashAndIndex(const ROT* rot,
9 const SG::ReadHandleKey<CONT>& contName,
10 typename ElementLink<CONT>::index_type& hashAndIndex) const {
11 const Trk::ITrkEventCnvTool* cnvTool{getCnvTool(rot->identify())};
12 if (cnvTool!=nullptr) return cnvTool->getHashAndIndex<CONT, ROT>(rot, contName, hashAndIndex);