52 std::string plotString;
53 std::string cutString;
55 std::map<std::string, std::string>
58 std::string drawOption;
67 TH3F* operator->()
const {
return ptr; }
99 Double_t marginBottom;
106 std::vector<HistoInfoSet> histos;
113 std::vector<Float_t> posX;
114 std::vector<Float_t> posY;
116 std::vector<std::string> label;
125 TVector2 fCanvasSize;
126 TVector2 fCanvasDivisions;
127 TVector2 fCanvasDivisionMargins;
132 Double_t fLabelOffsetX = 1.1;
133 Double_t fLabelOffsetY = 1.3;
134 Double_t fLabelScaleX = 1.2;
135 Double_t fLabelScaleY = 1.3;
136 Double_t fTicksScaleX = 1.5;
137 Double_t fTicksScaleY = 1.5;
139 Double_t fLegendX1 = 0.7;
140 Double_t fLegendY1 = 0.75;
141 Double_t fLegendX2 = 0.88;
142 Double_t fLegendY2 = 0.88;
145 std::vector<PlotInfoSet> fPlots;
146 std::vector<PanelInfo> fPanels;
148 std::vector<std::string> fPlotNamesCheck;
154 Long64_t fDrawFirstEntry;
156 void AddFileFromExternalRun();
157 void AddFileFromEnv();
160 TRestRun* GetRunInfo(
const TString& fileName);
161 bool IsDynamicRange(
const TString& rangeString);
162 Int_t GetColorIDFromString(
const std::string& in);
163 Int_t GetFillStyleIDFromString(
const std::string& in);
164 Int_t GetLineStyleIDFromString(
const std::string& in);
172 void AddFile(
const TString& fileName);
173 void SetFile(
const TString& fileName);
175 void SaveCanvasToPDF(
const TString& fileName);
176 void SavePlotToPDF(
const TString& fileName, Int_t n = 0);
177 void SaveHistoToPDF(
const TString& fileName, Int_t nPlot = 0, Int_t nHisto = 0);
179 void SetOutputPlotsFilename(
const TString& name) { fCanvasSave = name; }
181 Int_t GetPlotIndex(
const TString& plotName);
182 inline TVector2 GetCanvasSize()
const {
return fCanvasSize; }
183 inline TVector2 GetCanvasDivisions()
const {
return fCanvasDivisions; }
185 void SetTreeEntryRange(Long64_t NEntries = TTree::kMaxEntries, Long64_t FirstEntry = 0) {
187 fDrawFirstEntry = FirstEntry;
189 void PlotCombinedCanvas();