Skip to content

faster StripCPE with cached barycenter correction #11

@slava77

Description

@slava77

@elusian @mmasciov

Hi Enrico
I have a commit to test in HLT (it's on my branch slava77:CMSSW_14_2_1/ca-mkf-str-CPE)
The purpose is to speedup hltSiStripRecHits: it's relying on the fact that a fairly expensive computation in StripCPE.cc is actually numerically the same for almost all of the modules.

From the physics point of view it leverages the fact that

  • in the barrel where the drift direction is non-trivial, the strip topology is simple and the drift-dependent correction is the same for the full module independent of the local posision
  • in the endcaps where strips are non-trivial (trapezoidal topology) the drift direction reduces the correction to 0

This is not bitwise identical. The precision/deviation is hardcoded to be max 0.01 of the strip size (otherwise the standard CPE correction is called). I think this should be good for all.

On 10K events run 386593 (somewhat old menu setup from 14_2_X, used in January for mkFit/CA developments) with mkFit I see 12% speedup in hltSiStripRecHits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions