|
[Rivet] ratio plotSercan Sen Sercan.Sen at cern.chSun Jan 2 03:57:07 GMT 2011
Hi, There is a plot at the attachment. I would like to get the ratios "r1 = a / b" and "r2 = c / d" and plot r1, r2 on the RATIO plot. Is there an option for this in make-plots script ? It's easy to do it in ROOT but for some reasons I would like to do it in Rivet. // in ROOT: .. first, plot a and b in a canvas... and create a TPad for the ratio plot.. TPad *pad = new TPad("pad","pad",0,0,1,0.3); pad->SetTopMargin(0); pad->Draw(); pad->cd(); a->Sumw2(); a->SetStats(0); a->Divide(b); a->Draw("ep"); ... Cheers Sercan -------------- next part -------------- A non-text attachment was scrubbed... Name: pastedGraphic.tiff Type: image/tiff Size: 64780 bytes Desc: not available URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20110102/419ffc63/attachment.tiff> -------------- next part --------------
More information about the Rivet mailing list |