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.7 by tschum, Thu Dec 3 11:24:14 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 + #include "TPostScript.h"
40  
41   using namespace std;
42  
# Line 72 | Line 77 | public:
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines