Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:34:14

0001 void myMacro_v2()
0002 {
0003   gROOT->LoadMacro("tdrstyle.C");
0004   setTDRStyle();
0005 
0006   gROOT->LoadMacro("CMS_lumi_v2.C");
0007 
0008   writeExtraText = true;       // if extra text
0009   extraText  = "Preliminary";  // default extra text is "Preliminary"
0010   lumi_8TeV  = "19.1 fb^{-1}"; // default is "19.7 fb^{-1}"
0011   lumi_7TeV  = "4.9 fb^{-1}";  // default is "5.1 fb^{-1}"
0012 
0013   int iPeriod = 14;    // 1=7TeV, 2=8TeV, 3=7+8TeV, 7=7+8+13TeV, 14= PU=140,14TeV 
0014 
0015   // second parameter in example_plot is iPos, which drives the position of the CMS logo in the plot
0016   // iPos=11 : top-left, left-aligned
0017   // iPos=33 : top-right, right-aligned
0018   // iPos=22 : center, centered
0019   // mode generally : 
0020   //   iPos = 10*(alignement 1/2/3) + position (1/2/3 = left/center/right)
0021 
0022   // example_plot( iPeriod, 0 );   // out of frame (in exceptional cases)
0023   example_plot( iPeriod, 11 );  // left-aligned
0024   example_plot( iPeriod, 33 );  // right-aligned
0025 
0026   writeExtraText = false;       // remove Preliminary
0027   
0028   // example_plot( iPeriod, 0 );   // out of frame (in exceptional cases)
0029 
0030   example_plot( iPeriod, 11 );  // default: left-aligned
0031   example_plot( iPeriod, 22 );  // centered
0032   example_plot( iPeriod, 33 );  // right-aligned
0033 
0034 
0035   
0036 }
0037 
0038 TCanvas* example_plot( int iPeriod, int iPos )
0039 { 
0040   int W = 800;
0041   int H = 600;
0042 
0043   // 
0044   // Simple example of macro: plot with CMS name and lumi text
0045   //  (this script does not pretend to work in all configurations)
0046   // iPeriod = 1*(0/1 7 TeV) + 2*(0/1 8 TeV)  + 4*(0/1 13 TeV) 
0047   // For instance: 
0048   //               iPeriod = 3 means: 7 TeV + 8 TeV
0049   //               iPeriod = 7 means: 7 TeV + 8 TeV + 13 TeV 
0050   // Initiated by: Gautier Hamel de Monchenault (Saclay)
0051   //
0052   int H_ref = 600; 
0053   int W_ref = 800; 
0054 
0055   // references for T, B, L, R
0056   float T = 0.08*H_ref;
0057   float B = 0.12*H_ref; 
0058   float L = 0.12*W_ref;
0059   float R = 0.04*W_ref;
0060 
0061   TString canvName = "FigExample_";
0062   canvName += W;
0063   canvName += "-";
0064   canvName += H;
0065   canvName += "_";  
0066   canvName += iPeriod;
0067   if( writeExtraText ) canvName += "-prelim";
0068   if( iPos%10==0 ) canvName += "-out";
0069   else if( iPos%10==1 ) canvName += "-left";
0070   else if( iPos%10==2 )  canvName += "-center";
0071   else if( iPos%10==3 )  canvName += "-right";
0072 
0073   TCanvas* canv = new TCanvas(canvName,canvName,10,10,W,H);
0074   canv->SetFillColor(0);
0075   canv->SetBorderMode(0);
0076   canv->SetFrameFillStyle(0);
0077   canv->SetFrameBorderMode(0);
0078   canv->SetLeftMargin( L/W );
0079   canv->SetRightMargin( R/W );
0080   canv->SetTopMargin( T/H );
0081   canv->SetBottomMargin( B/H );
0082   canv->SetTickx(0);
0083   canv->SetTicky(0);
0084 
0085   TH1* h = new TH1F("h","h",40,70,110);
0086   h->GetXaxis()->SetNdivisions(6,5,0);
0087   h->GetXaxis()->SetTitle("m_{e^{+}e^{-}} (GeV)");  
0088   h->GetYaxis()->SetNdivisions(6,5,0);
0089   h->GetYaxis()->SetTitleOffset(1);
0090   h->GetYaxis()->SetTitle("Events / 0.5 GeV");  
0091 
0092   h->SetMaximum( 260 );
0093   if( iPos==1 ) h->SetMaximum( 300 );
0094   h->Draw();
0095 
0096   int histLineColor = kOrange+7;
0097   int histFillColor = kOrange-2;
0098   float markerSize  = 1.0;
0099 
0100   {
0101     TLatex latex;
0102                 
0103     int n_ = 2;
0104 
0105     float x1_l = 0.92;
0106     float y1_l = 0.60;
0107 
0108     float dx_l = 0.30;
0109     float dy_l = 0.18;
0110     float x0_l = x1_l-dx_l;
0111     float y0_l = y1_l-dy_l;
0112 
0113     TPad* legend = new TPad("legend_0","legend_0",x0_l,y0_l,x1_l, y1_l );
0114     //    legend->SetFillColor( kGray );
0115     legend->Draw();
0116     legend->cd();
0117         
0118     float ar_l = dy_l/dx_l;
0119         
0120     float x_l[1];
0121     float ex_l[1];
0122     float y_l[1];
0123     float ey_l[1];
0124         
0125     //    float gap_ = 0.09/ar_l;
0126     float gap_ = 1./(n_+1);
0127         
0128     float bwx_ = 0.12;
0129     float bwy_ = gap_/1.5;
0130         
0131     x_l[0] = 1.2*bwx_;
0132     //    y_l[0] = 1-(1-0.10)/ar_l;
0133     y_l[0] = 1-gap_;
0134     ex_l[0] = 0;
0135     ey_l[0] = 0.04/ar_l;
0136         
0137     TGraph* gr_l = new TGraphErrors(1, x_l, y_l, ex_l, ey_l );
0138         
0139     gStyle->SetEndErrorSize(0);
0140     gr_l->SetMarkerSize(0.9);
0141     gr_l->Draw("0P");
0142         
0143     latex.SetTextFont(42);
0144     latex.SetTextAngle(0);
0145     latex.SetTextColor(kBlack);    
0146     latex.SetTextSize(0.25);    
0147     latex.SetTextAlign(12); 
0148         
0149     TLine line_;
0150     TBox  box_;
0151     float xx_ = x_l[0];
0152     float yy_ = y_l[0];
0153     latex.DrawLatex(xx_+1.*bwx_,yy_,"Data");
0154         
0155     yy_ -= gap_;
0156     box_.SetLineStyle( kSolid );
0157     box_.SetLineWidth( 1 );
0158     //      box_.SetLineColor( kBlack );
0159     box_.SetLineColor( histLineColor );
0160     box_.SetFillColor( histFillColor );
0161     box_.DrawBox( xx_-bwx_/2, yy_-bwy_/2, xx_+bwx_/2, yy_+bwy_/2 );
0162     box_.SetFillStyle(0);
0163     box_.DrawBox( xx_-bwx_/2, yy_-bwy_/2, xx_+bwx_/2, yy_+bwy_/2 );
0164     latex.DrawLatex(xx_+1.*bwx_,yy_,"Z #rightarrow e^{+}e^{-} (MC)");
0165 
0166     canv->cd();
0167   }
0168 
0169   {
0170     // Observed data
0171 
0172     TH1F *data = new TH1F("data","mass_basecat_cat0_Data",240,60,180);
0173     data->SetBinContent(21,1.882);
0174     data->SetBinContent(22,2.017);
0175     data->SetBinContent(23,2.315);
0176     data->SetBinContent(24,2.555);
0177     data->SetBinContent(25,2.882);
0178     data->SetBinContent(26,3.099);
0179     data->SetBinContent(27,3.454);
0180     data->SetBinContent(28,3.823);
0181     data->SetBinContent(29,4.359);
0182     data->SetBinContent(30,4.665);
0183     data->SetBinContent(31,5.117);
0184     data->SetBinContent(32,5.525);
0185     data->SetBinContent(33,6.192);
0186     data->SetBinContent(34,6.594);
0187     data->SetBinContent(35,7.155);
0188     data->SetBinContent(36,7.845);
0189     data->SetBinContent(37,8.543);
0190     data->SetBinContent(38,9.453);
0191     data->SetBinContent(39,10.071);
0192     data->SetBinContent(40,11.329);
0193     data->SetBinContent(41,12.464);
0194     data->SetBinContent(42,13.969);
0195     data->SetBinContent(43,15.787);
0196     data->SetBinContent(44,17.73);
0197     data->SetBinContent(45,20.266);
0198     data->SetBinContent(46,23.21);
0199     data->SetBinContent(47,26.771);
0200     data->SetBinContent(48,31.06);
0201     data->SetBinContent(49,36.5);
0202     data->SetBinContent(50,42.973);
0203     data->SetBinContent(51,51.072);
0204     data->SetBinContent(52,61.407);
0205     data->SetBinContent(53,72.227);
0206     data->SetBinContent(54,86.756);
0207     data->SetBinContent(55,104.014);
0208     data->SetBinContent(56,122.698);
0209     data->SetBinContent(57,145.79);
0210     data->SetBinContent(58,169.347);
0211     data->SetBinContent(59,191.677);
0212     data->SetBinContent(60,210.384);
0213     data->SetBinContent(61,219.697);
0214     data->SetBinContent(62,217.074);
0215     data->SetBinContent(63,200.248);
0216     data->SetBinContent(64,174.525);
0217     data->SetBinContent(65,141.684);
0218     data->SetBinContent(66,111.424);
0219     data->SetBinContent(67,86.517);
0220     data->SetBinContent(68,66.474);
0221     data->SetBinContent(69,50.82);
0222     data->SetBinContent(70,40.017);
0223     data->SetBinContent(71,32.312);
0224     data->SetBinContent(72,26.031);
0225     data->SetBinContent(73,22.181);
0226     data->SetBinContent(74,18.081);
0227     data->SetBinContent(75,15.604);
0228     data->SetBinContent(76,13.617);
0229     data->SetBinContent(77,11.931);
0230     data->SetBinContent(78,10.303);
0231     data->SetBinContent(79,9.259);
0232     data->SetBinContent(80,8.183);
0233     data->SetBinContent(81,7.323);
0234     data->SetBinContent(82,6.547);
0235     data->SetBinContent(83,6.119);
0236     data->SetBinContent(84,5.547);
0237     data->SetBinContent(85,5.138);
0238     data->SetBinContent(86,4.735);
0239     data->SetBinContent(87,4.435);
0240     data->SetBinContent(88,4.128);
0241     data->SetBinContent(89,3.726);
0242     data->SetBinContent(90,3.666);
0243     data->SetBinContent(91,3.245);
0244     data->SetBinContent(92,3.148);
0245     data->SetBinContent(93,2.863);
0246     data->SetBinContent(94,2.662);
0247     data->SetBinContent(95,2.643);
0248     data->SetBinContent(96,2.396);
0249     data->SetBinContent(97,2.332);
0250     data->SetBinContent(98,2.099);
0251     data->SetBinContent(99,2.013);
0252     data->SetBinContent(100,1.969);
0253     data->SetBinContent(101,1.883);
0254     data->SetBinContent(102,1.843);
0255     data->SetBinContent(103,1.703);
0256     data->SetBinContent(104,1.645);
0257     data->SetBinContent(105,1.491);
0258     data->SetBinContent(106,1.472);
0259     data->SetBinContent(107,1.37);
0260     data->SetBinContent(108,1.346);
0261     data->SetBinContent(109,1.263);
0262     data->SetBinContent(110,1.279);
0263     data->SetBinContent(111,1.286);
0264     data->SetBinContent(112,1.241);
0265     data->SetBinContent(113,1.081);
0266     data->SetBinContent(114,1.072);
0267     data->SetBinContent(115,1.061);
0268     data->SetBinContent(116,1.041);
0269     data->SetBinContent(117,1.005);
0270     data->SetBinContent(118,0.892);
0271     data->SetBinContent(119,0.927);
0272     data->SetBinContent(120,0.865);
0273     data->SetBinContent(121,0.851);
0274     data->SetBinContent(122,0.831);
0275     data->SetBinContent(123,0.81);
0276     data->SetBinContent(124,0.805);
0277     data->SetBinContent(125,0.741);
0278     data->SetBinContent(126,0.765);
0279     data->SetBinContent(127,0.738);
0280     data->SetBinContent(128,0.717);
0281     data->SetBinContent(129,0.676);
0282     data->SetBinContent(130,0.68);
0283     data->SetBinContent(131,0.66);
0284     data->SetBinContent(132,0.61);
0285     data->SetBinContent(133,0.589);
0286     data->SetBinContent(134,0.579);
0287     data->SetBinContent(135,0.542);
0288     data->SetBinContent(136,0.586);
0289     data->SetBinContent(137,0.595);
0290     data->SetBinContent(138,0.569);
0291     data->SetBinContent(139,0.543);
0292     data->SetBinContent(140,0.489);
0293     data->SetBinContent(141,0.5);
0294     data->SetBinContent(142,0.513);
0295     data->SetBinContent(143,0.498);
0296     data->SetBinContent(144,0.511);
0297     data->SetBinContent(145,0.472);
0298     data->SetBinContent(146,0.413);
0299     data->SetBinContent(147,0.457);
0300     data->SetBinContent(148,0.441);
0301     data->SetBinContent(149,0.419);
0302     data->SetBinContent(150,0.436);
0303     data->SetBinContent(151,0.372);
0304     data->SetBinContent(152,0.397);
0305     data->SetBinContent(153,0.34);
0306     data->SetBinContent(154,0.386);
0307     data->SetBinContent(155,0.346);
0308     data->SetBinContent(156,0.355);
0309     data->SetBinContent(157,0.381);
0310     data->SetBinContent(158,0.34);
0311     data->SetBinContent(159,0.32);
0312     data->SetBinContent(160,0.374);
0313     data->SetBinContent(161,0.318);
0314     data->SetBinContent(162,0.299);
0315     data->SetBinContent(163,0.32);
0316     data->SetBinContent(164,0.312);
0317     data->SetBinContent(165,0.311);
0318     data->SetBinContent(166,0.312);
0319     data->SetBinContent(167,0.288);
0320     data->SetBinContent(168,0.283);
0321     data->SetBinContent(169,0.281);
0322     data->SetBinContent(170,0.291);
0323     data->SetBinContent(171,0.266);
0324     data->SetBinContent(172,0.257);
0325     data->SetBinContent(173,0.258);
0326     data->SetBinContent(174,0.277);
0327     data->SetBinContent(175,0.24);
0328     data->SetBinContent(176,0.252);
0329     data->SetBinContent(177,0.23);
0330     data->SetBinContent(178,0.25);
0331     data->SetBinContent(179,0.207);
0332     data->SetBinContent(180,0.229);
0333     data->SetBinContent(181,0.243);
0334     data->SetBinContent(182,0.221);
0335     data->SetBinContent(183,0.217);
0336     data->SetBinContent(184,0.225);
0337     data->SetBinContent(185,0.241);
0338     data->SetBinContent(186,0.214);
0339     data->SetBinContent(187,0.211);
0340     data->SetBinContent(188,0.217);
0341     data->SetBinContent(189,0.21);
0342     data->SetBinContent(190,0.223);
0343     data->SetBinContent(191,0.185);
0344     data->SetBinContent(192,0.189);
0345     data->SetBinContent(193,0.181);
0346     data->SetBinContent(194,0.193);
0347     data->SetBinContent(195,0.227);
0348     data->SetBinContent(196,0.178);
0349     data->SetBinContent(197,0.175);
0350     data->SetBinContent(198,0.186);
0351     data->SetBinContent(199,0.183);
0352     data->SetBinContent(200,0.195);
0353     data->SetBinContent(201,0.18);
0354     data->SetBinContent(202,0.177);
0355     data->SetBinContent(203,0.166);
0356     data->SetBinContent(204,0.186);
0357     data->SetBinContent(205,0.182);
0358     data->SetBinContent(206,0.164);
0359     data->SetBinContent(207,0.164);
0360     data->SetBinContent(208,0.158);
0361     data->SetBinContent(209,0.161);
0362     data->SetBinContent(210,0.139);
0363     data->SetBinContent(211,0.17);
0364     data->SetBinContent(212,0.153);
0365     data->SetBinContent(213,0.15);
0366     data->SetBinContent(214,0.151);
0367     data->SetBinContent(215,0.146);
0368     data->SetBinContent(216,0.131);
0369     data->SetBinContent(217,0.125);
0370     data->SetBinContent(218,0.124);
0371     data->SetBinContent(219,0.135);
0372     data->SetBinContent(220,0.123);
0373     data->SetBinContent(221,0.145);
0374     data->SetBinContent(222,0.141);
0375     data->SetBinContent(223,0.135);
0376     data->SetBinContent(224,0.113);
0377     data->SetBinContent(225,0.12);
0378     data->SetBinContent(226,0.118);
0379     data->SetBinContent(227,0.133);
0380     data->SetBinContent(228,0.116);
0381     data->SetBinContent(229,0.134);
0382     data->SetBinContent(230,0.129);
0383     data->SetBinContent(231,0.119);
0384     data->SetBinContent(232,0.112);
0385     data->SetBinContent(233,0.094);
0386     data->SetBinContent(234,0.099);
0387     data->SetBinContent(235,0.112);
0388     data->SetBinContent(236,0.113);
0389     data->SetBinContent(237,0.114);
0390     data->SetBinContent(238,0.104);
0391     data->SetBinContent(239,0.098);
0392     data->SetBinContent(240,0.109);
0393     data->SetBinContent(241,11.204);
0394     data->SetBinError(21,0.04338202);
0395     data->SetBinError(22,0.04491102);
0396     data->SetBinError(23,0.04811445);
0397     data->SetBinError(24,0.05054701);
0398     data->SetBinError(25,0.05368426);
0399     data->SetBinError(26,0.05566866);
0400     data->SetBinError(27,0.05877074);
0401     data->SetBinError(28,0.06183041);
0402     data->SetBinError(29,0.06602272);
0403     data->SetBinError(30,0.06830081);
0404     data->SetBinError(31,0.07153321);
0405     data->SetBinError(32,0.07433034);
0406     data->SetBinError(33,0.07868926);
0407     data->SetBinError(34,0.08120345);
0408     data->SetBinError(35,0.08458723);
0409     data->SetBinError(36,0.088572);
0410     data->SetBinError(37,0.09242835);
0411     data->SetBinError(38,0.09722654);
0412     data->SetBinError(39,0.1003544);
0413     data->SetBinError(40,0.1064378);
0414     data->SetBinError(41,0.1116423);
0415     data->SetBinError(42,0.1181905);
0416     data->SetBinError(43,0.1256463);
0417     data->SetBinError(44,0.133154);
0418     data->SetBinError(45,0.1423587);
0419     data->SetBinError(46,0.1523483);
0420     data->SetBinError(47,0.1636185);
0421     data->SetBinError(48,0.1762385);
0422     data->SetBinError(49,0.1910497);
0423     data->SetBinError(50,0.2072993);
0424     data->SetBinError(51,0.2259912);
0425     data->SetBinError(52,0.2478044);
0426     data->SetBinError(53,0.2687508);
0427     data->SetBinError(54,0.2945437);
0428     data->SetBinError(55,0.322512);
0429     data->SetBinError(56,0.3502827);
0430     data->SetBinError(57,0.3818246);
0431     data->SetBinError(58,0.4115179);
0432     data->SetBinError(59,0.4378093);
0433     data->SetBinError(60,0.4586764);
0434     data->SetBinError(61,0.4687185);
0435     data->SetBinError(62,0.465912);
0436     data->SetBinError(63,0.4474908);
0437     data->SetBinError(64,0.4177619);
0438     data->SetBinError(65,0.3764094);
0439     data->SetBinError(66,0.3338023);
0440     data->SetBinError(67,0.2941377);
0441     data->SetBinError(68,0.2578255);
0442     data->SetBinError(69,0.2254329);
0443     data->SetBinError(70,0.2000425);
0444     data->SetBinError(71,0.1797554);
0445     data->SetBinError(72,0.1613413);
0446     data->SetBinError(73,0.1489329);
0447     data->SetBinError(74,0.1344656);
0448     data->SetBinError(75,0.124916);
0449     data->SetBinError(76,0.1166919);
0450     data->SetBinError(77,0.1092291);
0451     data->SetBinError(78,0.1015037);
0452     data->SetBinError(79,0.0962237);
0453     data->SetBinError(80,0.09045994);
0454     data->SetBinError(81,0.08557453);
0455     data->SetBinError(82,0.08091353);
0456     data->SetBinError(83,0.07822404);
0457     data->SetBinError(84,0.07447818);
0458     data->SetBinError(85,0.07167984);
0459     data->SetBinError(86,0.06881134);
0460     data->SetBinError(87,0.0665958);
0461     data->SetBinError(88,0.06424951);
0462     data->SetBinError(89,0.06104097);
0463     data->SetBinError(90,0.0605475);
0464     data->SetBinError(91,0.0569649);
0465     data->SetBinError(92,0.05610704);
0466     data->SetBinError(93,0.05350701);
0467     data->SetBinError(94,0.05159457);
0468     data->SetBinError(95,0.05141012);
0469     data->SetBinError(96,0.04894895);
0470     data->SetBinError(97,0.04829079);
0471     data->SetBinError(98,0.04581484);
0472     data->SetBinError(99,0.04486647);
0473     data->SetBinError(100,0.04437342);
0474     data->SetBinError(101,0.04339355);
0475     data->SetBinError(102,0.04293018);
0476     data->SetBinError(103,0.04126742);
0477     data->SetBinError(104,0.0405586);
0478     data->SetBinError(105,0.03861347);
0479     data->SetBinError(106,0.03836665);
0480     data->SetBinError(107,0.03701351);
0481     data->SetBinError(108,0.03668787);
0482     data->SetBinError(109,0.03553871);
0483     data->SetBinError(110,0.03576311);
0484     data->SetBinError(111,0.03586084);
0485     data->SetBinError(112,0.03522783);
0486     data->SetBinError(113,0.03287856);
0487     data->SetBinError(114,0.03274141);
0488     data->SetBinError(115,0.03257299);
0489     data->SetBinError(116,0.03226453);
0490     data->SetBinError(117,0.03170173);
0491     data->SetBinError(118,0.02986637);
0492     data->SetBinError(119,0.03044667);
0493     data->SetBinError(120,0.02941088);
0494     data->SetBinError(121,0.0291719);
0495     data->SetBinError(122,0.02882707);
0496     data->SetBinError(123,0.0284605);
0497     data->SetBinError(124,0.02837252);
0498     data->SetBinError(125,0.02722132);
0499     data->SetBinError(126,0.02765863);
0500     data->SetBinError(127,0.02716616);
0501     data->SetBinError(128,0.02677686);
0502     data->SetBinError(129,0.026);
0503     data->SetBinError(130,0.02607681);
0504     data->SetBinError(131,0.02569047);
0505     data->SetBinError(132,0.02469818);
0506     data->SetBinError(133,0.02426932);
0507     data->SetBinError(134,0.02406242);
0508     data->SetBinError(135,0.02328089);
0509     data->SetBinError(136,0.02420744);
0510     data->SetBinError(137,0.02439262);
0511     data->SetBinError(138,0.02385372);
0512     data->SetBinError(139,0.02330236);
0513     data->SetBinError(140,0.02211334);
0514     data->SetBinError(141,0.02236068);
0515     data->SetBinError(142,0.0226495);
0516     data->SetBinError(143,0.02231591);
0517     data->SetBinError(144,0.02260531);
0518     data->SetBinError(145,0.02172556);
0519     data->SetBinError(146,0.0203224);
0520     data->SetBinError(147,0.02137756);
0521     data->SetBinError(148,0.021);
0522     data->SetBinError(149,0.02046949);
0523     data->SetBinError(150,0.02088061);
0524     data->SetBinError(151,0.0192873);
0525     data->SetBinError(152,0.01992486);
0526     data->SetBinError(153,0.01843909);
0527     data->SetBinError(154,0.01964688);
0528     data->SetBinError(155,0.01860108);
0529     data->SetBinError(156,0.01884144);
0530     data->SetBinError(157,0.01951922);
0531     data->SetBinError(158,0.01843909);
0532     data->SetBinError(159,0.01788854);
0533     data->SetBinError(160,0.01933908);
0534     data->SetBinError(161,0.01783255);
0535     data->SetBinError(162,0.01729162);
0536     data->SetBinError(163,0.01788854);
0537     data->SetBinError(164,0.01766352);
0538     data->SetBinError(165,0.01763519);
0539     data->SetBinError(166,0.01766352);
0540     data->SetBinError(167,0.01697056);
0541     data->SetBinError(168,0.0168226);
0542     data->SetBinError(169,0.01676305);
0543     data->SetBinError(170,0.01705872);
0544     data->SetBinError(171,0.01630951);
0545     data->SetBinError(172,0.01603122);
0546     data->SetBinError(173,0.01606238);
0547     data->SetBinError(174,0.01664332);
0548     data->SetBinError(175,0.01549193);
0549     data->SetBinError(176,0.01587451);
0550     data->SetBinError(177,0.01516575);
0551     data->SetBinError(178,0.01581139);
0552     data->SetBinError(179,0.01438749);
0553     data->SetBinError(180,0.01513275);
0554     data->SetBinError(181,0.01558846);
0555     data->SetBinError(182,0.01486607);
0556     data->SetBinError(183,0.01473092);
0557     data->SetBinError(184,0.015);
0558     data->SetBinError(185,0.01552417);
0559     data->SetBinError(186,0.01462874);
0560     data->SetBinError(187,0.01452584);
0561     data->SetBinError(188,0.01473092);
0562     data->SetBinError(189,0.01449138);
0563     data->SetBinError(190,0.01493318);
0564     data->SetBinError(191,0.01360147);
0565     data->SetBinError(192,0.01374773);
0566     data->SetBinError(193,0.01345362);
0567     data->SetBinError(194,0.01389244);
0568     data->SetBinError(195,0.01506652);
0569     data->SetBinError(196,0.01334166);
0570     data->SetBinError(197,0.01322876);
0571     data->SetBinError(198,0.01363818);
0572     data->SetBinError(199,0.01352775);
0573     data->SetBinError(200,0.01396424);
0574     data->SetBinError(201,0.01341641);
0575     data->SetBinError(202,0.01330413);
0576     data->SetBinError(203,0.0128841);
0577     data->SetBinError(204,0.01363818);
0578     data->SetBinError(205,0.01349074);
0579     data->SetBinError(206,0.01280625);
0580     data->SetBinError(207,0.01280625);
0581     data->SetBinError(208,0.01256981);
0582     data->SetBinError(209,0.01268858);
0583     data->SetBinError(210,0.01178983);
0584     data->SetBinError(211,0.0130384);
0585     data->SetBinError(212,0.01236932);
0586     data->SetBinError(213,0.01224745);
0587     data->SetBinError(214,0.01228821);
0588     data->SetBinError(215,0.01208305);
0589     data->SetBinError(216,0.01144552);
0590     data->SetBinError(217,0.01118034);
0591     data->SetBinError(218,0.01113553);
0592     data->SetBinError(219,0.01161895);
0593     data->SetBinError(220,0.01109054);
0594     data->SetBinError(221,0.01204159);
0595     data->SetBinError(222,0.01187434);
0596     data->SetBinError(223,0.01161895);
0597     data->SetBinError(224,0.01063015);
0598     data->SetBinError(225,0.01095445);
0599     data->SetBinError(226,0.01086278);
0600     data->SetBinError(227,0.01153256);
0601     data->SetBinError(228,0.01077033);
0602     data->SetBinError(229,0.01157584);
0603     data->SetBinError(230,0.01135782);
0604     data->SetBinError(231,0.01090871);
0605     data->SetBinError(232,0.01058301);
0606     data->SetBinError(233,0.00969536);
0607     data->SetBinError(234,0.009949874);
0608     data->SetBinError(235,0.01058301);
0609     data->SetBinError(236,0.01063015);
0610     data->SetBinError(237,0.01067708);
0611     data->SetBinError(238,0.01019804);
0612     data->SetBinError(239,0.009899495);
0613     data->SetBinError(240,0.01044031);
0614     data->SetBinError(241,0.1058489);
0615 
0616     data->SetEntries(3191348);
0617     data->SetDirectory(0);
0618     data->SetMarkerStyle(20);
0619 
0620     TH1F *MC = new TH1F("MC","mass_basecat_cat0_DYJetsToLL",240,60,180);
0621     MC->SetBinContent(21,2.476249);
0622     MC->SetBinContent(22,2.813856);
0623     MC->SetBinContent(23,3.058786);
0624     MC->SetBinContent(24,3.289788);
0625     MC->SetBinContent(25,3.373866);
0626     MC->SetBinContent(26,3.797921);
0627     MC->SetBinContent(27,4.050881);
0628     MC->SetBinContent(28,4.265438);
0629     MC->SetBinContent(29,4.746991);
0630     MC->SetBinContent(30,4.943384);
0631     MC->SetBinContent(31,5.288929);
0632     MC->SetBinContent(32,5.518077);
0633     MC->SetBinContent(33,5.790608);
0634     MC->SetBinContent(34,6.307038);
0635     MC->SetBinContent(35,6.870164);
0636     MC->SetBinContent(36,7.479939);
0637     MC->SetBinContent(37,8.395685);
0638     MC->SetBinContent(38,8.833812);
0639     MC->SetBinContent(39,9.913684);
0640     MC->SetBinContent(40,11.1613);
0641     MC->SetBinContent(41,12.11815);
0642     MC->SetBinContent(42,13.51553);
0643     MC->SetBinContent(43,15.03801);
0644     MC->SetBinContent(44,17.21509);
0645     MC->SetBinContent(45,19.8511);
0646     MC->SetBinContent(46,22.3202);
0647     MC->SetBinContent(47,26.08919);
0648     MC->SetBinContent(48,30.56138);
0649     MC->SetBinContent(49,36.54252);
0650     MC->SetBinContent(50,42.8781);
0651     MC->SetBinContent(51,51.15874);
0652     MC->SetBinContent(52,60.37912);
0653     MC->SetBinContent(53,73.06684);
0654     MC->SetBinContent(54,87.83501);
0655     MC->SetBinContent(55,104.8562);
0656     MC->SetBinContent(56,124.9705);
0657     MC->SetBinContent(57,148.913);
0658     MC->SetBinContent(58,171.0605);
0659     MC->SetBinContent(59,192.5849);
0660     MC->SetBinContent(60,211.8324);
0661     MC->SetBinContent(61,218.228);
0662     MC->SetBinContent(62,214.9052);
0663     MC->SetBinContent(63,197.607);
0664     MC->SetBinContent(64,172.9628);
0665     MC->SetBinContent(65,142.3322);
0666     MC->SetBinContent(66,112.812);
0667     MC->SetBinContent(67,87.10968);
0668     MC->SetBinContent(68,67.14964);
0669     MC->SetBinContent(69,51.16143);
0670     MC->SetBinContent(70,40.2569);
0671     MC->SetBinContent(71,32.02398);
0672     MC->SetBinContent(72,26.02858);
0673     MC->SetBinContent(73,21.26041);
0674     MC->SetBinContent(74,17.6903);
0675     MC->SetBinContent(75,15.09852);
0676     MC->SetBinContent(76,13.21367);
0677     MC->SetBinContent(77,11.11479);
0678     MC->SetBinContent(78,9.943831);
0679     MC->SetBinContent(79,9.016449);
0680     MC->SetBinContent(80,7.87523);
0681     MC->SetBinContent(81,6.992472);
0682     MC->SetBinContent(82,6.371664);
0683     MC->SetBinContent(83,5.957194);
0684     MC->SetBinContent(84,5.339604);
0685     MC->SetBinContent(85,4.837267);
0686     MC->SetBinContent(86,4.548114);
0687     MC->SetBinContent(87,4.123032);
0688     MC->SetBinContent(88,3.747495);
0689     MC->SetBinContent(89,3.508003);
0690     MC->SetBinContent(90,3.389916);
0691     MC->SetBinContent(91,3.032921);
0692     MC->SetBinContent(92,2.838908);
0693     MC->SetBinContent(93,2.708341);
0694     MC->SetBinContent(94,2.681675);
0695     MC->SetBinContent(95,2.335685);
0696     MC->SetBinContent(96,2.22918);
0697     MC->SetBinContent(97,2.106522);
0698     MC->SetBinContent(98,2.079525);
0699     MC->SetBinContent(99,1.921254);
0700     MC->SetBinContent(100,1.790628);
0701     MC->SetBinContent(101,1.660454);
0702     MC->SetBinContent(102,1.715765);
0703     MC->SetBinContent(103,1.540322);
0704     MC->SetBinContent(104,1.558628);
0705     MC->SetBinContent(105,1.451037);
0706     MC->SetBinContent(106,1.407513);
0707     MC->SetBinContent(107,1.322927);
0708     MC->SetBinContent(108,1.250129);
0709     MC->SetBinContent(109,1.274758);
0710     MC->SetBinContent(110,1.173186);
0711     MC->SetBinContent(111,0.9996648);
0712     MC->SetBinContent(112,1.07611);
0713     MC->SetBinContent(113,0.9936642);
0714     MC->SetBinContent(114,1.022925);
0715     MC->SetBinContent(115,0.8819284);
0716     MC->SetBinContent(116,0.9299376);
0717     MC->SetBinContent(117,0.8840181);
0718     MC->SetBinContent(118,0.7572833);
0719     MC->SetBinContent(119,0.7610433);
0720     MC->SetBinContent(120,0.7861103);
0721     MC->SetBinContent(121,0.7184697);
0722     MC->SetBinContent(122,0.732923);
0723     MC->SetBinContent(123,0.639383);
0724     MC->SetBinContent(124,0.8288085);
0725     MC->SetBinContent(125,0.6780375);
0726     MC->SetBinContent(126,0.6198164);
0727     MC->SetBinContent(127,0.5977539);
0728     MC->SetBinContent(128,0.6426996);
0729     MC->SetBinContent(129,0.6282746);
0730     MC->SetBinContent(130,0.5271139);
0731     MC->SetBinContent(131,0.5323232);
0732     MC->SetBinContent(132,0.537492);
0733     MC->SetBinContent(133,0.5236189);
0734     MC->SetBinContent(134,0.5883251);
0735     MC->SetBinContent(135,0.5571715);
0736     MC->SetBinContent(136,0.4817962);
0737     MC->SetBinContent(137,0.4841206);
0738     MC->SetBinContent(138,0.4532265);
0739     MC->SetBinContent(139,0.472235);
0740     MC->SetBinContent(140,0.4449371);
0741     MC->SetBinContent(141,0.4402066);
0742     MC->SetBinContent(142,0.3835311);
0743     MC->SetBinContent(143,0.3970084);
0744     MC->SetBinContent(144,0.4429277);
0745     MC->SetBinContent(145,0.3473529);
0746     MC->SetBinContent(146,0.3700321);
0747     MC->SetBinContent(147,0.3938566);
0748     MC->SetBinContent(148,0.3819585);
0749     MC->SetBinContent(149,0.3705138);
0750     MC->SetBinContent(150,0.2973857);
0751     MC->SetBinContent(151,0.3544628);
0752     MC->SetBinContent(152,0.3436972);
0753     MC->SetBinContent(153,0.3251652);
0754     MC->SetBinContent(154,0.3275768);
0755     MC->SetBinContent(155,0.3010939);
0756     MC->SetBinContent(156,0.3327085);
0757     MC->SetBinContent(157,0.3011292);
0758     MC->SetBinContent(158,0.2980546);
0759     MC->SetBinContent(159,0.257421);
0760     MC->SetBinContent(160,0.2675258);
0761     MC->SetBinContent(161,0.2721419);
0762     MC->SetBinContent(162,0.302893);
0763     MC->SetBinContent(163,0.241898);
0764     MC->SetBinContent(164,0.2493924);
0765     MC->SetBinContent(165,0.2808262);
0766     MC->SetBinContent(166,0.2810428);
0767     MC->SetBinContent(167,0.2567939);
0768     MC->SetBinContent(168,0.1931559);
0769     MC->SetBinContent(169,0.1963546);
0770     MC->SetBinContent(170,0.2388422);
0771     MC->SetBinContent(171,0.1951117);
0772     MC->SetBinContent(172,0.2489344);
0773     MC->SetBinContent(173,0.2419239);
0774     MC->SetBinContent(174,0.1935361);
0775     MC->SetBinContent(175,0.2181178);
0776     MC->SetBinContent(176,0.2036446);
0777     MC->SetBinContent(177,0.1739222);
0778     MC->SetBinContent(178,0.1905562);
0779     MC->SetBinContent(179,0.2042533);
0780     MC->SetBinContent(180,0.1749215);
0781     MC->SetBinContent(181,0.1951966);
0782     MC->SetBinContent(182,0.2131252);
0783     MC->SetBinContent(183,0.172754);
0784     MC->SetBinContent(184,0.15562);
0785     MC->SetBinContent(185,0.1783805);
0786     MC->SetBinContent(186,0.1781475);
0787     MC->SetBinContent(187,0.1901828);
0788     MC->SetBinContent(188,0.1731075);
0789     MC->SetBinContent(189,0.180163);
0790     MC->SetBinContent(190,0.1797243);
0791     MC->SetBinContent(191,0.1650029);
0792     MC->SetBinContent(192,0.1731896);
0793     MC->SetBinContent(193,0.1587219);
0794     MC->SetBinContent(194,0.1712611);
0795     MC->SetBinContent(195,0.1691088);
0796     MC->SetBinContent(196,0.1953758);
0797     MC->SetBinContent(197,0.1419579);
0798     MC->SetBinContent(198,0.1128775);
0799     MC->SetBinContent(199,0.1544635);
0800     MC->SetBinContent(200,0.1248804);
0801     MC->SetBinContent(201,0.1022955);
0802     MC->SetBinContent(202,0.1495472);
0803     MC->SetBinContent(203,0.09052265);
0804     MC->SetBinContent(204,0.1133839);
0805     MC->SetBinContent(205,0.1142873);
0806     MC->SetBinContent(206,0.1261175);
0807     MC->SetBinContent(207,0.1160542);
0808     MC->SetBinContent(208,0.1075525);
0809     MC->SetBinContent(209,0.1047363);
0810     MC->SetBinContent(210,0.09454329);
0811     MC->SetBinContent(211,0.1169421);
0812     MC->SetBinContent(212,0.1199672);
0813     MC->SetBinContent(213,0.1061691);
0814     MC->SetBinContent(214,0.09668645);
0815     MC->SetBinContent(215,0.117301);
0816     MC->SetBinContent(216,0.1080876);
0817     MC->SetBinContent(217,0.1137066);
0818     MC->SetBinContent(218,0.1136042);
0819     MC->SetBinContent(219,0.09499031);
0820     MC->SetBinContent(220,0.09700999);
0821     MC->SetBinContent(221,0.113088);
0822     MC->SetBinContent(222,0.1189867);
0823     MC->SetBinContent(223,0.09731156);
0824     MC->SetBinContent(224,0.0925451);
0825     MC->SetBinContent(225,0.1055617);
0826     MC->SetBinContent(226,0.09790906);
0827     MC->SetBinContent(227,0.08512302);
0828     MC->SetBinContent(228,0.09534961);
0829     MC->SetBinContent(229,0.08312411);
0830     MC->SetBinContent(230,0.1041391);
0831     MC->SetBinContent(231,0.0780392);
0832     MC->SetBinContent(232,0.1002699);
0833     MC->SetBinContent(233,0.06235506);
0834     MC->SetBinContent(234,0.08347017);
0835     MC->SetBinContent(235,0.07672218);
0836     MC->SetBinContent(236,0.06017157);
0837     MC->SetBinContent(237,0.08186953);
0838     MC->SetBinContent(238,0.09644409);
0839     MC->SetBinContent(239,0.07987916);
0840     MC->SetBinContent(240,0.1057026);
0841     MC->SetBinContent(241,8.082022);
0842     MC->SetBinError(21,0.07499758);
0843     MC->SetBinError(22,0.07975426);
0844     MC->SetBinError(23,0.08258613);
0845     MC->SetBinError(24,0.08597219);
0846     MC->SetBinError(25,0.08653207);
0847     MC->SetBinError(26,0.09253466);
0848     MC->SetBinError(27,0.09896021);
0849     MC->SetBinError(28,0.09761657);
0850     MC->SetBinError(29,0.1028011);
0851     MC->SetBinError(30,0.1055876);
0852     MC->SetBinError(31,0.1091749);
0853     MC->SetBinError(32,0.1112267);
0854     MC->SetBinError(33,0.1136368);
0855     MC->SetBinError(34,0.1187212);
0856     MC->SetBinError(35,0.1248241);
0857     MC->SetBinError(36,0.1300939);
0858     MC->SetBinError(37,0.1377076);
0859     MC->SetBinError(38,0.1401456);
0860     MC->SetBinError(39,0.148987);
0861     MC->SetBinError(40,0.1592608);
0862     MC->SetBinError(41,0.1661846);
0863     MC->SetBinError(42,0.1739485);
0864     MC->SetBinError(43,0.1831642);
0865     MC->SetBinError(44,0.1969301);
0866     MC->SetBinError(45,0.211942);
0867     MC->SetBinError(46,0.2239982);
0868     MC->SetBinError(47,0.2418024);
0869     MC->SetBinError(48,0.2614382);
0870     MC->SetBinError(49,0.2863933);
0871     MC->SetBinError(50,0.3100227);
0872     MC->SetBinError(51,0.3391909);
0873     MC->SetBinError(52,0.3676681);
0874     MC->SetBinError(53,0.4049677);
0875     MC->SetBinError(54,0.4438981);
0876     MC->SetBinError(55,0.4855612);
0877     MC->SetBinError(56,0.5303587);
0878     MC->SetBinError(57,0.5797081);
0879     MC->SetBinError(58,0.621967);
0880     MC->SetBinError(59,0.6604186);
0881     MC->SetBinError(60,0.6920971);
0882     MC->SetBinError(61,0.7041678);
0883     MC->SetBinError(62,0.6988015);
0884     MC->SetBinError(63,0.6679961);
0885     MC->SetBinError(64,0.6272377);
0886     MC->SetBinError(65,0.5678598);
0887     MC->SetBinError(66,0.5047824);
0888     MC->SetBinError(67,0.4437653);
0889     MC->SetBinError(68,0.3889111);
0890     MC->SetBinError(69,0.3400017);
0891     MC->SetBinError(70,0.3014972);
0892     MC->SetBinError(71,0.2692599);
0893     MC->SetBinError(72,0.242667);
0894     MC->SetBinError(73,0.2193308);
0895     MC->SetBinError(74,0.2009194);
0896     MC->SetBinError(75,0.1849582);
0897     MC->SetBinError(76,0.1728248);
0898     MC->SetBinError(77,0.158502);
0899     MC->SetBinError(78,0.1500368);
0900     MC->SetBinError(79,0.1430364);
0901     MC->SetBinError(80,0.1336112);
0902     MC->SetBinError(81,0.1262221);
0903     MC->SetBinError(82,0.1205633);
0904     MC->SetBinError(83,0.1170789);
0905     MC->SetBinError(84,0.1098356);
0906     MC->SetBinError(85,0.1049577);
0907     MC->SetBinError(86,0.1015811);
0908     MC->SetBinError(87,0.09645751);
0909     MC->SetBinError(88,0.09245845);
0910     MC->SetBinError(89,0.08939358);
0911     MC->SetBinError(90,0.08992372);
0912     MC->SetBinError(91,0.08293506);
0913     MC->SetBinError(92,0.07991636);
0914     MC->SetBinError(93,0.07838878);
0915     MC->SetBinError(94,0.07811885);
0916     MC->SetBinError(95,0.07243551);
0917     MC->SetBinError(96,0.07111594);
0918     MC->SetBinError(97,0.0694184);
0919     MC->SetBinError(98,0.06905839);
0920     MC->SetBinError(99,0.06619629);
0921     MC->SetBinError(100,0.06344178);
0922     MC->SetBinError(101,0.06091386);
0923     MC->SetBinError(102,0.06260394);
0924     MC->SetBinError(103,0.05877481);
0925     MC->SetBinError(104,0.05927242);
0926     MC->SetBinError(105,0.05718642);
0927     MC->SetBinError(106,0.05700858);
0928     MC->SetBinError(107,0.05470319);
0929     MC->SetBinError(108,0.05342308);
0930     MC->SetBinError(109,0.05371619);
0931     MC->SetBinError(110,0.0514049);
0932     MC->SetBinError(111,0.04732427);
0933     MC->SetBinError(112,0.04933152);
0934     MC->SetBinError(113,0.04742761);
0935     MC->SetBinError(114,0.04865274);
0936     MC->SetBinError(115,0.04515665);
0937     MC->SetBinError(116,0.04615045);
0938     MC->SetBinError(117,0.04486902);
0939     MC->SetBinError(118,0.04174981);
0940     MC->SetBinError(119,0.04145029);
0941     MC->SetBinError(120,0.04203712);
0942     MC->SetBinError(121,0.04048758);
0943     MC->SetBinError(122,0.04114136);
0944     MC->SetBinError(123,0.03776056);
0945     MC->SetBinError(124,0.04442122);
0946     MC->SetBinError(125,0.03908552);
0947     MC->SetBinError(126,0.03764992);
0948     MC->SetBinError(127,0.03666497);
0949     MC->SetBinError(128,0.03839813);
0950     MC->SetBinError(129,0.03781416);
0951     MC->SetBinError(130,0.03458804);
0952     MC->SetBinError(131,0.03452138);
0953     MC->SetBinError(132,0.03476776);
0954     MC->SetBinError(133,0.03505068);
0955     MC->SetBinError(134,0.03673144);
0956     MC->SetBinError(135,0.03589142);
0957     MC->SetBinError(136,0.03305653);
0958     MC->SetBinError(137,0.0329975);
0959     MC->SetBinError(138,0.03205379);
0960     MC->SetBinError(139,0.03497298);
0961     MC->SetBinError(140,0.03189046);
0962     MC->SetBinError(141,0.03178003);
0963     MC->SetBinError(142,0.02944802);
0964     MC->SetBinError(143,0.03030576);
0965     MC->SetBinError(144,0.03159937);
0966     MC->SetBinError(145,0.02837383);
0967     MC->SetBinError(146,0.0290936);
0968     MC->SetBinError(147,0.02984798);
0969     MC->SetBinError(148,0.02922479);
0970     MC->SetBinError(149,0.02928521);
0971     MC->SetBinError(150,0.02612744);
0972     MC->SetBinError(151,0.02850946);
0973     MC->SetBinError(152,0.02787914);
0974     MC->SetBinError(153,0.02704389);
0975     MC->SetBinError(154,0.02733328);
0976     MC->SetBinError(155,0.02622695);
0977     MC->SetBinError(156,0.02692518);
0978     MC->SetBinError(157,0.02641073);
0979     MC->SetBinError(158,0.02576072);
0980     MC->SetBinError(159,0.02431768);
0981     MC->SetBinError(160,0.02438445);
0982     MC->SetBinError(161,0.02515434);
0983     MC->SetBinError(162,0.02603239);
0984     MC->SetBinError(163,0.02374809);
0985     MC->SetBinError(164,0.02394486);
0986     MC->SetBinError(165,0.02546624);
0987     MC->SetBinError(166,0.02572701);
0988     MC->SetBinError(167,0.02465954);
0989     MC->SetBinError(168,0.02088384);
0990     MC->SetBinError(169,0.0210275);
0991     MC->SetBinError(170,0.02331978);
0992     MC->SetBinError(171,0.02079927);
0993     MC->SetBinError(172,0.02413499);
0994     MC->SetBinError(173,0.0233672);
0995     MC->SetBinError(174,0.02102777);
0996     MC->SetBinError(175,0.02218597);
0997     MC->SetBinError(176,0.0222571);
0998     MC->SetBinError(177,0.01970052);
0999     MC->SetBinError(178,0.02100751);
1000     MC->SetBinError(179,0.02120325);
1001     MC->SetBinError(180,0.0198214);
1002     MC->SetBinError(181,0.02155753);
1003     MC->SetBinError(182,0.02265039);
1004     MC->SetBinError(183,0.01975507);
1005     MC->SetBinError(184,0.01857797);
1006     MC->SetBinError(185,0.02065685);
1007     MC->SetBinError(186,0.02106417);
1008     MC->SetBinError(187,0.02150799);
1009     MC->SetBinError(188,0.02000703);
1010     MC->SetBinError(189,0.02033894);
1011     MC->SetBinError(190,0.02031083);
1012     MC->SetBinError(191,0.0192057);
1013     MC->SetBinError(192,0.01993603);
1014     MC->SetBinError(193,0.02012192);
1015     MC->SetBinError(194,0.02032338);
1016     MC->SetBinError(195,0.02006139);
1017     MC->SetBinError(196,0.02095753);
1018     MC->SetBinError(197,0.01789467);
1019     MC->SetBinError(198,0.01662781);
1020     MC->SetBinError(199,0.01943147);
1021     MC->SetBinError(200,0.0166363);
1022     MC->SetBinError(201,0.01524676);
1023     MC->SetBinError(202,0.01858161);
1024     MC->SetBinError(203,0.01419865);
1025     MC->SetBinError(204,0.01673306);
1026     MC->SetBinError(205,0.01597522);
1027     MC->SetBinError(206,0.01753741);
1028     MC->SetBinError(207,0.01711569);
1029     MC->SetBinError(208,0.015721);
1030     MC->SetBinError(209,0.01540359);
1031     MC->SetBinError(210,0.01473768);
1032     MC->SetBinError(211,0.01677805);
1033     MC->SetBinError(212,0.01625151);
1034     MC->SetBinError(213,0.01539613);
1035     MC->SetBinError(214,0.01466567);
1036     MC->SetBinError(215,0.01660529);
1037     MC->SetBinError(216,0.01614669);
1038     MC->SetBinError(217,0.01603412);
1039     MC->SetBinError(218,0.01651786);
1040     MC->SetBinError(219,0.01476223);
1041     MC->SetBinError(220,0.01470169);
1042     MC->SetBinError(221,0.01598226);
1043     MC->SetBinError(222,0.01689113);
1044     MC->SetBinError(223,0.01542589);
1045     MC->SetBinError(224,0.01459397);
1046     MC->SetBinError(225,0.01585918);
1047     MC->SetBinError(226,0.01482637);
1048     MC->SetBinError(227,0.01394004);
1049     MC->SetBinError(228,0.01475602);
1050     MC->SetBinError(229,0.01405747);
1051     MC->SetBinError(230,0.0157155);
1052     MC->SetBinError(231,0.01348647);
1053     MC->SetBinError(232,0.01491718);
1054     MC->SetBinError(233,0.01238832);
1055     MC->SetBinError(234,0.0138451);
1056     MC->SetBinError(235,0.01305926);
1057     MC->SetBinError(236,0.01144506);
1058     MC->SetBinError(237,0.01415195);
1059     MC->SetBinError(238,0.01459369);
1060     MC->SetBinError(239,0.01374486);
1061     MC->SetBinError(240,0.0155292);
1062     MC->SetBinError(241,0.1383671);
1063     MC->SetEntries(1446588);
1064     MC->SetDirectory(0);
1065 
1066     MC->SetLineColor(histLineColor);
1067     MC->SetFillColor(histFillColor);
1068 
1069     MC->Draw("histsame");
1070 
1071     data->SetMarkerSize(markerSize);
1072     data->Draw("esamex0");
1073   }
1074 
1075   // writing the lumi information and the CMS "logo"
1076   {
1077     CMS_lumi_v2( canv, iPeriod, iPos );
1078   }
1079 
1080   canv->Update();
1081   canv->RedrawAxis();
1082   canv->GetFrame()->Draw();
1083 
1084   canv->Print(canvName+".pdf",".pdf");
1085   canv->Print(canvName+".png",".png");
1086 
1087   return canv;
1088 }
1089