From 9198914508ea4d99d5a05393094d36fb1b8e6e86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renata=20Kopecn=C3=A1?= Date: Tue, 1 Feb 2022 08:23:17 +0100 Subject: [PATCH] Update 'RemoveMultipleCandidates.py' --- RemoveMultipleCandidates.py.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/RemoveMultipleCandidates.py.md b/RemoveMultipleCandidates.py.md index 6c34c65..80f1bf8 100644 --- a/RemoveMultipleCandidates.py.md +++ b/RemoveMultipleCandidates.py.md @@ -1,2 +1,18 @@ Tool for removing multiple candidates after TMVA. Adds a branch with a boolean for each TMVA cut, whether the event should be removed or not. +The main program execution is defined in RemoveMultipleCandidates.py. In this file, the arguemtn parser is defined, together with the yer dictionary. For the details about the arguemnts, since ROOT is being ROOT (see https://stackoverflow.com/questions/37749852/python-argparse-dont-show-correct-help-message), one cannot run the usual +``` +python RemoveMultipleCandidates.py -h +``` +Hence, have a look at the arguments in the code, they start on line 38 in RemoveMultipleCandidates.py. Most of them are obsolete; the option `-all` runs over all the available MC and data samples, when not used, the code runs over inclusive sample. + +When running over the inclusive sample, it is necesarry to change the IsInc boolean in RemoveMultipleCandidatesSource.py, line 17, to True! + +# Functions +### isMultipleCandidate() + +year +Run +Data +MC, TM, TMpid, gammaTM, ReferenceChannel, PHSP, KshortDecaysInVelo,verbose +