CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
static void FormatHisto(TH1 *h, const Style *s)
Definition: NicePlot.cc:58
static void FormatPad(TPad *pad, bool grid=true, bool logx=false, bool logy=false)
Definition: NicePlot.cc:74
static void SavePlot(const char *name, const char *dir)
Definition: NicePlot.cc:91
Style * spred
Definition: NicePlot.h:17
Style * sback
Definition: NicePlot.h:16
Style * s1
Definition: NicePlot.h:13
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
Style * sgr2
Definition: NicePlot.h:20
Style * sg1
Definition: NicePlot.h:15
Style * spblue
Definition: NicePlot.h:18
dbl *** dir
Definition: mlp_gen.cc:35
Styles()
Definition: NicePlot.cc:11
Definition: NicePlot.h:7