1 |
#ifndef BROWSESTACKS_H
|
2 |
#define BROWSESTACKS_H
|
3 |
|
4 |
|
5 |
#include "TH1.h"
|
6 |
#include "TLegend.h"
|
7 |
#include "TPaveText.h"
|
8 |
#include "TString.h"
|
9 |
#include <set>
|
10 |
#include "getMyHistosNames.h"
|
11 |
#include "histtools.h"
|
12 |
|
13 |
using namespace std;
|
14 |
|
15 |
double GetMinimum(const vector<TH1F*> &v_hists);
|
16 |
TLegend* makeLegend(const vector<TH1F*> &v_hists, vector<TString> v_legEntries, bool drawLogY, TString histName);
|
17 |
TPaveText *getPaveText(const vector<TH1F*> &v_hists, int i_channel); //call this after makeLegend please
|
18 |
void browseStacks(vector<TString> v_samples, vector<Color_t> v_colors, TString outfile, vector<TString> v_legEntries, bool drawLogY = false, vector<Style_t> v_style = vector<Style_t>(), bool plotData = false);
|
19 |
|
20 |
#endif
|