Skip to content

speed up LArCellContHVCorrTool

Walter Lampl requested to merge wlampl/athena:LArCellContHVCheckSpeed into master

vtune tells me the line if (theCell->caloDDE()->is_tile()) is by far the slowest part of the LArCellContHVCorrTool

This check is not strictly necessary because the underlying LArHVCorr conditions data object returns a correction factor of 1.0 for Tile-cells (or otherwise unknown cells).

To my surprise, this small change reduces the execution time of LArCellContHVCorrTool from 18.9 to 5.8 seconds on 1000 events.

Merge request reports

Loading