Skip to content

[post-processing] Electron SF variations are identical #47

Description

@mlizzo

Electron SF variations appear to be identical and I think the issue is due to a small bug in the LeptonSF.py module, in particular by line#455. Indeed, when the isPOGFormat flag is true, the second term under the sqrt is always EleRecoSF_tmp[1]*EleRecoSF_tmp[1], which corresponds to the upwards Electron_RecoSF variation. When the downwards variation is computed, that term should be EleRecoSF_tmp[2]*EleRecoSF_tmp[2] instead.

FYI: @BlancoFS @giorgiopizz @NTrevisani @dittmer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions