Update 'RemoveMultipleCandidates.py'

Renata Kopecná 2022-02-01 08:23:17 +01:00
parent 83decfe574
commit 9198914508

@ -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