ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/FGolf/Tools/tdrStyle.C
(Generate patch)

Comparing UserCode/FGolf/Tools/tdrStyle.C (file contents):
Revision 1.1 by fgolf, Sun Aug 29 18:39:12 2010 UTC vs.
Revision 1.3 by fgolf, Sun May 22 21:53:30 2011 UTC

# Line 1 | Line 1
1   #include "TStyle.h"
2 + #include "TPad.h"
3 +
4 + TStyle *tdrStyle = new TStyle("tdrStyle","Style for P-TDR");
5  
6   // tdrGrid: Turns the grid lines on (true) or off (false)
7  
8 < void tdrGrid(bool gridOn) {
8 > void tdrGrid (bool gridOn) {
9    tdrStyle->SetPadGridX(gridOn);
10    tdrStyle->SetPadGridY(gridOn);
11   }
# Line 14 | Line 17 | void fixOverlay() {
17   }
18  
19   void setTDRStyle() {
17  TStyle *tdrStyle = new TStyle("tdrStyle","Style for P-TDR");
20  
21   // For the canvas:
22    tdrStyle->SetCanvasBorderMode(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines