CMS 3D CMS Logo

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