25 |
|
#include "TColor.h" |
26 |
|
#include "TStyle.h" |
27 |
|
#include "TROOT.h" |
28 |
+ |
#include "TSystem.h" |
29 |
|
#include "DataFormats/FWLite/interface/Handle.h" |
30 |
|
#include "DataFormats/FWLite/interface/Event.h" |
31 |
|
#if !defined(__CINT__) && !defined(__MAKECINT__) |
33 |
|
#endif |
34 |
|
#include "DataFormats/Math/interface/deltaR.h" |
35 |
|
#include "TFile.h" |
36 |
+ |
#include "TGraphAsymmErrors.h" |
37 |
+ |
#include "TF2.h" |
38 |
+ |
#include "TStopwatch.h" |
39 |
+ |
#include "TPostScript.h" |
40 |
|
|
41 |
|
using namespace std; |
42 |
|
|
77 |
|
string drwOpt = ""); |
78 |
|
int loop(string histName, vector<string> _cutName, int nEntries= -1, |
79 |
|
string drwOpt = ""); |
80 |
< |
int loop(string histName, string cutName, int nEntries= -1, |
80 |
> |
int loop(string histName, string cutName = "", int nEntries= -1, |
81 |
|
string drwOpt = ""); |
82 |
|
|
83 |
+ |
int plotEff(int chainIndex, string histName, string cutName, int nEntries, double fitXmin = 30, double fitXmax = 130, string fitFormula="expo"); |
84 |
+ |
|
85 |
|
bool samePad_trees, samePad_vars, samePad_cuts, sameCanv_trees, |
86 |
|
sameCanv_vars, sameCanv_cuts; |
87 |
< |
bool showLegend, logY; |
87 |
> |
bool showLegend, logY, addTrackJets, verbose; |
88 |
|
float* TrackJetKT; |
89 |
|
vector<string> fileNames; |
90 |
|
|
91 |
< |
int saveCanvases(string type=".ps", |
91 |
> |
int saveCanvases(string name="test", |
92 |
|
string path="/afs/naf.desy.de/group/cms/scratch/schum/"); |
93 |
|
int updatePads(); |
94 |
|
int fillCanvases(); |
95 |
|
|
96 |
+ |
void showChainInfo(); |
97 |
+ |
|
98 |
+ |
|
99 |
|
ClassDef(PlotTool,4) |
100 |
|
|
101 |
+ |
|
102 |
|
}; |
103 |
|
|
104 |
|
#endif |