Revision: | 1.1 |
Committed: | Thu Jul 7 11:53:04 2011 UTC (13 years, 9 months ago) by lucieg |
Content type: | text/x-python |
Branch: | MAIN |
Log Message: | added directory to store macros. bad habit with rm -rf :) |
# | User | Rev | Content |
---|---|---|---|
1 | lucieg | 1.1 | import FWCore.ParameterSet.Config as cms |
2 | |||
3 | def setStyle(histo, color, style = 1, xTitle = "", yTitle = "", title = ""): | ||
4 | |||
5 | histo.SetLineWidth(3) | ||
6 | histo.SetLineColor(color) | ||
7 | histo.SetLineStyle(style) | ||
8 | histo.SetXTitle(xTitle) | ||
9 | histo.SetYTitle(yTitle) | ||
10 | histo.SetTitle(title) |