--
JuanOtalora - 26 Nov 2013
Mirandizing
How to Run ?:
- Download all the files in attatch and put them in the same directory
- To run Mirandizing with the Background Substraction method event per event:
- Edit the run.C file and perform the following changes:
- Choose the desired decay, options are : "kkk", "kpipi", "kkpi", "pipipi" (Line 3)
- Change the iterations number and the division in X and Y Dalitz Plot (Line 4)
- Change the name of the output directory (this directory will contain all the results, plots, trees, histograms, latex files, etc.)
- Change the name of files containing the toyMC, MC and data. (In the case of "kkk" lines are 37, 39, 41). The ntuples ToyMC and MC are used to calculate the acceptance matrix.
- In a Terminal perform the following command line: "root run.C"
- The results is a pdf with all the results....it opens automatically.
- To run Mirandizing SPlot:
- Edit the runSplot.C file and follow the same procedure explained before.
Probably you have to change :
If you don't use ntuples generated by the the B2hhh Rio group it is also necessary to change tree names, variable names, etc...
For the Acceptance Method you have to change the name of the :
- MC ntuple : "DecayTree" (Mirandizing.C ou MirandizingSPlot.C Line 50 )
- ToyMC ntuple : "h1" (Mirandizing.C ou MirandizingSPlot.C Line 53 )
- B mass variable : "B_m" (Mirandizing.C ou MirandizingSPlot.C Linha 69 )
- X Dalitz Plot variable, for example for KKK it is "Low_s31_s23_DTF" (Mirandizing.C or MirandizingSPlot.C Line 76 )
- Y Dalitz Plot variable, for example for KKK it is "High_s31_s23_DTF" (Mirandizing.C or MirandizingSPlot.C Line 77 )
For the Mirandizing Method you have to change the name of the :
- B charge (or ID) variable: "B_ID" (Mirandizing.C ou MirandizingSPlot.C Line 153 )
- B mass variable (Mirandizing.C ou MirandizingSPlot.C Line 154 )
- X Dalitz Plot variable, for example for KKK it is "Low_s31_s23_DTF" (Mirandizing.C Line 165 and MirandizingSPlot.C Line Line 164 )
- Y Dalitz Plot variable, for example for KKK it is "High_s31_s23_DTF" (Mirandizing.C Line 164 and MirandizingSPlot.C Line Line 165 )
- Data Ntuple: "DecayTree" (Mirandizing.C Line 224 ou MirandizingSPlot.C Line 219 )
-
Probably you have to change a Fit initialization parameter:
- B mass width (FitterAndLatex.C Linha 753 ...Default is 30.0, probably you nave to change it to 0.0)