Msotgia/track score cheating - #259
Draft
mattiasotgia wants to merge 6 commits into
Draft
Conversation
Backed-up cases where true MC particle assns failed
…ctron under critical energy
AndyChappell
marked this pull request as draft
November 6, 2025 07:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With this PR I propose the "Cheated" version of the
MvaCharacterisationAlgorithmused to classify track-like and shower-like objects.The idea for this approach, differently to the already present
CheatingPfoCharacterisationAlgorithm, is to return a similar "score" value after the reconstruction, so the Cheated algorithm can be used without altering the downstream event selection, but still using the "track" score informationThe
CheatingMvaPfoCharacterisationAlgorithmis essentially identical to theMvaPfoCharacterisationAlgorithm, without needing theMvaFileNametag, theMvaNametag, theMvaFileNameNoChargeInfotag and theMvaNameNoChargeInfo.This algorithm retains the computation of the Pfo features.
To correctly handle the cases where electron do behave like tracks (i.e., when their energy is lower than the critical energy, which is 30.5 MeV for LAr 1) the
CriticalEnergytag is added, so it is possible to set (in GeV) the value, if different from 30.5 MeV (default value).Footnotes
Information taken from https://lar.bnl.gov/properties/ ↩