ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/FGolf/Tools/browseStacks.h
Revision: 1.1
Committed: Tue Mar 20 19:04:54 2012 UTC (13 years, 1 month ago) by fgolf
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
replace .C file with .cc

File Contents

# User Rev Content
1 fgolf 1.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