CMS 3D CMS Logo

NicePlot.h
Go to the documentation of this file.
1 #ifndef __Validation_RecoParticleFlow_NicePlot__
2 #define __Validation_RecoParticleFlow_NicePlot__
3 
4 #include <TH1.h>
5 #include <TPad.h>
6 
7 class Style : public TH1 {
8 };
9 
10 
11 class Styles {
12  public:
21 
22  Styles();
23 
24 
25  static void FormatHisto( TH1* h, const Style* s );
26 
27  static void FormatPad( TPad* pad, bool grid = true, bool logx = false, bool logy = false);
28 
29  static void SavePlot(const char* name, const char* dir);
30 };
31 
32 
33 #endif
Style * sgr1
Definition: NicePlot.h:19
Style * s2
Definition: NicePlot.h:14
Style * spred
Definition: NicePlot.h:17
Style * sback
Definition: NicePlot.h:16
Style * s1
Definition: NicePlot.h:13
Style * sgr2
Definition: NicePlot.h:20
Definition: Style.py:1
Style * sg1
Definition: NicePlot.h:15
Style * spblue
Definition: NicePlot.h:18
dbl *** dir
Definition: mlp_gen.cc:35
def SavePlot(fig, file_name_base)