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 |
|
|
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, addTrackJets; |
86 |
> |
bool showLegend, logY, addTrackJets, verbose; |
87 |
|
float* TrackJetKT; |
88 |
|
vector<string> fileNames; |
89 |
|
|