Update 'BDTSelection'

Renata Kopecná 2022-01-24 18:06:34 +01:00
parent 0f728296df
commit 5d5dab9809

@ -2,28 +2,43 @@ This file contains functions that take the tuples produced in Ganga (aka strippe
## Function parameters
* **string magnet**
Refers to the polarity of the sample, it is either "down" or "up"
* **string year**
Year of the sample, 2011, 2012, 2015, 2016, 2017 or 2018
* **int Run**
1 or 2: Run 1 is 2011+2012, Run 2 is 2015+2016+2017+2018
* **bool MC**
false = use data
true = use MC
* **bool ReferenceChannel**
false = use the signal Q2 region
true = use the Jpsi Q2 region
* **bool PHSP**
false = do not use PHSP MC
true = use PHSP MC
* **bool B0**
false = do not use the B0toKstMuMu sample or B0toKstJpsi sample (depends on bool ReferenceChannel)
true = use the B0toKstMuMu sample or B0toKstJpsi sample (depends on bool ReferenceChannel)
* **bool K1**
false = do not use the B0toK1MuMu or B0toK1Jpsi sample (depends on bool ReferenceChannel)
true = use the B0toK1MuMu or B0toK1Jpsi sample (depends on bool ReferenceChannel)
* **bool Inc**
false = do not use the B0toXMuMu or B0toXJpsi sample (depends on bool ReferenceChannel)
true = use the B0toXMuMu or B0toXJpsi sample (depends on bool ReferenceChannel)
# Functions
@ -34,7 +49,6 @@ This fuction takes the preselected data files, adds a branch for the TruthMatchi
* **Parameters**:
year, magnet
* **Return**:
1 if everything is okay; 0 if something failed
@ -50,7 +64,6 @@ Loops over all .root-files created by subjobs in [ganga](https://lhcb.github.io/
* **Parameters**:
year, magnet, MC, ReferenceChannel, PHSP, B0, K1, Inc
* **Return**:
1 if everything is okay 0, if something failed