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 class Styles {
10 public:
19 
20  Styles();
21 
22  static void FormatHisto(TH1 *h, const Style *s);
23 
24  static void FormatPad(TPad *pad, bool grid = true, bool logx = false, bool logy = false);
25 
26  static void SavePlot(const char *name, const char *dir);
27 };
28 
29 #endif
Style * sgr1
Definition: NicePlot.h:17
Style * s2
Definition: NicePlot.h:12
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
Style * spred
Definition: NicePlot.h:15
Style * sback
Definition: NicePlot.h:14
Style * s1
Definition: NicePlot.h:11
Style * sgr2
Definition: NicePlot.h:18
Definition: Style.py:1
Style * sg1
Definition: NicePlot.h:13
Style * spblue
Definition: NicePlot.h:16
dbl *** dir
Definition: mlp_gen.cc:35
Definition: NicePlot.h:9
def SavePlot(fig, file_name_base)