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 |
|
|
40 |
|
using namespace std; |
41 |
|
|
76 |
|
string drwOpt = ""); |
77 |
|
int loop(string histName, vector<string> _cutName, int nEntries= -1, |
78 |
|
string drwOpt = ""); |
79 |
< |
int loop(string histName, string cutName, int nEntries= -1, |
79 |
> |
int loop(string histName, string cutName = "", int nEntries= -1, |
80 |
|
string drwOpt = ""); |
81 |
|
|
82 |
+ |
int plotEff(int chainIndex, string histName, string cutName, int nEntries, double fitXmin = 30, double fitXmax = 130, string fitFormula="expo"); |
83 |
+ |
|
84 |
|
bool samePad_trees, samePad_vars, samePad_cuts, sameCanv_trees, |
85 |
|
sameCanv_vars, sameCanv_cuts; |
86 |
< |
bool showLegend, logY; |
86 |
> |
bool showLegend, logY, addTrackJets, verbose; |
87 |
|
float* TrackJetKT; |
88 |
|
vector<string> fileNames; |
89 |
|
|
92 |
|
int updatePads(); |
93 |
|
int fillCanvases(); |
94 |
|
|
95 |
+ |
void showChainInfo(); |
96 |
+ |
|
97 |
+ |
|
98 |
|
ClassDef(PlotTool,4) |
99 |
|
|
100 |
+ |
|
101 |
|
}; |
102 |
|
|
103 |
|
#endif |