Remove const_cast of SCT_ClusterOnTrackCnv_p2.cxx
Remove const_cast of SCT_ClusterOnTrackCnv_p2.cxx
by adding and using a new getHashAndIndex
method.
-
InnerDetector/InDetEventCnv/InDetEventTPCnv/src/InDetRIO_OnTrack/SCT_ClusterOnTrackCnv_p2.cxx
- Remove
const_cast
by usinggetHashAndIndex
method instead ofprepareRIO_OnTrack
. - Code cleanup
- Remove
-
Tracking/TrkEventCnv/TrkEventCnvTools/TrkEventCnvTools/EventCnvSuperTool.h
- Add const
getCnvTool
method.
- Add const
-
Tracking/TrkEventCnv/TrkEventCnvTools/TrkEventCnvTools/IEventCnvSuperTool.h
- Add
getHashAndIndex
method and constgetCnvTool
method.
- Add
-
Tracking/TrkEventCnv/TrkEventCnvTools/TrkEventCnvTools/IEventCnvSuperTool.icc
- Implement
getHashAndIndex
method.
- Implement
-
Tracking/TrkEventCnv/TrkEventCnvTools/TrkEventCnvTools/ITrkEventCnvTool.h
- Add
getHashAndIndex
method.
- Add
-
Tracking/TrkEventCnv/TrkEventCnvTools/TrkEventCnvTools/ITrkEventCnvTool.icc
- Implement
getHashAndIndex
method. - Code cleanup
- Implement
-
Tracking/TrkEventCnv/TrkEventCnvTools/src/EventCnvSuperTool.cxx
- Add const
getCnvTool
method.
- Add const
-
InnerDetector/InDetEventCnv/InDetEventCnvTools/InDetEventCnvTools/InDetEventCnvTool.h
- Code cleanup
-
InnerDetector/InDetEventCnv/InDetEventCnvTools/src/InDetEventCnvTool.cxx
- Code cleanup
+ Tracking/TrkEventCnv/TrkEventCnvTools
+ Tracking/TrkEventCnv/TrkEventAthenaPool
+ Tracking/TrkEventCnv/TrkEventTPCnv
+ InnerDetector/InDetEventCnv/InDetEventCnvTools
+ InnerDetector/InDetEventCnv/InDetEventTPCnv
+ MuonSpectrometer/MuonCnv/MuonEventCnvTools
+ MuonSpectrometer/MuonCnv/MuonEventTPCnv
were needed to be recompiled.
RunTier0Tests.py
did not find output differences but found more memory leak in ESDtoAOD of q431.
RunTier0Tests.log. I'm not sure why this happens.
--> I ran valgrind with the job of ESDtoAOD of q431 but could not find any suspicious memory leaks related to this MR.
Edited by Susumu Oda