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_castby usinggetHashAndIndexmethod instead ofprepareRIO_OnTrack. - Code cleanup
- Remove
-
Tracking/TrkEventCnv/TrkEventCnvTools/TrkEventCnvTools/EventCnvSuperTool.h- Add const
getCnvToolmethod.
- Add const
-
Tracking/TrkEventCnv/TrkEventCnvTools/TrkEventCnvTools/IEventCnvSuperTool.h- Add
getHashAndIndexmethod and constgetCnvToolmethod.
- Add
-
Tracking/TrkEventCnv/TrkEventCnvTools/TrkEventCnvTools/IEventCnvSuperTool.icc- Implement
getHashAndIndexmethod.
- Implement
-
Tracking/TrkEventCnv/TrkEventCnvTools/TrkEventCnvTools/ITrkEventCnvTool.h- Add
getHashAndIndexmethod.
- Add
-
Tracking/TrkEventCnv/TrkEventCnvTools/TrkEventCnvTools/ITrkEventCnvTool.icc- Implement
getHashAndIndexmethod. - Code cleanup
- Implement
-
Tracking/TrkEventCnv/TrkEventCnvTools/src/EventCnvSuperTool.cxx- Add const
getCnvToolmethod.
- 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