Update 'Selection code'

Renata Kopecná 2022-01-25 13:22:49 +01:00
parent c0da416adc
commit a2c7541f42

@ -9,7 +9,7 @@ The code consists of several C++ scripts that are compiled and executed in ROOT.
We used ROOT 6.06.02. We used ROOT 6.06.02.
First, compile and run the preselection. It is defined in [[BDTSelection.cpp|BDTSelection]] . First, compile and run the preselection. It is defined in [[BDTSelection.cpp|BDTSelection]].
``` ```
.L BDTSelection.cpp+ .L BDTSelection.cpp+
runAllSignalData(1); runAllSignalData(2); runAllSignalData(1); runAllSignalData(2);
@ -18,18 +18,18 @@ runAllRefMC(1); runAllRefMC(2);
runAllPHSPMC(1); runAllPHSPMC(2); runAllPHSPMC(1); runAllPHSPMC(2);
``` ```
Then,run a python script performing the Kstar MacGyver DTF Then, run a python script [[Rescale_pi0momentum.py|Rescale pi0 momentum]] performing the Kstar MacGyver DTF
``` ```
lb-conda default python Rescale_pi0momentum.py lb-conda default python Scripts/Rescale_pi0momentum.py
``` ```
Next step is to compile and perform the MC Truth-Matching Next step is to compile and perform the MC Truth-Matching, saved in [[MCtruthmatching.cpp|MCtruthmatching]]. The Truth-matching procedure is in detail described in [my thesis](http://www.physi.uni-heidelberg.de/Publications/thesis_Kopecna_final.pdf).
``` ```
.L MCtruthmatching.cpp+ .L MCtruthmatching.cpp+
TruthMatchAllAll(1); TruthMatchAllAll(2); TruthMatchAllAll(1); TruthMatchAllAll(2);
``` ```
Then, we need to add the XMuMu mass variable and apply the KplusMuMu veto Then, we need to add the XMuMu mass variable and apply the KplusMuMu veto ([[addVariable.cpp|addVariable])
``` ```
.L CodeForTests/AddVariable.cpp+ .L CodeForTests/AddVariable.cpp+
addAllXMuMuMass(true,true,1); addAllXMuMuMass(false,true,1); applyAllVetoKplusMuMuMass(1); addAllXMuMuMass(true,true,1); addAllXMuMuMass(false,true,1); applyAllVetoKplusMuMuMass(1);