# ROOT.gStyle.SetPadTopMargin(0.02) ### Configuration plot = Plotter( cuts = [ '!isEBEtaGap', '!isEBPhiGap', ## Module +4 '1.16 < scEta & scEta < 1.44', ], expression = '100*(scRawE / genE - 1)', binning = '50,-10,10', name = 'mp4', title = '', xtitle = 'E_{raw}^{SC}/E_{gen}^{#gamma} - 1 (%)', ytitle = 'a.u.', labels = [ 'Barrel', 'Module +4', '#eta/#phi-cracks Removed', ], trees = [chains[n] for n in 'g93p01 g94cms g94p02'.split()], colors = [ROOT.kRed, ROOT.kBlack, ROOT.kBlue,], ltitles = ['Spring11 MC', 'Summer11 MC', 'Winter11 MC'], drawopts = 'e0 e0hist e0'.split(), markerstyles = [20, 21, 22], normalize_to_unit_area = True, legendkwargs = dict(position = (0.675, 0.9, 0.95, 0.7)), ) plots.append(plot)
plot = Plotter( cuts = [ '!isEBEtaGap', '!isEBPhiGap', '!isEBEEGap', ## Module +4 # '1.16 < scEta & scEta < 1.44', ## Barrel 'isEB', ], expression = 'r9', binning = '20,0.9,1', name = 'r9_EB', title = '', xtitle = 'photon R_{9}', ytitle = 'a.u.', labels = [ 'flat-p_{T} #gamma gun', 'E_{T}^{#gamma} #in [10,100] GeV', '#eta/#phi/subdet-cracks removed', 'barrel', ], trees = [chains[n] for n in 'g93p01 g94cms g94p02'.split()], colors = [ROOT.kRed, ROOT.kBlack, ROOT.kBlue,], ltitles = ['Spring11 MC', 'Summer11 MC', 'Winter11 MC'], drawopts = 'e0 e0hist e0'.split(), markerstyles = [20, 21, 22], normalize_to_unit_area = True, legendkwargs = dict(position = (0.2, 0.9, 0.475, 0.7)), labels_layout = (0.2, 0.6), )
plot = Plotter( cuts=[ '!isEBEtaGap', '!isEBPhiGap', '!isEBEEGap', ## Module +4 # '1.16 < scEta & scEta < 1.44', ## Barrel 'isEB', ], expression='r9', binning='20,0.9,1', name='r9_EB', title='', xtitle='photon R_{9}', ytitle='a.u.', labels=[ 'flat-p_{T} #gamma gun', 'E_{T}^{#gamma} #in [10,100] GeV', '#eta/#phi/subdet-cracks removed', 'barrel', ], trees=[chains[n] for n in 'g93p01 g94cms g94p02'.split()], colors=[ ROOT.kRed, ROOT.kBlack, ROOT.kBlue, ], ltitles=['Spring11 MC', 'Summer11 MC', 'Winter11 MC'], drawopts='e0 e0hist e0'.split(), markerstyles=[20, 21, 22], normalize_to_unit_area=True, legendkwargs=dict(position=(0.2, 0.9, 0.475, 0.7)), labels_layout=(0.2, 0.6), )
### Configuration plot = Plotter( cuts=[ '!isEBEtaGap', '!isEBPhiGap', ## Module +4 '1.16 < scEta & scEta < 1.44', ], expression='100*(scRawE / genE - 1)', binning='50,-10,10', name='mp4', title='', xtitle='E_{raw}^{SC}/E_{gen}^{#gamma} - 1 (%)', ytitle='a.u.', labels=[ 'Barrel', 'Module +4', '#eta/#phi-cracks Removed', ], trees=[chains[n] for n in 'g93p01 g94cms g94p02'.split()], colors=[ ROOT.kRed, ROOT.kBlack, ROOT.kBlue, ], ltitles=['Spring11 MC', 'Summer11 MC', 'Winter11 MC'], drawopts='e0 e0hist e0'.split(), markerstyles=[20, 21, 22], normalize_to_unit_area=True, legendkwargs=dict(position=(0.675, 0.9, 0.95, 0.7)), )