-- 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)
Topic attachments
I Attachment History Action Size Date Who Comment
C source code filec Error.C r1 manage 2.2 K 2013-11-26 - 21:55 JuanOtalora  
C source code filec FitterAndLatex.C r1 manage 55.6 K 2013-11-26 - 21:55 JuanOtalora  
C source code filec Mirandizing.C r1 manage 35.6 K 2013-11-26 - 21:54 JuanOtalora  
C source code filec MirandizingSPlot.C r1 manage 27.8 K 2013-11-26 - 21:55 JuanOtalora  
Unknown file formatcxx PABin.cxx r1 manage 6.5 K 2013-11-26 - 21:55 JuanOtalora  
Header fileh PABin.h r1 manage 0.9 K 2013-11-26 - 21:55 JuanOtalora  
C source code filec run.C r1 manage 4.3 K 2013-11-26 - 21:53 JuanOtalora  
C source code filec runSplot.C r1 manage 4.3 K 2013-11-26 - 21:53 JuanOtalora  
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2013-11-26 - JuanOtalora
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback