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.2 by buchmann, Thu Jul 14 15:46:42 2011 UTC vs.
Revision 1.4 by fronga, Mon Aug 8 14:08:58 2011 UTC

# Line 35 | Line 35 | void setTDRStyle() {
35    // tdrStyle->SetHistFillStyle(0);
36    tdrStyle->SetHistLineColor(1);
37    tdrStyle->SetHistLineStyle(0);
38 <  tdrStyle->SetHistLineWidth(1);
38 >  tdrStyle->SetHistLineWidth(2);
39    // tdrStyle->SetLegoInnerR(Float_t rad = 0.5);
40    // tdrStyle->SetNumberContours(Int_t number = 20);
41  
# Line 50 | Line 50 | void setTDRStyle() {
50    tdrStyle->SetFitFormat("5.4g");
51    tdrStyle->SetFuncColor(2);
52    tdrStyle->SetFuncStyle(1);
53 <  tdrStyle->SetFuncWidth(1);
53 >  tdrStyle->SetFuncWidth(2);
54  
55    //For the date:
56    tdrStyle->SetOptDate(0);
# Line 59 | Line 59 | void setTDRStyle() {
59  
60    // For the statistics box:
61    tdrStyle->SetOptFile(0);
62 <  tdrStyle->SetOptStat(0); // To display the mean and RMS:   SetOptStat("mr");
62 >  tdrStyle->SetOptStat(0);
63 > //  tdrStyle->SetOptStat("oueMri"); // To display the mean and RMS:   SetOptStat("mr");
64    tdrStyle->SetStatColor(kWhite);
65    tdrStyle->SetStatFont(42);
66    tdrStyle->SetStatFontSize(0.025);
67    tdrStyle->SetStatTextColor(1);
68    tdrStyle->SetStatFormat("6.4g");
69    tdrStyle->SetStatBorderSize(1);
70 <  tdrStyle->SetStatH(0.1);
71 <  tdrStyle->SetStatW(0.15);
70 >  tdrStyle->SetStatH(0.12);
71 >  tdrStyle->SetStatW(0.18);
72    // tdrStyle->SetStatStyle(Style_t style = 1001);
73    // tdrStyle->SetStatX(Float_t x = 0);
74    // tdrStyle->SetStatY(Float_t y = 0);
# Line 139 | Line 140 | void setTDRStyle() {
140    // tdrStyle->SetTimeOffset(Double_t toffset);
141    // tdrStyle->SetHistMinimumZero(kTRUE);
142  
143 +  Double_t stops[5] = { 0.00, 0.34, 0.61, 0.84, 1.00 };
144 +  Double_t red[5]   = { 0.00, 0.00, 0.87, 1.00, 0.51 };
145 +  Double_t green[5] = { 0.00, 0.81, 1.00, 0.20, 0.00 };
146 +  Double_t blue[5]  = { 0.51, 1.00, 0.12, 0.00, 0.00 };
147 +  TColor::CreateGradientColorTable(5, stops, red, green,blue, 255);
148 +  tdrStyle->SetNumberContours(255);
149 +  
150    tdrStyle->cd();
151   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines