Data certification / lumi masking
We need to take into account that not all data events in the centrally provided NanoAODs are actually certified as good, i.e. we need a lumi mask according to the Golden JSON.
We can find them here for 2022: https://cms-service-dqmdc.web.cern.ch/CAF/certification/Collisions22/
Proposal: include the full 2022 Golden JSON (https://cms-service-dqmdc.web.cern.ch/CAF/certification/Collisions22/Cert_Collisions2022_355100_362760_Golden.json) into the framework and use the LumiMask class from Coffea:
from a quick look, it seems to do the job actually from the lumi mask to masking our data, see https://github.com/CoffeaTeam/coffea/blob/f8a4eb97137e84dd52474d26b8100174da196b57/src/coffea/lumi_tools/lumi_tools.py#LL83C7
Assigning @jixiao since you volunteered, but let me know if you do not want to do this, I can try it as well.