Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:53

0001 #ifndef __Validation_RecoParticleFlow_NicePlot__
0002 #define __Validation_RecoParticleFlow_NicePlot__
0003 
0004 #include <TH1.h>
0005 #include <TPad.h>
0006 
0007 class Style : public TH1 {};
0008 
0009 class Styles {
0010 public:
0011   Style *s1;
0012   Style *s2;
0013   Style *sg1;
0014   Style *sback;
0015   Style *spred;
0016   Style *spblue;
0017   Style *sgr1;
0018   Style *sgr2;
0019 
0020   Styles();
0021 
0022   static void FormatHisto(TH1 *h, const Style *s);
0023 
0024   static void FormatPad(TPad *pad, bool grid = true, bool logx = false, bool logy = false);
0025 
0026   static void SavePlot(const char *name, const char *dir);
0027 };
0028 
0029 #endif