ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/Plotting/Modules/setTDRStyle.C
(Generate patch)

Comparing UserCode/cbrown/AnalysisFramework/Plotting/Modules/setTDRStyle.C (file contents):
Revision 1.5 by fronga, Tue Aug 9 13:48:10 2011 UTC vs.
Revision 1.6 by buchmann, Mon Aug 15 07:41:50 2011 UTC

# Line 1 | Line 1
1   #include "TStyle.h"
2  
3 < void setTDRStyle() {
3 > void setTDRStyle(bool fatline=true) {
4 >  int standardlinewidth=1;
5 >  if(fatline) standardlinewidth=2;
6    TStyle *tdrStyle = new TStyle("tdrStyle","Style for P-TDR");
7  
8    // For the canvas:
# Line 35 | Line 37 | void setTDRStyle() {
37    // tdrStyle->SetHistFillStyle(0);
38    tdrStyle->SetHistLineColor(1);
39    tdrStyle->SetHistLineStyle(0);
40 <  tdrStyle->SetHistLineWidth(2);
40 >  tdrStyle->SetHistLineWidth(standardlinewidth);
41    // tdrStyle->SetLegoInnerR(Float_t rad = 0.5);
42    // tdrStyle->SetNumberContours(Int_t number = 20);
43  
# Line 50 | Line 52 | void setTDRStyle() {
52    tdrStyle->SetFitFormat("5.4g");
53    tdrStyle->SetFuncColor(2);
54    tdrStyle->SetFuncStyle(1);
55 <  tdrStyle->SetFuncWidth(2);
55 >  tdrStyle->SetFuncWidth(standardlinewidth);
56  
57    //For the date:
58    tdrStyle->SetOptDate(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines