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
Styles
Definition: NicePlot.h:9
Styles::spblue
Style * spblue
Definition: NicePlot.h:16
getRunAppsInfo.grid
grid
Definition: getRunAppsInfo.py:92
Styles::s1
Style * s1
Definition: NicePlot.h:11
alignCSCRings.s
s
Definition: alignCSCRings.py:92
Styles::Styles
Styles()
Definition: NicePlot.cc:9
Styles::sgr1
Style * sgr1
Definition: NicePlot.h:17
h
Style
Definition: Style.py:1
Styles::sback
Style * sback
Definition: NicePlot.h:14
Styles::FormatPad
static void FormatPad(TPad *pad, bool grid=true, bool logx=false, bool logy=false)
Definition: NicePlot.cc:70
Styles::sg1
Style * sg1
Definition: NicePlot.h:13
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
Styles::SavePlot
static void SavePlot(const char *name, const char *dir)
Definition: NicePlot.cc:86
Styles::s2
Style * s2
Definition: NicePlot.h:12
Styles::FormatHisto
static void FormatHisto(TH1 *h, const Style *s)
Definition: NicePlot.cc:54
Styles::spred
Style * spred
Definition: NicePlot.h:15
Styles::sgr2
Style * sgr2
Definition: NicePlot.h:18
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23