ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/tschum/FWlite_Analysis/PlotTool.h
(Generate patch)

Comparing UserCode/tschum/FWlite_Analysis/PlotTool.h (file contents):
Revision 1.4 by gebbert, Wed Nov 25 15:34:38 2009 UTC vs.
Revision 1.6 by tschum, Wed Dec 2 15:57:44 2009 UTC

# Line 25 | Line 25
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__)
# Line 32 | Line 33
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  
# Line 72 | Line 76 | public:
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  
# Line 86 | Line 92 | public:
92          int updatePads();
93          int fillCanvases();
94  
95 +        void showChainInfo();
96 +
97 +
98          ClassDef(PlotTool,4)
99  
100 +
101   };
102  
103   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines