Update 'Selection code'

Renata Kopecná 2022-03-30 10:05:45 +02:00
parent 5c2362a379
commit a3b832ccd0

@ -245,14 +245,12 @@ runAllEff();
.q
```
Scan the significance in the MVA cut using the code in [[BDTcutScanner.cpp|BDTcutScanner.cpp]]. Don't mind the 2012 and 2016 tags, they are just dummies
Scan the significance in the MVA cut using the code in [[BDTcutScanner.cpp|BDTcutScanner.cpp]]. Don't mind the 2012 and 2016 tags, they are just dummies.
```
root
.L BDTcutScanner.cpp+
ScanSignalAndBckgndEstimation("2012",1,0.01,false,false,false,true)
ScanSignalAndBckgndEstimation("2016",2,0.01,false,false,false,true)
getMaxBDTresponse("2012",1,true,false,0,false,false)
getMaxBDTresponse("2016",2,true,false,0,false,false)
.q
```
@ -261,6 +259,16 @@ Make a nice TGraph from the scan; when creating the scan, it can happen that eg
python ReorganizeTGraph.py
```
Now get nice plots of the maximal significance in the MVA cut using [[BDTcutScanner.cpp|BDTcutScanner.cpp]]. Still don't mind the 2012 and 2016 tags, they are just dummies.
```
root
.L BDTcutScanner.cpp+
getMaxBDTresponse("2012",1,true,false,0,false,false)
getMaxBDTresponse("2016",2,true,false,0,false,false)
.q
```
Use the MVA scan to plot the signal yields, apply the MVA cut and compare the yields to the CMS results (see [[SignalStudy.cpp|Signal Study]]). It also creates the tuples used by the [[FCNC fitter|FCNC fitter]] tagged as BDT output selection.
```
root