Update 'RemoveMultipleCandidates.py'
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!
|
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
|
# Functions
|
||||||
### isMultipleCandidate()
|
### isMultipleCandidate()
|
||||||
|
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.
|
||||||
year
|
* **Parameters**
|
||||||
Run
|
* year
|
||||||
Data
|
* Run
|
||||||
MC, TM, TMpid, gammaTM, ReferenceChannel, PHSP, KshortDecaysInVelo,verbose
|
* Data
|
||||||
|
* MC
|
||||||
|
* TM
|
||||||
|
* TMpid
|
||||||
|
* gammaTM
|
||||||
|
* ReferenceChannel
|
||||||
|
* PHSP
|
||||||
|
* KshortDecaysInVelo
|
||||||
|
* verbose
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user