Skip to content

Add deduplication of LS in lumi reader#45

Open
kdlong wants to merge 1 commit into
bendavid:mainfrom
kdlong:lumi_deduplicate
Open

Add deduplication of LS in lumi reader#45
kdlong wants to merge 1 commit into
bendavid:mainfrom
kdlong:lumi_deduplicate

Conversation

@kdlong

@kdlong kdlong commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

I'm not 100% sure what causes this, but I think having sparse nanoaod files that have events from the same lumi split over multiple files causes the run,lumi combos to get added in multiple places and then double counted in the sum. This is a Claude Code solution, it stores the run,lumi combos in a set to avoid counting them twice.

It could be that simply updating the original producer to have this behaviour by default is better. I don't think the performance difference should matter much.

@bendavid

Copy link
Copy Markdown
Owner

Hmm, I could have sworn the original implementation was already supposed to handle the deduplication, but maybe not...

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants