From 06cecf4a1574ea6c1b99205f38f6e743fb62a1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renata=20Kopecn=C3=A1?= Date: Fri, 4 Feb 2022 14:20:13 +0100 Subject: [PATCH] Update 'FCNC Fitter' --- FCNC-Fitter.md | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/FCNC-Fitter.md b/FCNC-Fitter.md index 19519e1..bf4d13e 100644 --- a/FCNC-Fitter.md +++ b/FCNC-Fitter.md @@ -110,4 +110,38 @@ Currently, the file structure is as follows. All the `.cc` source files also hav ## Running -python script \ No newline at end of file +For the detailed explanation of possible parameters, [[click here|Running-the-FCNC-fitter]]. + +For quickly running everything, run the following commands + +``` +python run.py -convert -all -Run 1 +python run.py -dontCompile -convert -all -Run 2 +python run.py -dontCompile -MC -angCorr -Run 1 -scan +python run.py -dontCompile -MC -angCorr -Run 2 -scan +python run.py -dontCompile -MC -angCorr -Run 1 +python run.py -dontCompile -MC -angCorr -Run 2 +python run.py -dontCompile -MC -angRes -Run 1 +python run.py -dontCompile -MC -angRes -Run 2 +python run.py -dontCompile -MC -Run 12 -fit -Ref -nBins 1 +python run.py -dontCompile -MC -Run 12 -fit -nBins 5 +python run.py -dontCompile -Run 12 -v 2 -fit -Ref -nBins 1 -genMC -Ref +python run.py -dontCompile -Run 12 -v 2 -fit -nBins 5 -genMC +python run.py -dontCompile -Data -Run 12 -fit -Ref -nBins 1 -massDim +python run.py -dontCompile -Data -Run 12 -fit -nBins 5 -massDim +python run.py -dontCompile -Data -Run 12 -fit -Ref -nBins 1 -bkgOnly -upper +python run.py -dontCompile -Data -Run 12 -fit -nBins 5 -onlyBkg -upper +python run.py -dontCompile -Run 12 -v 2 -fit -Ref -nBins 1 +``` + +**TODO** Create PHSP weights + +* First, it compiles the code and prepares the tuples with Run 1. +* Then, since we already compiled the code, we use the -dontCompile option for running the next commands. +* We prepare the tuples for Run2. Then, it scans the order of polynomial used for the PHSP angular description. +* Next step is to create the angular acceptance weights using the optimal polynomial. +* Then, the signal Monte Carlo sample is fitted: first fit the reference channel, then the signal channel. +* After this step is done, it fits the generator level Mont sample in the J/psi Q2 bin and rare channel in 5 Q2 bins. +* The next step is to fit the data in the B+ and K*+ masses: first, fit the J/psi channel, then the rare channel in the 5 bins. +* Then, fit the angular background distributions (upper B+ mass sideband) using a chebyschev polynomial. +* The last step is to fit the data, J/psi channel in 4 dimensions (B+ mass, cos(thetal), cos(thetak), phi) \ No newline at end of file