The source project of this merge request has been removed.
TrackDeposiInCaloTool - Add thread-safety check & refurbishment
Hi,
this MR is a thorough refurbishment of the TrackDepositInCaloTool:
- All
whileloops have been replaced by ranged for loops. - Nested branching in the code in the manner of if(my_condition) has been replaced by if (!my_condition) {continue;} to improve readability of the code and to ease the branching
- Data dependency on AllCell has been added as the
m_caloCellContainervariable was used in few places but actually never set. - Usage of smart pointers to get rid of
deletestatements - Added THREAD_SAFETY_CHECKER