Skip to content

tauRec+tauRecTools: speed up TauShotFinder

Hello,

This MR is speeding up the EM1 calo cells retrieval used in the photon shot reconstruction. We can largely reuse the EM cells retrieval from TauPi0CreateROI, because cells used by TauShotFinder is a subset of these cells (EM1 cells). We must now run TauPi0CreateROI before TauShotFinder. The cells are passed around by a transient shotCells AuxDyn variable that is not written to disk. I also dropped a tau flag that is unused (if set to false, the tau reconstruction would likely break). Tested on 200 ttbar events, the reconstruction output is unchanged.

Overall, this speeds up TauCoreBuilderAlg by 25% or so...

This MR will have to be manually swept to main, as the c++ and python diverged from 24.0.

Tagging @ademaria , @liuya , @salderwe .

Cheers, Bertrand

Edited by Bertrand Martin Dit Latour

Merge request reports

Loading