2D fit Zheng Wang 2009/05/20.

Slides:



Advertisements
Similar presentations
Statistical Methods for Data Analysis Modeling PDF’s with RooFit
Advertisements

QCD Meeting October 1, 2004 Is it due to the hard collision? Is it due to fragmentation? Strong polarization seen in fixed-target experiments where jet.
MC Study of B°  S Jianchun Wang Syracuse University BTeV meeting 06/27/01.
Page 1 B 0   Ks + quasi 2 body modes Koji Hara (Nagoya University) CKM2006 WG4    from charmless B decays.
Statistical Methods for Data Analysis Parameter estimates with RooFit Luca Lista INFN Napoli.
RooFit/RooStats Tutorial CAT Meeting, June 2009
Experimental Research on School of Physics, Peking University at the CMS Bo ZHU  Motivation  Results of MC  Conclusion.
RooFit A tool kit for data modeling in ROOT
Status of the Glasgow B→hh analysis CP Working group γ from loops 14 th October 2010 Paul Sail, Lars Eklund and Alison Bates.
Limit update 1fb -1 extrapolation Thanks for inputs from Camila, Jose, Liwen, Bertrand, Li! Yuji Enari LPNHE Higgs meeting.
RooFit – tools for ML fits Authors: Wouter Verkerke and David Kirkby.
RooFit toy MC sensitivity studies for  +  s and  m s from B s →D s  /K channels at LHCb Shirit Cohen NIKHEF MSc Colloquium May 11 th 2007.
Pure D0 : 950 MuDst files (400 possibles D0 per file) |Zvertex| < 20 cm NHitsFit > 15 histos in 2-d to investigate possible cuts Cuts in MuKpi-update HF.
1 TTU report “Dijet Resonances” Kazim Gumus and Nural Akchurin Texas Tech University Selda Esen and Robert M. Harris Fermilab Jan. 26, 2006.
8/13/101 Updates on the simulation. 8/13/102 Some news I finally have the event generator working, for which the ‘physics’ event has 5 D D 0 bar,
A proposal for a Low mass electron pair trigger. Richard Seto University of CA, Riverside Trigger Working Group Meeting May 11, 2001.
Measurement of Bc +, B + production Cross Section at 7 TeV pp collision at CMS ICTP-NCP school on LHC Physics On behalf of CMS Collaboration November 19.
Paul Balm - EPS July 17, 2003 Towards CP violation results from DØ Paul Balm, NIKHEF (for the DØ collaboration) EPS meeting July 2003, Aachen This.
Measurements of sin2  1 in processes at Belle CKM workshop at Nagoya 2006/12/13 Yu Nakahama (University of Tokyo) for the Belle Collaboration Analysis.
Search for the  + in photoproduction experiments at CLAS APS spring meeting (Dallas) April 22, 2006 Ken Hicks (Ohio University) for the CLAS Collaboration.
© T Madas. 1 m = cm cm = mm 10 1 km = m m = cm cm = mm 40 3 km = m m = cm cm = mm km = m cm = m 4 80.
Measuring Measuring Length, Mass, and Volume. How long is the following? Ans. 7.7 cm.
Mike HildrethEPS/Aachen, July B Physics Results from DØ Mike Hildreth Université de Notre Dame du Lac DØ Collaboration for the DØ Collaboration.
Wouter Verkerke, UCSB RooFitTools A general purpose tool kit for data modeling, developed in BaBar Wouter Verkerke (UC Santa Barbara) David Kirkby (Stanford.
ICSHEP 8, Apr , CMS BOnia physics: J/Psi & Inclusive b(  J/PsiX) production x- Section Xiangwei Meng Guoming Chen Institute of.
Conditional Observables Joe Tuggle BaBar ROOT/RooFit Workshop December 2007.
LPNHE Richard Kass December Measurement of the Branching Fraction of B - → D 0 K* - J. Chauveau, M. John, R. Kass, G. Thérin Details of this.
RooFit Tutorial – Topical Lectures June 2007
Hands-on exercises *. Getting started – ROOT 5.25/02 setup Start a ROOT 5.25/02 session –On your local laptop installation, or –On lxplus (SLC4) or lx64slc5.
Software Update Takashi HACHIYA RIKEN 2012/2/10RIKEN VTX software meeting1.
Muon Efficiency and Fake Rate Two Dimension Fit Exclusive B->JPsiMuMu Analysis in CMSSW_3_1_2 1.
CMS B-physics Group Meeting 11,20, On the Real Data Analysis: Vertex efficiency /resolution, Qflag(Run) & Lumi Info. Xiangwei Meng Institute.
ΜTPC Reconstruction Status Report (…mostly a late night / weekend project … ) D. A. Jensen March 1, 2007.
Barbara Storaci, Nicola Serra, Niels Tuning Bs →μ+μ- Bfys-meeting, 15 th May
Hands-on Session RooStats and TMVA Exercises
Erik Devetak Oxford University 18/09/2008
CMSSW_3_1_1 preproduction samples
Results on B Lifetimes from DØ
e+ e- -> pi+ pi- psip (neutral channle) Line shape measurement
B+J/K+ status July 18, 2008 Wang zheng.
CMS RooStats Higgs Combination Package
Muon momentum scale calibration with J/y peak
Measurement of inclusive branching fraction for y(3686)fX
Search for Pentaquarks at
Light particle searches at Belle
RooFit A general purpose tool kit for data modeling
Uncertainty & Graphs PowerPoint
Topic: Half-Life.
Timing Uncertainty Analysis Update
The fitting method of center-of-mass energy and ISR J/psi
B mixing and lifetimes at the Tevatron
Calculating Slope.
Medications Utilities – Mass Void Medications
Изразеното в настоящата презентация мнение обвързва единствено автора и не представлява официално становище на Комисията за финансов надзор Данил Джоргов.
Statistical Methods for Data Analysis Parameter estimates with RooFit
CP violation in Bs→ff and Bs → K*0K*0
(2S) Measument with CMS 10 TeV Data
Volume of cuboids.
Statistical Methods for Data Analysis Modeling PDF’s with RooFit
(2S) Measument with CMS 10 TeV Data
Paul Sail, Lars Eklund and Alison Bates
Gluon Gluon to jpsi jpsi
Z. X. Zhang , G. M. Chen, X. Y. Wang, et al 2009/11/27
10 TeV BJ/K at CMS Zheng Wang Apr
b and c production in CMS and ATLAS
Jianguo Bian, Guoming Chen,Jian Wang IHEP, Beijing 2011 Oct 7
Search for
Paul Sail, Lars Eklund and Alison Bates
Paul Sail, Lars Eklund and Alison Bates
Presentation transcript:

2D fit Zheng Wang 2009/05/20

2 gaussians for signal mass, one gaussain resolution for signal PDL. Slope shape for prompt Jpsi and BB bgs’s mass. BB bg’s PDL same as that of signal. Prompt Jpsi PDL are zero with a one gaussian. Fit range: M(5.15-5.6), PDL(-0.05, 0.4) Import data: 10pb-1 b->J/psiX+Prompt J/psi (mass, PDL) samples

The Roofit script void RooFit_data_my2() { //Here you should include your Fit Code gSystem->Load("libRooFit.so"); gROOT->SetStyle("Plain"); using namespace RooFit; RooRealVar *mass = new RooRealVar("mass","mass",5.15,5.6,"GeV/c^{2}"); //two gaussians //gaussian 0 : (mean0, sigma0) RooRealVar *Mean0_mass = new RooRealVar("M_{0}","mass mean 0",5.28, 5.27, 5.29); RooRealVar *Sigma0_mass = new RooRealVar("#sigma_{M0}","mass sigma 0",0.1, 0.05, 0.5); RooResolutionModel* g0_mass = new RooGaussModel("g0_mass", "mass resolution",*mass,*Mean0_mass,*Sigma0_mass); //gaussian 1 : (mean1, sigma1) RooRealVar *Mean1_mass = new RooRealVar("M_{1}","mass mean 1",5.28, 5.27, 5.29); RooRealVar *Sigma1_mass = new RooRealVar("#sigma_{M1}","mass sigma 1",0.025, 0.01, 0.05); RooResolutionModel* g1_mass = new RooGaussModel("g1_mass","mass resolution", *mass, *Mean1_mass,*Sigma1_mass);

Signal mass // two gaussion resol. fraction RooRealVar *frac_g0_mass = new RooRealVar("f_g0_M"," gaussion resol. fraction 0", 0.05, 0.0001, 0.3); RooRealVar *frac_g1_mass = new RooRealVar("f_g1_M"," gaussion resol. fraction 1", 0.3, 0.01, 0.8); // RooAbsPdf* mass_b_pdf = new RooAddModel("mass_b_pdf","dual gaussian Pdf", RooArgList(*g0_mass,*g1_mass), RooArgList(*frac_g0_mass, *frac_g1_mass)); RooRealVar* N_b = new RooRealVar ("N_{b}","Signal number B Jpsi K", 1500, 1000,2000); RooAbsPdf* mass_b_epdf = new RooExtendPdf("mass_b_epdf", "mass sig B 2 jpsi K", *mass_b_pdf, *N_b ); /// >>>>>>>>>OK, signal mass PDF is ready

Signal time ///>>>>>signal time PDF<<<<<<< RooRealVar *tom = new RooRealVar("tom","proper decay length", -0.05, 0.4,"cm"); RooRealVar *b_tau = new RooRealVar("c#tau_{b}","B ctau", 0.0500, 0.04, 0.055) ; //cm RooRealVar *Mean_tom = new RooRealVar("tomMean","proper time mean",0); RooRealVar *ratio_tom = new RooRealVar("s_{to}","ratio",1, 0.01, 50) ; RooRealVar *tom_err = new RooRealVar("tom_err","tom_err",0, 1.0,"cm"); RooRealVar *Sigma0_tom = new RooRealVar("#sigma_{t0}","proper time sigma",0.00265, 0., 0.005); // RooFormulaVar *Sigma1_tom = new RooFormulaVar("Sigma1_tom","@0*@1",RooArgList(*ratio_tom,*tom_err)); RooFormulaVar *Sigma1_tom = new RooFormulaVar("Sigma1_tom","@0*@1",RooArgList(*ratio_tom,*Sigma0_tom)); RooRealVar *frac_g_tom = new RooRealVar("f_g_#sigma_{t0}"," gaussion resol. fraction", 0.8048, 0.01, 0.01); //

RooResolutionModel* g0_tom = new RooGaussModel("g0_tom", "proper time resolution", *tom,*Mean_tom,*Sigma0_tom); RooResolutionModel* g1_tom = new RooGaussModel("g1_tom", *tom,*Mean_tom,*Sigma1_tom); RooResolutionModel* properTimeRes = new RooGaussModel("g1_tom","proper time resolution", *tom, *Mean_tom,*Sigma1_tom); // RooResolutionModel* properTimeRes = new RooAddModel("properTimeRes","dual gaussian Pdf", RooArgList(*g0_tom,*g1_tom), RooArgList(*frac_g_tom)); RooAbsPdf* time_b_pdf = new RooDecay("time_b_pdf","time pdf B 2 jpsi K", *tom,*b_tau,*properTimeRes,RooDecay::SingleSided); // OK, signal time PDF is ready // Combining Signal PDFs (mass +time) RooAbsPdf* masstimeSigpdf = new RooProdPdf("masstimeSigpdf","signal m * t", RooArgSet(*time_b_pdf,*mass_b_epdf));

Jpsi bg ///prompt J/psi mass RooRealVar *slope = new RooRealVar("slope","slope",0.0) ; RooAbsPdf* mass_pJpsi_pdf = new RooPolynomial("mass_pJpsi_pdf","mass pdf pJpsi",*mass,*slope); RooRealVar* N_pJpsi = new RooRealVar ("N_{p-J/#psi}","Signal number prompt Jpsi",4000,2000,10000); RooAbsPdf* mass_pJpsi_epdf = new RooExtendPdf("mass_pJpsi_epdf", "mass sig pJpsi", *mass_pJpsi_pdf, *N_pJpsi ); // prompt J/psi time RooAbsPdf* time_pJpsi_pdf =new RooGaussModel("g1_tom", "proper time resolution", *tom,*Mean_tom,*Sigma1_tom) ; //background jpsi mass+time RooAbsPdf* masstimeBkgpdf = new RooProdPdf("masstimeBkgpdf","background m * t", RooArgSet(*time_pJpsi_pdf,*mass_pJpsi_epdf)); /////OK background jpsi is ready

BB bg ///BB mass RooAbsPdf* mass_BB_pdf = new RooPolynomial("mass_QCD_pdf","mass pdf QCD",*mass,*slope); RooRealVar* N_BB = new RooRealVar ("N_{BB}","Signal number BB", 500,100,2000); RooAbsPdf* mass_BB_epdf = new RooExtendPdf("mass_BB_epdf", "mass BB", *mass_BB_pdf, *N_BB ); // prompt BB time RooAbsPdf* time_BB_pdf = new RooDecay("time_BB_pdf","time pdf BB", *tom,*b_tau,*properTimeRes,RooDecay::SingleSided); //background BB mass+time RooAbsPdf* masstimeBkgpdf2 = new RooProdPdf("masstimeBkgpdf2","background2 m * t", RooArgSet(*time_BB_pdf,*mass_BB_epdf)); ///// OK background2 BB is ready ///Sig+bg PDF RooAbsPdf* pdf_fit = new RooAddPdf("pdf_fit","Total(B+S) PDF", RooArgSet(*masstimeSigpdf,*masstimeBkgpdf,*masstimeBkgpdf2));

Fit //// Real data generate RooArgSet *pdf_obs = new RooArgSet(*mass, *tom); RooDataSet *dataB = RooDataSet::read("fitsample.txt",RooArgList(*pdf_obs)); //// -----Fitting---- // Define differen -log(L) for B->ff, B->f fbar and B->fbar f RooNLLVar *nllB = new RooNLLVar("nllB","-log(L)",*pdf_fit,*dataB,Extended(true)); RooMinuit m1(*nllB); // RooMinuit m1(*L); m1.setVerbose(kTRUE) ; // m1.setLogFile(logFile); m1.setProfile(1); m1.setPrintLevel(3); m1.setStrategy(2); m1.migrad() ;

Fit result