Update 'RemoveMultipleCandidates.py'

Renata Kopecná 2022-02-01 17:27:03 +01:00
parent 93e005aaba
commit a537d86b97

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