cms-l1-dpg / Phase2-L1MenuTools

This repository contains the framework for the measurement of matching efficiencies, trigger turn-on curves, and scalings for the assessment of the physics performance of the CMS Phase-2 L1 Menu.
2 stars 8 forks source link

Include photons #4

Closed artlbv closed 1 year ago

artlbv commented 1 year ago

Cache-ing of photons is now handled correctly (see here), but in the computation of the matching efficiency, two different objects are used:

TkPhotonTrackID TkIsoPhotonTrackID Photon -1 2.4 -1 0.15 UseFlag 0.15 -1 0.25 0.205 TkIsoPhotonTrackID 100 0 150 30 -3 3 200 0 0.6 100 0 10 EG

and

TkPhotonTrackID TkPhotonTrackIDIso Photon -1 2.4 -1 0.15 UseFlag 0.15 -1 -1 -1 TkPhotonTrackIDIso 100 0 150 30 -3 3 200 0 0.6 100 0 10 EG

while the current version of the framework would compute the matching efficiency as the ratio of TkIsoPhotonTrackID_PTEta15_000000 to TkIsoPhotonTrackIDNoMatch_PTEta15_000000 (as for all the other objects, where the numerator is the distribution of matched objects and the denominator the unmatched ones, in both cases with L1 pT cut at 0 GeV, i.e. no cut).

bonanomi commented 1 year ago

Hi @artlbv IIUC you have included config files for photons and we do not want to have a different treatment for numerator and denominator objects, as it was not clear where this distinction originally came from. If that is the case, I suggest we close this issue because now photons are indeed included in the framework.

artlbv commented 1 year ago

Indeed, it was confirmed by Maria that we can go on with treating the photons the same way as all objects, see the mm thread.