1 |
|
#ifndef STEERPLOTTER__ |
2 |
|
#define STEERPLOTTER__ |
3 |
< |
|
3 |
> |
#include <cstdlib> |
4 |
|
#include <TObjArray.h> |
5 |
|
#include <TArrayI.h> |
6 |
|
#include <TArrayF.h> |
43 |
|
void SetInputFiles(const char* in); |
44 |
|
TObjArray* GetInputFiles(); |
45 |
|
|
46 |
– |
|
46 |
|
void SetOutputPsFile(const char* in); |
47 |
|
const char* GetOutputPsFile(); |
48 |
|
|
63 |
|
|
64 |
|
void SetSamplesWeight(const char* in); |
65 |
|
TArrayF GetSamplesWeight(); |
66 |
+ |
|
67 |
+ |
void SetSamplesUnc(const char* in); |
68 |
+ |
TArrayF GetSamplesUnc(); |
69 |
|
|
70 |
|
void SetSubstractBkgd(Bool_t flag); |
71 |
|
Bool_t GetSubstractBkgd(); |
76 |
|
void SetDrawLegend(Bool_t flag); |
77 |
|
Bool_t GetDrawLegend(); |
78 |
|
|
79 |
+ |
void SetLumi(Float_t lumi); |
80 |
+ |
Float_t GetLumi(); |
81 |
+ |
|
82 |
+ |
void SetSysError(Float_t err); |
83 |
+ |
Float_t GetSysError(); |
84 |
+ |
|
85 |
+ |
void SetDoCumulative(Bool_t flag); |
86 |
+ |
Bool_t GetDoCumulative(); |
87 |
+ |
|
88 |
+ |
void SetSingleEPS(Bool_t flag); |
89 |
+ |
Bool_t GetSingleEPS(); |
90 |
|
|
91 |
|
private: |
92 |
|
|
99 |
|
Bool_t bDrawLegend; // draw the legend everywhere? |
100 |
|
Bool_t bFitPtBalanceHists; // fit Pt-balance histograms? |
101 |
|
Bool_t bJetShapesPerSlice; // plot each slide of the jet shape histograms? |
102 |
+ |
Bool_t bDoCumulative; // do cumulative distributions instead of normal plots |
103 |
+ |
Bool_t bSingleEPS; // make one EPS file for each histogram |
104 |
|
Int_t fNumOfSamples; // how many analysis samples should be plotted |
105 |
+ |
Float_t fLumi; // integrated luminosity of sample |
106 |
+ |
Float_t fSysError; // systematic error on normalisation |
107 |
|
TObjArray fSampleNames; // all sample name |
108 |
|
|
109 |
|
TObjArray fSamplesToStack; // name of samples that should be stacked on top of each other |
111 |
|
Bool_t bSubstractBkgd; // substract all background samples? |
112 |
|
|
113 |
|
TArrayF fSamplesWeight; // weights for the different samples |
114 |
+ |
TArrayF fSamplesUnc; // uncertainty on the normalisation of various samples |
115 |
|
|
116 |
|
TObjArray fInputFiles; // input filenames |
117 |
|
TString fCycleName; // name of the cycle, can be used as prefix for the filenames |