Update 'Standalone Scripts'

Renata Kopecná 2022-01-21 11:47:39 +01:00
parent 8df3915acf
commit 4d114fe0ec

@ -1,6 +1,8 @@
**Before using these scripts, please check the include paths: in order to organize the folder in a meaningful way, the location of the scripts changed!** **Before using these scripts, please check the include paths: in order to organize the folder in a meaningful way, the location of the scripts changed!**
# Backgrounds # Backgrounds
In this folder, scripts used for various background-related checks are saved.
### BackgroundCheck.cc ### BackgroundCheck.cc
Checks the mass and angle distribution in different mass regions. Checks the mass and angle distribution in different mass regions.
@ -11,7 +13,13 @@ Takes the different samples used to check backgrounds (B0KstMuMu, B0KstJpsi, B0X
Fakes the double-misID of pi+ and mu+. Checks how many of the fake double misIDed events would pass the double-misID filter in the preselection. Fakes the double-misID of pi+ and mu+. Checks how many of the fake double misIDed events would pass the double-misID filter in the preselection.
### InclusiveCheck.cpp
Checks the Bplus and Kstar mass as well as the Q2 distributions from the inclusive sample.
### IncSamplePlot.cpp
Checks the TRUEID of particles and plots possible sources of background in one plot. Selected data from the BtoXJpsi sample are used as input.
# Multiple Candidates # Multiple Candidates
@ -48,6 +56,14 @@ A backup of originally used Efficiency.cpp in the selection. This script include
A backup of the EfficiencyClass.cpp used in the selection. Provides EffAndError class and helper functions for the Efficiency.cpp. A backup of the EfficiencyClass.cpp used in the selection. Provides EffAndError class and helper functions for the Efficiency.cpp.
### MakeNiceTMplots.cpp
Script used to check the possible methods of Truth Matching.
* Compares what types of gammas are present in the sample.
* Compares the contribution of different gamma types in the B+ mass.
* Compares the contribution of different gamma types in the angles.
* Creates comparison plots for different ways how to Truth Match the data in the angles.
# Trigger checks # Trigger checks