Partially fix const correctness issue of UnassociatedHitsGetterTool.
Partially fix const correctness issue of UnassociatedHitsGetterTool
by adding const
to its methods get
and releaseObject
.
These methods have to be const
because DerivationFramework::IAugmentationTool::addBranches()
is const
.
Since Trk::PRD_AssociationTool::addPRDs( const Trk::Track& track )
and Trk::PRD_AssociationTool::reset()
are still non-const, the const correctness issue is still there.
This can be checked by
cmake -DATLAS_PACKAGE_FILTER_FILE=../package_filters.txt -DATLAS_ALLOW_TOOLHANDLE_NONCONSTNESS=OFF ../athena/Projects/WorkDir
make
Edited by Susumu Oda