1 |
|
#ifndef STEERPLOTTER__ |
2 |
|
#define STEERPLOTTER__ |
3 |
< |
|
3 |
> |
#include <cstdlib> |
4 |
|
#include <TObjArray.h> |
5 |
|
#include <TArrayI.h> |
6 |
|
#include <TArrayF.h> |
14 |
|
SteerPlotter(); |
15 |
|
virtual ~SteerPlotter(); |
16 |
|
|
17 |
< |
void Print(Option_t* option="") const; |
17 |
> |
virtual void Print(Option_t* option="") const; |
18 |
|
|
19 |
|
void SetShapeNorm(Bool_t flag); |
20 |
|
Bool_t GetShapeNorm(); |
43 |
|
void SetInputFiles(const char* in); |
44 |
|
TObjArray* GetInputFiles(); |
45 |
|
|
46 |
– |
|
46 |
|
void SetOutputPsFile(const char* in); |
47 |
|
const char* GetOutputPsFile(); |
48 |
|
|
70 |
|
void SetDrawLumi(Bool_t flag); |
71 |
|
Bool_t GetDrawLumi(); |
72 |
|
|
73 |
+ |
void SetDrawLegend(Bool_t flag); |
74 |
+ |
Bool_t GetDrawLegend(); |
75 |
+ |
|
76 |
+ |
void SetLumi(Float_t lumi); |
77 |
+ |
Float_t GetLumi(); |
78 |
+ |
|
79 |
+ |
void SetSysError(Float_t err); |
80 |
+ |
Float_t GetSysError(); |
81 |
|
|
82 |
|
private: |
83 |
|
|
87 |
|
Bool_t bPortrait; // portrait or landscape |
88 |
|
Bool_t bDrawEntries; // draw the number of entries? |
89 |
|
Bool_t bDrawLumi; // draw the lumi information? |
90 |
+ |
Bool_t bDrawLegend; // draw the legend everywhere? |
91 |
|
Bool_t bFitPtBalanceHists; // fit Pt-balance histograms? |
92 |
|
Bool_t bJetShapesPerSlice; // plot each slide of the jet shape histograms? |
93 |
|
Int_t fNumOfSamples; // how many analysis samples should be plotted |
94 |
+ |
Float_t fLumi; // integrated luminosity of sample |
95 |
+ |
Float_t fSysError; // systematic error on normalisation |
96 |
|
TObjArray fSampleNames; // all sample name |
97 |
|
|
98 |
|
TObjArray fSamplesToStack; // name of samples that should be stacked on top of each other |