From a537d86b97f24015cf83faa35265d381ec977f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renata=20Kopecn=C3=A1?= Date: Tue, 1 Feb 2022 17:27:03 +0100 Subject: [PATCH] Update 'RemoveMultipleCandidates.py' --- RemoveMultipleCandidates.py.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/RemoveMultipleCandidates.py.md b/RemoveMultipleCandidates.py.md index 80f1bf8..0f9a01b 100644 --- a/RemoveMultipleCandidates.py.md +++ b/RemoveMultipleCandidates.py.md @@ -8,11 +8,22 @@ Hence, have a look at the arguments in the code, they start on line 38 in Remove When running over the inclusive sample, it is necesarry to change the IsInc boolean in RemoveMultipleCandidatesSource.py, line 17, to True! +The helper functions are defined in [[Utils3.py|Utils3.py]]. + # Functions ### isMultipleCandidate() - -year -Run -Data -MC, TM, TMpid, gammaTM, ReferenceChannel, PHSP, KshortDecaysInVelo,verbose +Reads the pariringBranch from the TTree, reads the needed branches based on the options (MLPresponse, TM branch). Loops over the MLPvalues to see at what MLP value are all the events 'alone'. Creates a new IsAloneAt+tag branch, storing the MLP response value at which is th event 'alone', the tag represents the Truth-matching method (if applied). If the event does not pass the truth-matching and it is desired, IsAloneAt+tag is set to two. +* **Parameters** + * year + * Run + * Data + * MC + * TM + * TMpid + * gammaTM + * ReferenceChannel + * PHSP + * KshortDecaysInVelo + * verbose +