# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |