Update 'Selection code'

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

@ -18,18 +18,18 @@ runAllRefMC(1); runAllRefMC(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+
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+
addAllXMuMuMass(true,true,1); addAllXMuMuMass(false,true,1); applyAllVetoKplusMuMuMass(1);