void hRates() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:44:12 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,1500,800); gStyle->SetOptStat(0); c->Range(0,0,1,1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); // ------------>Primitives in pad: c_1 TPad *c_1 = new TPad("c_1", "c_1",0.01,0.51,0.3233333,0.99); c_1->Draw(); c_1->cd(); c_1->Range(-7.500001,-1149.183,67.5,10342.65); c_1->SetFillColor(0); c_1->SetBorderMode(0); c_1->SetBorderSize(2); c_1->SetFrameBorderMode(0); c_1->SetFrameBorderMode(0); TH1D *h_SL1L172 = new TH1D("h_SL1L172","Occupancy removing noisy cells",60,0,60); h_SL1L172->SetBinContent(1,3057.827); h_SL1L172->SetBinContent(2,3777.316); h_SL1L172->SetBinContent(3,4719.979); h_SL1L172->SetBinContent(4,5426.144); h_SL1L172->SetBinContent(5,5815.867); h_SL1L172->SetBinContent(6,6432.096); h_SL1L172->SetBinContent(7,6245.562); h_SL1L172->SetBinContent(8,6558.672); h_SL1L172->SetBinContent(9,6645.278); h_SL1L172->SetBinContent(10,6668.594); h_SL1L172->SetBinContent(11,6818.488); h_SL1L172->SetBinContent(12,6845.136); h_SL1L172->SetBinContent(13,7368.097); h_SL1L172->SetBinContent(14,7035); h_SL1L172->SetBinContent(15,6548.68); h_SL1L172->SetBinContent(16,6738.545); h_SL1L172->SetBinContent(17,6778.516); h_SL1L172->SetBinContent(18,7128.268); h_SL1L172->SetBinContent(19,6675.256); h_SL1L172->SetBinContent(20,7068.311); h_SL1L172->SetBinContent(21,6875.114); h_SL1L172->SetBinContent(22,7008.353); h_SL1L172->SetBinContent(23,6811.826); h_SL1L172->SetBinContent(24,6955.058); h_SL1L172->SetBinContent(25,7381.421); h_SL1L172->SetBinContent(26,7284.823); h_SL1L172->SetBinContent(27,6668.594); h_SL1L172->SetBinContent(28,7008.353); h_SL1L172->SetBinContent(29,7271.5); h_SL1L172->SetBinContent(30,7594.603); h_SL1L172->SetBinContent(31,6928.41); h_SL1L172->SetBinContent(32,7358.104); h_SL1L172->SetBinContent(40,3.330966); h_SL1L172->SetBinContent(54,3.330966); h_SL1L172->SetMaximum(9193.467); h_SL1L172->SetEntries(60); h_SL1L172->SetDirectory(0); h_SL1L172->SetStats(0); h_SL1L172->SetLineWidth(2); h_SL1L172->GetXaxis()->SetTitle("Cell"); h_SL1L172->GetXaxis()->SetLabelFont(42); h_SL1L172->GetXaxis()->SetLabelSize(0.035); h_SL1L172->GetXaxis()->SetTitleSize(0.035); h_SL1L172->GetXaxis()->SetTitleFont(42); h_SL1L172->GetYaxis()->SetTitle("Hz per wire"); h_SL1L172->GetYaxis()->SetLabelFont(42); h_SL1L172->GetYaxis()->SetLabelSize(0.035); h_SL1L172->GetYaxis()->SetTitleSize(0.035); h_SL1L172->GetYaxis()->SetTitleOffset(1.45); h_SL1L172->GetYaxis()->SetTitleFont(42); h_SL1L172->GetZaxis()->SetLabelFont(42); h_SL1L172->GetZaxis()->SetLabelSize(0.035); h_SL1L172->GetZaxis()->SetTitleSize(0.035); h_SL1L172->GetZaxis()->SetTitleFont(42); h_SL1L172->Draw("hist, "); TH1D *h_SL1L273 = new TH1D("h_SL1L273","Occupancy removing noisy cells",60,0,60); h_SL1L273->SetBinContent(1,3031.179); h_SL1L273->SetBinContent(2,3147.763); h_SL1L273->SetBinContent(3,4463.495); h_SL1L273->SetBinContent(4,5246.272); h_SL1L273->SetBinContent(5,5879.155); h_SL1L273->SetBinContent(6,6378.8); h_SL1L273->SetBinContent(7,6328.836); h_SL1L273->SetBinContent(8,6448.75); h_SL1L273->SetBinContent(9,6815.157); h_SL1L273->SetBinContent(10,6831.812); h_SL1L273->SetBinContent(11,6685.249); h_SL1L273->SetBinContent(12,6878.445); h_SL1L273->SetBinContent(13,7591.272); h_SL1L273->SetBinContent(14,7454.703); h_SL1L273->SetBinContent(15,6835.143); h_SL1L273->SetBinContent(16,6721.89); h_SL1L273->SetBinContent(17,7041.663); h_SL1L273->SetBinContent(18,7134.93); h_SL1L273->SetBinContent(19,6911.755); h_SL1L273->SetBinContent(20,6948.396); h_SL1L273->SetBinContent(21,6971.712); h_SL1L273->SetBinContent(22,7381.421); h_SL1L273->SetBinContent(23,6658.602); h_SL1L273->SetBinContent(24,7138.261); h_SL1L273->SetBinContent(25,7424.724); h_SL1L273->SetBinContent(26,7611.258); h_SL1L273->SetBinContent(27,6745.207); h_SL1L273->SetBinContent(28,7521.322); h_SL1L273->SetBinContent(29,7314.802); h_SL1L273->SetBinContent(30,7817.778); h_SL1L273->SetBinContent(31,7154.916); h_SL1L273->SetBinContent(32,7394.745); h_SL1L273->SetBinContent(40,3.330966); h_SL1L273->SetBinContent(55,3.330966); h_SL1L273->SetMaximum(9193.467); h_SL1L273->SetEntries(60); h_SL1L273->SetDirectory(0); h_SL1L273->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L273->SetLineColor(ci); h_SL1L273->SetLineWidth(2); h_SL1L273->GetXaxis()->SetTitle("Cell"); h_SL1L273->GetXaxis()->SetLabelFont(42); h_SL1L273->GetXaxis()->SetLabelSize(0.035); h_SL1L273->GetXaxis()->SetTitleSize(0.035); h_SL1L273->GetXaxis()->SetTitleFont(42); h_SL1L273->GetYaxis()->SetTitle("Hz per wire"); h_SL1L273->GetYaxis()->SetLabelFont(42); h_SL1L273->GetYaxis()->SetLabelSize(0.035); h_SL1L273->GetYaxis()->SetTitleSize(0.035); h_SL1L273->GetYaxis()->SetTitleOffset(1.45); h_SL1L273->GetYaxis()->SetTitleFont(42); h_SL1L273->GetZaxis()->SetLabelFont(42); h_SL1L273->GetZaxis()->SetLabelSize(0.035); h_SL1L273->GetZaxis()->SetTitleSize(0.035); h_SL1L273->GetZaxis()->SetTitleFont(42); h_SL1L273->Draw("hist, same"); TH1D *h_SL1L374 = new TH1D("h_SL1L374","Occupancy removing noisy cells",60,0,60); h_SL1L374->SetBinContent(1,3047.834); h_SL1L374->SetBinContent(2,3793.97); h_SL1L374->SetBinContent(3,4846.556); h_SL1L374->SetBinContent(4,5932.451); h_SL1L374->SetBinContent(5,6252.224); h_SL1L374->SetBinContent(6,6422.103); h_SL1L374->SetBinContent(7,6575.327); h_SL1L374->SetBinContent(8,6851.797); h_SL1L374->SetBinContent(9,7078.303); h_SL1L374->SetBinContent(10,6542.018); h_SL1L374->SetBinContent(11,6745.207); h_SL1L374->SetBinContent(12,7441.378); h_SL1L374->SetBinContent(13,7677.877); h_SL1L374->SetBinContent(14,6881.776); h_SL1L374->SetBinContent(15,6765.192); h_SL1L374->SetBinContent(16,7041.663); h_SL1L374->SetBinContent(17,7194.887); h_SL1L374->SetBinContent(18,7234.859); h_SL1L374->SetBinContent(19,6911.755); h_SL1L374->SetBinContent(20,7251.514); h_SL1L374->SetBinContent(21,7454.703); h_SL1L374->SetBinContent(22,6778.516); h_SL1L374->SetBinContent(23,6871.783); h_SL1L374->SetBinContent(24,7484.681); h_SL1L374->SetBinContent(25,7541.308); h_SL1L374->SetBinContent(26,7058.317); h_SL1L374->SetBinContent(27,6855.128); h_SL1L374->SetBinContent(28,7214.873); h_SL1L374->SetBinContent(29,7691.201); h_SL1L374->SetBinContent(30,7451.372); h_SL1L374->SetBinContent(31,7211.542); h_SL1L374->SetBinContent(32,7994.319); h_SL1L374->SetBinContent(40,3.330966); h_SL1L374->SetBinContent(54,3.330966); h_SL1L374->SetMaximum(9193.467); h_SL1L374->SetEntries(60); h_SL1L374->SetDirectory(0); h_SL1L374->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L374->SetLineColor(ci); h_SL1L374->SetLineWidth(2); h_SL1L374->GetXaxis()->SetTitle("Cell"); h_SL1L374->GetXaxis()->SetLabelFont(42); h_SL1L374->GetXaxis()->SetLabelSize(0.035); h_SL1L374->GetXaxis()->SetTitleSize(0.035); h_SL1L374->GetXaxis()->SetTitleFont(42); h_SL1L374->GetYaxis()->SetTitle("Hz per wire"); h_SL1L374->GetYaxis()->SetLabelFont(42); h_SL1L374->GetYaxis()->SetLabelSize(0.035); h_SL1L374->GetYaxis()->SetTitleSize(0.035); h_SL1L374->GetYaxis()->SetTitleOffset(1.45); h_SL1L374->GetYaxis()->SetTitleFont(42); h_SL1L374->GetZaxis()->SetLabelFont(42); h_SL1L374->GetZaxis()->SetLabelSize(0.035); h_SL1L374->GetZaxis()->SetTitleSize(0.035); h_SL1L374->GetZaxis()->SetTitleFont(42); h_SL1L374->Draw("hist, same"); TH1D *h_SL1L475 = new TH1D("h_SL1L475","Occupancy removing noisy cells",60,0,60); h_SL1L475->SetBinContent(2,3181.073); h_SL1L475->SetBinContent(3,4433.516); h_SL1L475->SetBinContent(4,5476.108); h_SL1L475->SetBinContent(5,6022.387); h_SL1L475->SetBinContent(6,6595.313); h_SL1L475->SetBinContent(7,6322.174); h_SL1L475->SetBinContent(8,6788.509); h_SL1L475->SetBinContent(9,7111.613); h_SL1L475->SetBinContent(10,6825.15); h_SL1L475->SetBinContent(11,6505.377); h_SL1L475->SetBinContent(12,7248.183); h_SL1L475->SetBinContent(13,7677.877); h_SL1L475->SetBinContent(14,7371.428); h_SL1L475->SetBinContent(15,6731.883); h_SL1L475->SetBinContent(16,7071.641); h_SL1L475->SetBinContent(17,7258.175); h_SL1L475->SetBinContent(18,7221.535); h_SL1L475->SetBinContent(19,6788.509); h_SL1L475->SetBinContent(20,7161.578); h_SL1L475->SetBinContent(21,7438.047); h_SL1L475->SetBinContent(22,7374.759); h_SL1L475->SetBinContent(23,6545.349); h_SL1L475->SetBinContent(24,7344.781); h_SL1L475->SetBinContent(25,7597.934); h_SL1L475->SetBinContent(26,7507.998); h_SL1L475->SetBinContent(27,6728.552); h_SL1L475->SetBinContent(28,7208.211); h_SL1L475->SetBinContent(29,7481.35); h_SL1L475->SetBinContent(30,7927.7); h_SL1L475->SetBinContent(31,7121.606); h_SL1L475->SetBinContent(32,7697.863); h_SL1L475->SetMaximum(9193.467); h_SL1L475->SetEntries(60); h_SL1L475->SetDirectory(0); h_SL1L475->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L475->SetLineColor(ci); h_SL1L475->SetLineWidth(2); h_SL1L475->GetXaxis()->SetTitle("Cell"); h_SL1L475->GetXaxis()->SetLabelFont(42); h_SL1L475->GetXaxis()->SetLabelSize(0.035); h_SL1L475->GetXaxis()->SetTitleSize(0.035); h_SL1L475->GetXaxis()->SetTitleFont(42); h_SL1L475->GetYaxis()->SetTitle("Hz per wire"); h_SL1L475->GetYaxis()->SetLabelFont(42); h_SL1L475->GetYaxis()->SetLabelSize(0.035); h_SL1L475->GetYaxis()->SetTitleSize(0.035); h_SL1L475->GetYaxis()->SetTitleOffset(1.45); h_SL1L475->GetYaxis()->SetTitleFont(42); h_SL1L475->GetZaxis()->SetLabelFont(42); h_SL1L475->GetZaxis()->SetLabelSize(0.035); h_SL1L475->GetZaxis()->SetTitleSize(0.035); h_SL1L475->GetZaxis()->SetTitleFont(42); h_SL1L475->Draw("hist, same"); TPaveText *pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_1->Modified(); c->cd(); // ------------>Primitives in pad: c_2 TPad *c_2 = new TPad("c_2", "c_2",0.3433333,0.51,0.6566667,0.99); c_2->Draw(); c_2->cd(); c_2->Range(-7.500001,-1415.89,67.5,12743.01); c_2->SetFillColor(0); c_2->SetBorderMode(0); c_2->SetBorderSize(2); c_2->SetFrameBorderMode(0); c_2->SetFrameBorderMode(0); TH1D *h_SL2L176 = new TH1D("h_SL2L176","Occupancy removing noisy cells",60,0,60); h_SL2L176->SetBinContent(1,4393.544); h_SL2L176->SetBinContent(2,5472.777); h_SL2L176->SetBinContent(3,6348.822); h_SL2L176->SetBinContent(4,7817.778); h_SL2L176->SetBinContent(5,8327.416); h_SL2L176->SetBinContent(6,8627.202); h_SL2L176->SetBinContent(7,8597.224); h_SL2L176->SetBinContent(8,8963.63); h_SL2L176->SetBinContent(9,9286.733); h_SL2L176->SetBinContent(10,8936.982); h_SL2L176->SetBinContent(11,9076.883); h_SL2L176->SetBinContent(12,8900.342); h_SL2L176->SetBinContent(13,8907.004); h_SL2L176->SetBinContent(14,8980.285); h_SL2L176->SetBinContent(15,9003.602); h_SL2L176->SetBinContent(16,9256.755); h_SL2L176->SetBinContent(17,8973.623); h_SL2L176->SetBinContent(18,9276.741); h_SL2L176->SetBinContent(19,9203.46); h_SL2L176->SetBinContent(20,9243.432); h_SL2L176->SetBinContent(21,8903.673); h_SL2L176->SetBinContent(22,8817.067); h_SL2L176->SetBinContent(23,9093.538); h_SL2L176->SetBinContent(24,8707.146); h_SL2L176->SetBinContent(25,8860.37); h_SL2L176->SetBinContent(26,9086.876); h_SL2L176->SetBinContent(27,9036.911); h_SL2L176->SetBinContent(28,9200.129); h_SL2L176->SetBinContent(29,9146.833); h_SL2L176->SetBinContent(30,9040.242); h_SL2L176->SetBinContent(31,8647.188); h_SL2L176->SetBinContent(32,8660.513); h_SL2L176->SetBinContent(33,8623.871); h_SL2L176->SetBinContent(34,8593.893); h_SL2L176->SetBinContent(36,9849.667); h_SL2L176->SetBinContent(37,8953.638); h_SL2L176->SetBinContent(38,8970.292); h_SL2L176->SetBinContent(39,8647.188); h_SL2L176->SetBinContent(40,8070.931); h_SL2L176->SetBinContent(41,8533.936); h_SL2L176->SetBinContent(42,8627.202); h_SL2L176->SetBinContent(43,8853.708); h_SL2L176->SetBinContent(44,8620.541); h_SL2L176->SetBinContent(45,8960.299); h_SL2L176->SetBinContent(46,8597.224); h_SL2L176->SetBinContent(47,8430.676); h_SL2L176->SetBinContent(48,8500.626); h_SL2L176->SetBinContent(49,8274.12); h_SL2L176->SetBinContent(50,8677.167); h_SL2L176->SetBinContent(51,8653.851); h_SL2L176->SetBinContent(52,8510.619); h_SL2L176->SetBinContent(53,7801.123); h_SL2L176->SetBinContent(54,7378.09); h_SL2L176->SetBinContent(55,5905.803); h_SL2L176->SetBinContent(56,4550.1); h_SL2L176->SetBinContent(57,1975.263); h_SL2L176->SetMaximum(11327.12); h_SL2L176->SetEntries(60); h_SL2L176->SetDirectory(0); h_SL2L176->SetStats(0); h_SL2L176->SetLineWidth(2); h_SL2L176->GetXaxis()->SetTitle("Cell"); h_SL2L176->GetXaxis()->SetLabelFont(42); h_SL2L176->GetXaxis()->SetLabelSize(0.035); h_SL2L176->GetXaxis()->SetTitleSize(0.035); h_SL2L176->GetXaxis()->SetTitleFont(42); h_SL2L176->GetYaxis()->SetTitle("Hz per wire"); h_SL2L176->GetYaxis()->SetLabelFont(42); h_SL2L176->GetYaxis()->SetLabelSize(0.035); h_SL2L176->GetYaxis()->SetTitleSize(0.035); h_SL2L176->GetYaxis()->SetTitleOffset(1.45); h_SL2L176->GetYaxis()->SetTitleFont(42); h_SL2L176->GetZaxis()->SetLabelFont(42); h_SL2L176->GetZaxis()->SetLabelSize(0.035); h_SL2L176->GetZaxis()->SetTitleSize(0.035); h_SL2L176->GetZaxis()->SetTitleFont(42); h_SL2L176->Draw("hist, "); TH1D *h_SL2L277 = new TH1D("h_SL2L277","Occupancy removing noisy cells",60,0,60); h_SL2L277->SetBinContent(1,1855.348); h_SL2L277->SetBinContent(2,5056.407); h_SL2L277->SetBinContent(3,6079.013); h_SL2L277->SetBinContent(4,7334.788); h_SL2L277->SetBinContent(5,8354.063); h_SL2L277->SetBinContent(6,8370.718); h_SL2L277->SetBinContent(7,8810.405); h_SL2L277->SetBinContent(8,8797.082); h_SL2L277->SetBinContent(9,9040.242); h_SL2L277->SetBinContent(10,8950.307); h_SL2L277->SetBinContent(11,8920.327); h_SL2L277->SetBinContent(12,8847.046); h_SL2L277->SetBinContent(13,9033.58); h_SL2L277->SetBinContent(14,8960.299); h_SL2L277->SetBinContent(15,8783.758); h_SL2L277->SetBinContent(16,9143.502); h_SL2L277->SetBinContent(17,8770.435); h_SL2L277->SetBinContent(18,9300.058); h_SL2L277->SetBinContent(19,9253.424); h_SL2L277->SetBinContent(20,8936.982); h_SL2L277->SetBinContent(21,9046.904); h_SL2L277->SetBinContent(22,8946.976); h_SL2L277->SetBinContent(23,8653.851); h_SL2L277->SetBinContent(24,8837.054); h_SL2L277->SetBinContent(25,8633.864); h_SL2L277->SetBinContent(26,9133.51); h_SL2L277->SetBinContent(27,9133.51); h_SL2L277->SetBinContent(28,8970.292); h_SL2L277->SetBinContent(29,9383.332); h_SL2L277->SetBinContent(30,8740.455); h_SL2L277->SetBinContent(31,8757.11); h_SL2L277->SetBinContent(32,8717.139); h_SL2L277->SetBinContent(33,8607.217); h_SL2L277->SetBinContent(34,8530.604); h_SL2L277->SetBinContent(35,7264.837); h_SL2L277->SetBinContent(36,7414.731); h_SL2L277->SetBinContent(37,9023.588); h_SL2L277->SetBinContent(38,8850.377); h_SL2L277->SetBinContent(39,8880.356); h_SL2L277->SetBinContent(40,8314.092); h_SL2L277->SetBinContent(41,8630.533); h_SL2L277->SetBinContent(42,8513.949); h_SL2L277->SetBinContent(43,8610.548); h_SL2L277->SetBinContent(44,8523.942); h_SL2L277->SetBinContent(45,8730.463); h_SL2L277->SetBinContent(46,8723.801); h_SL2L277->SetBinContent(47,8260.796); h_SL2L277->SetBinContent(48,8357.395); h_SL2L277->SetBinContent(49,8194.177); h_SL2L277->SetBinContent(50,8370.718); h_SL2L277->SetBinContent(51,8720.47); h_SL2L277->SetBinContent(52,8537.267); h_SL2L277->SetBinContent(53,8347.401); h_SL2L277->SetBinContent(54,7907.714); h_SL2L277->SetBinContent(55,7128.268); h_SL2L277->SetBinContent(56,5552.721); h_SL2L277->SetBinContent(57,3650.739); h_SL2L277->SetMaximum(11327.12); h_SL2L277->SetEntries(60); h_SL2L277->SetDirectory(0); h_SL2L277->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L277->SetLineColor(ci); h_SL2L277->SetLineWidth(2); h_SL2L277->GetXaxis()->SetTitle("Cell"); h_SL2L277->GetXaxis()->SetLabelFont(42); h_SL2L277->GetXaxis()->SetLabelSize(0.035); h_SL2L277->GetXaxis()->SetTitleSize(0.035); h_SL2L277->GetXaxis()->SetTitleFont(42); h_SL2L277->GetYaxis()->SetTitle("Hz per wire"); h_SL2L277->GetYaxis()->SetLabelFont(42); h_SL2L277->GetYaxis()->SetLabelSize(0.035); h_SL2L277->GetYaxis()->SetTitleSize(0.035); h_SL2L277->GetYaxis()->SetTitleOffset(1.45); h_SL2L277->GetYaxis()->SetTitleFont(42); h_SL2L277->GetZaxis()->SetLabelFont(42); h_SL2L277->GetZaxis()->SetLabelSize(0.035); h_SL2L277->GetZaxis()->SetTitleSize(0.035); h_SL2L277->GetZaxis()->SetTitleFont(42); h_SL2L277->Draw("hist, same"); TH1D *h_SL2L378 = new TH1D("h_SL2L378","Occupancy removing noisy cells",60,0,60); h_SL2L378->SetBinContent(1,2718.068); h_SL2L378->SetBinContent(2,5612.678); h_SL2L378->SetBinContent(3,7351.442); h_SL2L378->SetBinContent(4,7881.066); h_SL2L378->SetBinContent(5,8513.949); h_SL2L378->SetBinContent(6,8727.132); h_SL2L378->SetBinContent(7,8720.47); h_SL2L378->SetBinContent(8,8803.744); h_SL2L378->SetBinContent(9,8787.089); h_SL2L378->SetBinContent(10,8880.356); h_SL2L378->SetBinContent(11,9030.249); h_SL2L378->SetBinContent(12,8890.349); h_SL2L378->SetBinContent(13,9026.919); h_SL2L378->SetBinContent(14,8966.961); h_SL2L378->SetBinContent(15,8797.082); h_SL2L378->SetBinContent(16,8953.638); h_SL2L378->SetBinContent(17,8956.968); h_SL2L378->SetBinContent(18,8990.278); h_SL2L378->SetBinContent(19,8890.349); h_SL2L378->SetBinContent(20,9020.257); h_SL2L378->SetBinContent(21,8950.307); h_SL2L378->SetBinContent(22,8883.687); h_SL2L378->SetBinContent(23,8540.598); h_SL2L378->SetBinContent(24,8897.011); h_SL2L378->SetBinContent(25,8770.435); h_SL2L378->SetBinContent(26,9056.897); h_SL2L378->SetBinContent(27,8940.313); h_SL2L378->SetBinContent(28,9010.264); h_SL2L378->SetBinContent(29,8930.32); h_SL2L378->SetBinContent(30,8627.202); h_SL2L378->SetBinContent(31,8807.075); h_SL2L378->SetBinContent(32,8500.626); h_SL2L378->SetBinContent(33,8310.761); h_SL2L378->SetBinContent(34,7914.376); h_SL2L378->SetBinContent(35,7621.251); h_SL2L378->SetBinContent(36,8040.953); h_SL2L378->SetBinContent(37,8500.626); h_SL2L378->SetBinContent(38,8787.089); h_SL2L378->SetBinContent(39,8687.16); h_SL2L378->SetBinContent(40,8350.732); h_SL2L378->SetBinContent(41,8600.555); h_SL2L378->SetBinContent(42,8517.28); h_SL2L378->SetBinContent(43,8414.021); h_SL2L378->SetBinContent(44,8530.604); h_SL2L378->SetBinContent(45,8893.68); h_SL2L378->SetBinContent(46,8310.761); h_SL2L378->SetBinContent(47,8577.238); h_SL2L378->SetBinContent(48,8417.352); h_SL2L378->SetBinContent(49,8220.824); h_SL2L378->SetBinContent(50,8407.358); h_SL2L378->SetBinContent(51,8197.508); h_SL2L378->SetBinContent(52,8527.273); h_SL2L378->SetBinContent(53,8394.035); h_SL2L378->SetBinContent(54,7737.834); h_SL2L378->SetBinContent(55,6851.797); h_SL2L378->SetBinContent(56,4526.783); h_SL2L378->SetBinContent(57,2937.912); h_SL2L378->SetMaximum(11327.12); h_SL2L378->SetEntries(60); h_SL2L378->SetDirectory(0); h_SL2L378->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L378->SetLineColor(ci); h_SL2L378->SetLineWidth(2); h_SL2L378->GetXaxis()->SetTitle("Cell"); h_SL2L378->GetXaxis()->SetLabelFont(42); h_SL2L378->GetXaxis()->SetLabelSize(0.035); h_SL2L378->GetXaxis()->SetTitleSize(0.035); h_SL2L378->GetXaxis()->SetTitleFont(42); h_SL2L378->GetYaxis()->SetTitle("Hz per wire"); h_SL2L378->GetYaxis()->SetLabelFont(42); h_SL2L378->GetYaxis()->SetLabelSize(0.035); h_SL2L378->GetYaxis()->SetTitleSize(0.035); h_SL2L378->GetYaxis()->SetTitleOffset(1.45); h_SL2L378->GetYaxis()->SetTitleFont(42); h_SL2L378->GetZaxis()->SetLabelFont(42); h_SL2L378->GetZaxis()->SetLabelSize(0.035); h_SL2L378->GetZaxis()->SetTitleSize(0.035); h_SL2L378->GetZaxis()->SetTitleFont(42); h_SL2L378->Draw("hist, same"); TH1D *h_SL2L479 = new TH1D("h_SL2L479","Occupancy removing noisy cells",60,0,60); h_SL2L479->SetBinContent(2,3927.209); h_SL2L479->SetBinContent(3,6991.698); h_SL2L479->SetBinContent(4,8084.255); h_SL2L479->SetBinContent(5,8394.035); h_SL2L479->SetBinContent(6,8907.004); h_SL2L479->SetBinContent(7,8810.405); h_SL2L479->SetBinContent(8,8813.736); h_SL2L479->SetBinContent(9,8903.673); h_SL2L479->SetBinContent(10,8703.814); h_SL2L479->SetBinContent(11,8993.608); h_SL2L479->SetBinContent(12,9116.854); h_SL2L479->SetBinContent(13,8953.638); h_SL2L479->SetBinContent(14,9093.538); h_SL2L479->SetBinContent(15,9150.164); h_SL2L479->SetBinContent(16,8610.548); h_SL2L479->SetBinContent(17,8983.616); h_SL2L479->SetBinContent(18,8966.961); h_SL2L479->SetBinContent(19,9020.257); h_SL2L479->SetBinContent(20,9123.517); h_SL2L479->SetBinContent(21,8986.947); h_SL2L479->SetBinContent(22,8903.673); h_SL2L479->SetBinContent(23,8800.413); h_SL2L479->SetBinContent(24,9006.933); h_SL2L479->SetBinContent(25,8733.794); h_SL2L479->SetBinContent(26,9036.911); h_SL2L479->SetBinContent(27,9046.904); h_SL2L479->SetBinContent(28,9183.474); h_SL2L479->SetBinContent(29,9056.897); h_SL2L479->SetBinContent(30,8830.392); h_SL2L479->SetBinContent(31,8873.694); h_SL2L479->SetBinContent(32,8643.857); h_SL2L479->SetBinContent(33,8500.626); h_SL2L479->SetBinContent(34,7987.657); h_SL2L479->SetBinContent(35,8184.184); h_SL2L479->SetBinContent(36,8314.092); h_SL2L479->SetBinContent(37,8377.38); h_SL2L479->SetBinContent(38,8367.387); h_SL2L479->SetBinContent(39,8857.039); h_SL2L479->SetBinContent(40,8757.11); h_SL2L479->SetBinContent(41,8487.302); h_SL2L479->SetBinContent(42,8807.075); h_SL2L479->SetBinContent(43,8740.455); h_SL2L479->SetBinContent(44,8523.942); h_SL2L479->SetBinContent(45,8790.42); h_SL2L479->SetBinContent(46,8703.814); h_SL2L479->SetBinContent(47,8434.007); h_SL2L479->SetBinContent(48,8567.245); h_SL2L479->SetBinContent(49,8260.796); h_SL2L479->SetBinContent(50,8607.217); h_SL2L479->SetBinContent(51,8463.985); h_SL2L479->SetBinContent(52,8400.697); h_SL2L479->SetBinContent(53,8607.217); h_SL2L479->SetBinContent(54,8387.373); h_SL2L479->SetBinContent(55,7747.828); h_SL2L479->SetBinContent(56,5982.416); h_SL2L479->SetBinContent(57,2884.617); h_SL2L479->SetMaximum(11327.12); h_SL2L479->SetEntries(60); h_SL2L479->SetDirectory(0); h_SL2L479->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L479->SetLineColor(ci); h_SL2L479->SetLineWidth(2); h_SL2L479->GetXaxis()->SetTitle("Cell"); h_SL2L479->GetXaxis()->SetLabelFont(42); h_SL2L479->GetXaxis()->SetLabelSize(0.035); h_SL2L479->GetXaxis()->SetTitleSize(0.035); h_SL2L479->GetXaxis()->SetTitleFont(42); h_SL2L479->GetYaxis()->SetTitle("Hz per wire"); h_SL2L479->GetYaxis()->SetLabelFont(42); h_SL2L479->GetYaxis()->SetLabelSize(0.035); h_SL2L479->GetYaxis()->SetTitleSize(0.035); h_SL2L479->GetYaxis()->SetTitleOffset(1.45); h_SL2L479->GetYaxis()->SetTitleFont(42); h_SL2L479->GetZaxis()->SetLabelFont(42); h_SL2L479->GetZaxis()->SetLabelSize(0.035); h_SL2L479->GetZaxis()->SetTitleSize(0.035); h_SL2L479->GetZaxis()->SetTitleFont(42); h_SL2L479->Draw("hist, same"); pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_2->Modified(); c->cd(); // ------------>Primitives in pad: c_3 TPad *c_3 = new TPad("c_3", "c_3",0.6766667,0.51,0.99,0.99); c_3->Draw(); c_3->cd(); c_3->Range(-7.500001,-1255.004,67.5,11295.04); c_3->SetFillColor(0); c_3->SetBorderMode(0); c_3->SetBorderSize(2); c_3->SetFrameBorderMode(0); c_3->SetFrameBorderMode(0); TH1D *h_SL3L180 = new TH1D("h_SL3L180","Occupancy removing noisy cells",60,0,60); h_SL3L180->SetBinContent(1,2281.712); h_SL3L180->SetBinContent(2,3450.881); h_SL3L180->SetBinContent(4,6915.086); h_SL3L180->SetBinContent(5,6971.712); h_SL3L180->SetBinContent(6,7757.82); h_SL3L180->SetBinContent(7,7627.913); h_SL3L180->SetBinContent(8,7444.709); h_SL3L180->SetBinContent(9,7258.175); h_SL3L180->SetBinContent(10,8070.931); h_SL3L180->SetBinContent(11,8027.628); h_SL3L180->SetBinContent(12,7817.778); h_SL3L180->SetBinContent(13,7234.859); h_SL3L180->SetBinContent(14,8054.276); h_SL3L180->SetBinContent(15,7831.102); h_SL3L180->SetBinContent(16,7721.18); h_SL3L180->SetBinContent(17,7041.663); h_SL3L180->SetBinContent(18,8200.839); h_SL3L180->SetBinContent(19,8157.536); h_SL3L180->SetBinContent(20,7661.222); h_SL3L180->SetBinContent(21,7088.296); h_SL3L180->SetBinContent(22,8730.463); h_SL3L180->SetBinContent(23,8227.486); h_SL3L180->SetBinContent(24,7837.764); h_SL3L180->SetBinContent(25,7504.667); h_SL3L180->SetBinContent(26,8324.085); h_SL3L180->SetBinContent(27,8170.86); h_SL3L180->SetBinContent(28,7971.002); h_SL3L180->SetBinContent(29,7901.052); h_SL3L180->SetBinContent(30,8583.9); h_SL3L180->SetBinContent(31,8693.822); h_SL3L180->SetBinContent(32,8120.896); h_SL3L180->SetBinContent(56,3.330966); h_SL3L180->SetBinContent(57,3.330966); h_SL3L180->SetMaximum(10040.03); h_SL3L180->SetEntries(60); h_SL3L180->SetDirectory(0); h_SL3L180->SetStats(0); h_SL3L180->SetLineWidth(2); h_SL3L180->GetXaxis()->SetTitle("Cell"); h_SL3L180->GetXaxis()->SetLabelFont(42); h_SL3L180->GetXaxis()->SetLabelSize(0.035); h_SL3L180->GetXaxis()->SetTitleSize(0.035); h_SL3L180->GetXaxis()->SetTitleFont(42); h_SL3L180->GetYaxis()->SetTitle("Hz per wire"); h_SL3L180->GetYaxis()->SetLabelFont(42); h_SL3L180->GetYaxis()->SetLabelSize(0.035); h_SL3L180->GetYaxis()->SetTitleSize(0.035); h_SL3L180->GetYaxis()->SetTitleOffset(1.45); h_SL3L180->GetYaxis()->SetTitleFont(42); h_SL3L180->GetZaxis()->SetLabelFont(42); h_SL3L180->GetZaxis()->SetLabelSize(0.035); h_SL3L180->GetZaxis()->SetTitleSize(0.035); h_SL3L180->GetZaxis()->SetTitleFont(42); h_SL3L180->Draw("hist, "); TH1D *h_SL3L281 = new TH1D("h_SL3L281","Occupancy removing noisy cells",60,0,60); h_SL3L281->SetBinContent(1,536.2856); h_SL3L281->SetBinContent(2,5009.773); h_SL3L281->SetBinContent(3,3.330966); h_SL3L281->SetBinContent(4,3797.302); h_SL3L281->SetBinContent(5,6635.285); h_SL3L281->SetBinContent(6,7631.244); h_SL3L281->SetBinContent(7,7541.308); h_SL3L281->SetBinContent(8,7671.215); h_SL3L281->SetBinContent(9,7101.62); h_SL3L281->SetBinContent(10,8040.953); h_SL3L281->SetBinContent(11,8010.974); h_SL3L281->SetBinContent(12,7634.575); h_SL3L281->SetBinContent(13,7428.055); h_SL3L281->SetBinContent(14,8030.959); h_SL3L281->SetBinContent(15,7797.792); h_SL3L281->SetBinContent(16,7837.764); h_SL3L281->SetBinContent(17,7084.965); h_SL3L281->SetBinContent(18,7954.347); h_SL3L281->SetBinContent(19,7924.369); h_SL3L281->SetBinContent(20,7871.073); h_SL3L281->SetBinContent(21,7394.745); h_SL3L281->SetBinContent(22,7911.045); h_SL3L281->SetBinContent(23,8497.295); h_SL3L281->SetBinContent(24,8097.579); h_SL3L281->SetBinContent(25,7334.788); h_SL3L281->SetBinContent(26,8060.938); h_SL3L281->SetBinContent(27,8044.284); h_SL3L281->SetBinContent(28,8257.465); h_SL3L281->SetBinContent(29,7484.681); h_SL3L281->SetBinContent(30,8434.007); h_SL3L281->SetBinContent(31,8573.907); h_SL3L281->SetBinContent(32,8487.302); h_SL3L281->SetBinContent(49,3.330966); h_SL3L281->SetBinContent(58,3.330966); h_SL3L281->SetMaximum(10040.03); h_SL3L281->SetEntries(60); h_SL3L281->SetDirectory(0); h_SL3L281->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L281->SetLineColor(ci); h_SL3L281->SetLineWidth(2); h_SL3L281->GetXaxis()->SetTitle("Cell"); h_SL3L281->GetXaxis()->SetLabelFont(42); h_SL3L281->GetXaxis()->SetLabelSize(0.035); h_SL3L281->GetXaxis()->SetTitleSize(0.035); h_SL3L281->GetXaxis()->SetTitleFont(42); h_SL3L281->GetYaxis()->SetTitle("Hz per wire"); h_SL3L281->GetYaxis()->SetLabelFont(42); h_SL3L281->GetYaxis()->SetLabelSize(0.035); h_SL3L281->GetYaxis()->SetTitleSize(0.035); h_SL3L281->GetYaxis()->SetTitleOffset(1.45); h_SL3L281->GetYaxis()->SetTitleFont(42); h_SL3L281->GetZaxis()->SetLabelFont(42); h_SL3L281->GetZaxis()->SetLabelSize(0.035); h_SL3L281->GetZaxis()->SetTitleSize(0.035); h_SL3L281->GetZaxis()->SetTitleFont(42); h_SL3L281->Draw("hist, same"); TH1D *h_SL3L382 = new TH1D("h_SL3L382","Occupancy removing noisy cells",60,0,60); h_SL3L382->SetBinContent(1,2618.139); h_SL3L382->SetBinContent(2,3287.664); h_SL3L382->SetBinContent(3,1259.105); h_SL3L382->SetBinContent(4,6009.063); h_SL3L382->SetBinContent(5,7428.055); h_SL3L382->SetBinContent(6,7434.717); h_SL3L382->SetBinContent(7,7458.033); h_SL3L382->SetBinContent(8,7288.154); h_SL3L382->SetBinContent(9,7897.721); h_SL3L382->SetBinContent(10,7837.764); h_SL3L382->SetBinContent(11,7704.525); h_SL3L382->SetBinContent(12,7757.82); h_SL3L382->SetBinContent(13,8004.312); h_SL3L382->SetBinContent(14,7834.433); h_SL3L382->SetBinContent(15,7637.906); h_SL3L382->SetBinContent(16,7554.631); h_SL3L382->SetBinContent(17,7774.475); h_SL3L382->SetBinContent(18,7941.023); h_SL3L382->SetBinContent(19,7744.497); h_SL3L382->SetBinContent(20,7448.041); h_SL3L382->SetBinContent(21,8030.959); h_SL3L382->SetBinContent(22,8164.198); h_SL3L382->SetBinContent(23,7987.657); h_SL3L382->SetBinContent(24,7571.286); h_SL3L382->SetBinContent(25,8144.212); h_SL3L382->SetBinContent(26,8140.881); h_SL3L382->SetBinContent(27,7947.686); h_SL3L382->SetBinContent(28,7791.13); h_SL3L382->SetBinContent(29,8457.323); h_SL3L382->SetBinContent(30,8327.416); h_SL3L382->SetBinContent(31,8317.423); h_SL3L382->SetBinContent(32,7917.707); h_SL3L382->SetBinContent(56,3.330966); h_SL3L382->SetBinContent(58,3.330966); h_SL3L382->SetMaximum(10040.03); h_SL3L382->SetEntries(60); h_SL3L382->SetDirectory(0); h_SL3L382->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L382->SetLineColor(ci); h_SL3L382->SetLineWidth(2); h_SL3L382->GetXaxis()->SetTitle("Cell"); h_SL3L382->GetXaxis()->SetLabelFont(42); h_SL3L382->GetXaxis()->SetLabelSize(0.035); h_SL3L382->GetXaxis()->SetTitleSize(0.035); h_SL3L382->GetXaxis()->SetTitleFont(42); h_SL3L382->GetYaxis()->SetTitle("Hz per wire"); h_SL3L382->GetYaxis()->SetLabelFont(42); h_SL3L382->GetYaxis()->SetLabelSize(0.035); h_SL3L382->GetYaxis()->SetTitleSize(0.035); h_SL3L382->GetYaxis()->SetTitleOffset(1.45); h_SL3L382->GetYaxis()->SetTitleFont(42); h_SL3L382->GetZaxis()->SetLabelFont(42); h_SL3L382->GetZaxis()->SetLabelSize(0.035); h_SL3L382->GetZaxis()->SetTitleSize(0.035); h_SL3L382->GetZaxis()->SetTitleFont(42); h_SL3L382->Draw("hist, same"); TH1D *h_SL3L483 = new TH1D("h_SL3L483","Occupancy removing noisy cells",60,0,60); h_SL3L483->SetBinContent(2,4809.915); h_SL3L483->SetBinContent(3,1069.24); h_SL3L483->SetBinContent(4,3490.853); h_SL3L483->SetBinContent(5,6761.861); h_SL3L483->SetBinContent(6,7484.681); h_SL3L483->SetBinContent(7,7478.019); h_SL3L483->SetBinContent(8,7238.189); h_SL3L483->SetBinContent(9,7597.934); h_SL3L483->SetBinContent(10,7924.369); h_SL3L483->SetBinContent(11,7621.251); h_SL3L483->SetBinContent(12,7527.984); h_SL3L483->SetBinContent(13,7784.468); h_SL3L483->SetBinContent(14,8017.636); h_SL3L483->SetBinContent(15,7631.244); h_SL3L483->SetBinContent(16,7507.998); h_SL3L483->SetBinContent(17,7621.251); h_SL3L483->SetBinContent(18,8194.177); h_SL3L483->SetBinContent(19,7667.884); h_SL3L483->SetBinContent(20,7617.92); h_SL3L483->SetBinContent(21,7674.546); h_SL3L483->SetBinContent(22,8330.746); h_SL3L483->SetBinContent(23,8354.063); h_SL3L483->SetBinContent(24,7541.308); h_SL3L483->SetBinContent(25,8054.276); h_SL3L483->SetBinContent(26,8290.775); h_SL3L483->SetBinContent(27,7864.411); h_SL3L483->SetBinContent(28,7871.073); h_SL3L483->SetBinContent(29,8024.298); h_SL3L483->SetBinContent(30,8577.238); h_SL3L483->SetBinContent(31,8290.775); h_SL3L483->SetBinContent(32,8284.113); h_SL3L483->SetBinContent(59,3.330966); h_SL3L483->SetMaximum(10040.03); h_SL3L483->SetEntries(60); h_SL3L483->SetDirectory(0); h_SL3L483->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L483->SetLineColor(ci); h_SL3L483->SetLineWidth(2); h_SL3L483->GetXaxis()->SetTitle("Cell"); h_SL3L483->GetXaxis()->SetLabelFont(42); h_SL3L483->GetXaxis()->SetLabelSize(0.035); h_SL3L483->GetXaxis()->SetTitleSize(0.035); h_SL3L483->GetXaxis()->SetTitleFont(42); h_SL3L483->GetYaxis()->SetTitle("Hz per wire"); h_SL3L483->GetYaxis()->SetLabelFont(42); h_SL3L483->GetYaxis()->SetLabelSize(0.035); h_SL3L483->GetYaxis()->SetTitleSize(0.035); h_SL3L483->GetYaxis()->SetTitleOffset(1.45); h_SL3L483->GetYaxis()->SetTitleFont(42); h_SL3L483->GetZaxis()->SetLabelFont(42); h_SL3L483->GetZaxis()->SetLabelSize(0.035); h_SL3L483->GetZaxis()->SetTitleSize(0.035); h_SL3L483->GetZaxis()->SetTitleFont(42); h_SL3L483->Draw("hist, same"); pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_3->Modified(); c->cd(); // ------------>Primitives in pad: c_4 TPad *c_4 = new TPad("c_4", "c_4",0.01,0.01,0.3233333,0.49); c_4->Draw(); c_4->cd(); c_4->Range(0,0,1,1); c_4->SetFillColor(0); c_4->SetBorderMode(0); c_4->SetBorderSize(2); c_4->SetFrameBorderMode(0); c_4->Modified(); c->cd(); // ------------>Primitives in pad: c_5 TPad *c_5 = new TPad("c_5", "c_5",0.3433333,0.01,0.6566667,0.49); c_5->Draw(); c_5->cd(); c_5->Range(0,0,1,1); c_5->SetFillColor(0); c_5->SetBorderMode(0); c_5->SetBorderSize(2); c_5->SetFrameBorderMode(0); c_5->Modified(); c->cd(); // ------------>Primitives in pad: c_6 TPad *c_6 = new TPad("c_6", "c_6",0.05,0,0.95,0.5); c_6->Draw(); c_6->cd(); c_6->Range(-1,-1212.619,14,10913.57); c_6->SetFillColor(0); c_6->SetBorderMode(0); c_6->SetBorderSize(2); c_6->SetFrameBorderMode(0); c_6->SetFrameBorderMode(0); TH1D *hRateSub84 = new TH1D("hRateSub84","Average rate per layer for run 5836 (no noisy cells)",12,0.5,12.5); hRateSub84->SetBinContent(1,6547.014); hRateSub84->SetBinContent(2,6622.377); hRateSub84->SetBinContent(3,6753.222); hRateSub84->SetBinContent(4,6831.167); hRateSub84->SetBinContent(5,8345.616); hRateSub84->SetBinContent(6,8266.64); hRateSub84->SetBinContent(7,8240.519); hRateSub84->SetBinContent(8,8435.612); hRateSub84->SetBinContent(9,7271.5); hRateSub84->SetBinContent(10,7358.964); hRateSub84->SetBinContent(11,7272.645); hRateSub84->SetBinContent(12,7131.495); hRateSub84->SetMinimum(0); hRateSub84->SetMaximum(9700.954); hRateSub84->SetEntries(1595566); hRateSub84->SetDirectory(0); hRateSub84->SetStats(0); ci = TColor::GetColor("#330066"); hRateSub84->SetLineColor(ci); hRateSub84->SetLineWidth(2); hRateSub84->GetXaxis()->SetBinLabel(1,"SL1L1"); hRateSub84->GetXaxis()->SetBinLabel(2,"SL1L2"); hRateSub84->GetXaxis()->SetBinLabel(3,"SL1L3"); hRateSub84->GetXaxis()->SetBinLabel(4,"SL1L4"); hRateSub84->GetXaxis()->SetBinLabel(5,"SL2L1"); hRateSub84->GetXaxis()->SetBinLabel(6,"SL2L2"); hRateSub84->GetXaxis()->SetBinLabel(7,"SL2L3"); hRateSub84->GetXaxis()->SetBinLabel(8,"SL2L4"); hRateSub84->GetXaxis()->SetBinLabel(9,"SL3L1"); hRateSub84->GetXaxis()->SetBinLabel(10,"SL3L2"); hRateSub84->GetXaxis()->SetBinLabel(11,"SL3L3"); hRateSub84->GetXaxis()->SetBinLabel(12,"SL3L4"); hRateSub84->GetXaxis()->SetLabelFont(42); hRateSub84->GetXaxis()->SetLabelSize(0.035); hRateSub84->GetXaxis()->SetTitleSize(0.035); hRateSub84->GetXaxis()->SetTitleFont(42); hRateSub84->GetYaxis()->SetTitle("Mean Hz/Cell"); hRateSub84->GetYaxis()->SetLabelFont(42); hRateSub84->GetYaxis()->SetLabelSize(0.06); hRateSub84->GetYaxis()->SetTitleSize(0.035); hRateSub84->GetYaxis()->SetTitleOffset(1.3); hRateSub84->GetYaxis()->SetTitleFont(42); hRateSub84->GetZaxis()->SetLabelFont(42); hRateSub84->GetZaxis()->SetLabelSize(0.035); hRateSub84->GetZaxis()->SetTitleSize(0.035); hRateSub84->GetZaxis()->SetTitleFont(42); hRateSub84->Draw("hist"); TH1D *hRateSub85 = new TH1D("hRateSub85","Average rate per layer for run 5836 (no noisy cells)",12,0.5,12.5); hRateSub85->SetBinContent(1,25.06552); hRateSub85->SetBinContent(2,27.10574); hRateSub85->SetBinContent(3,29.43741); hRateSub85->SetBinContent(4,22.86547); hRateSub85->SetBinContent(5,30.14524); hRateSub85->SetBinContent(6,29.28913); hRateSub85->SetBinContent(7,30.76176); hRateSub85->SetBinContent(8,29.47905); hRateSub85->SetBinContent(9,28.27157); hRateSub85->SetBinContent(10,23.16633); hRateSub85->SetBinContent(11,30.60325); hRateSub85->SetBinContent(12,28.27157); hRateSub85->SetEntries(1595566); hRateSub85->SetDirectory(0); hRateSub85->SetStats(0); ci = TColor::GetColor("#cc6600"); hRateSub85->SetLineColor(ci); hRateSub85->SetLineWidth(2); hRateSub85->GetXaxis()->SetBinLabel(1,"SL1L1"); hRateSub85->GetXaxis()->SetBinLabel(2,"SL1L2"); hRateSub85->GetXaxis()->SetBinLabel(3,"SL1L3"); hRateSub85->GetXaxis()->SetBinLabel(4,"SL1L4"); hRateSub85->GetXaxis()->SetBinLabel(5,"SL2L1"); hRateSub85->GetXaxis()->SetBinLabel(6,"SL2L2"); hRateSub85->GetXaxis()->SetBinLabel(7,"SL2L3"); hRateSub85->GetXaxis()->SetBinLabel(8,"SL2L4"); hRateSub85->GetXaxis()->SetBinLabel(9,"SL3L1"); hRateSub85->GetXaxis()->SetBinLabel(10,"SL3L2"); hRateSub85->GetXaxis()->SetBinLabel(11,"SL3L3"); hRateSub85->GetXaxis()->SetBinLabel(12,"SL3L4"); hRateSub85->GetXaxis()->SetLabelFont(42); hRateSub85->GetXaxis()->SetLabelSize(0.035); hRateSub85->GetXaxis()->SetTitleSize(0.035); hRateSub85->GetXaxis()->SetTitleFont(42); hRateSub85->GetYaxis()->SetTitle("Mean Hz/Cell"); hRateSub85->GetYaxis()->SetLabelFont(42); hRateSub85->GetYaxis()->SetLabelSize(0.035); hRateSub85->GetYaxis()->SetTitleSize(0.035); hRateSub85->GetYaxis()->SetTitleOffset(1.3); hRateSub85->GetYaxis()->SetTitleFont(42); hRateSub85->GetZaxis()->SetLabelFont(42); hRateSub85->GetZaxis()->SetLabelSize(0.035); hRateSub85->GetZaxis()->SetTitleSize(0.035); hRateSub85->GetZaxis()->SetTitleFont(42); hRateSub85->Draw("hist, same"); TLegend *leg = new TLegend(0.7,0.92,0.9,0.97,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("hRateSub","Occupancy","l"); ci = TColor::GetColor("#330066"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("hRateSub","Background","l"); ci = TColor::GetColor("#cc6600"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); pt = new TPaveText(0.91,0.45,1,0.55,"brNDC"); pt->SetFillColor(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.07); AText = pt->AddText("Run 5836"); pt->Draw(); pt = new TPaveText(0.3113755,0.9328238,0.6886245,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Average rate per layer for run 5836 (no noisy cells)"); pt->Draw(); c_6->Modified(); c->cd(); c->Modified(); c->cd(); c->SetSelected(c); }