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.9 by tschum, Tue Dec 8 10:04: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 + #include "TPostScript.h"
40 + #include "TLeafElement.h"
41 + #include "TMethod.h"
42  
43   using namespace std;
44  
# Line 72 | Line 79 | public:
79                          string drwOpt = "");
80          int loop(string histName, vector<string> _cutName, int nEntries= -1,
81                          string drwOpt = "");
82 <        int loop(string histName, string cutName, int nEntries= -1,
82 >        int loop(string histName, string cutName = "", int nEntries= -1,
83                          string drwOpt = "");
84  
85 +        int  plotEff(int chainIndex, string histName, string cutName, int nEntries, double fitXmin = 30, double fitXmax = 130, string fitFormula="expo");
86 +
87          bool samePad_trees, samePad_vars, samePad_cuts, sameCanv_trees,
88                          sameCanv_vars, sameCanv_cuts;
89 <        bool showLegend, logY;
89 >        bool showLegend, logY, addTrackJets, verbose;
90 >
91 >        string globalCuts;
92 >
93          float* TrackJetKT;
94          vector<string> fileNames;
95  
96 <        int saveCanvases(string type=".ps",
96 >        int saveCanvases(string name="test",
97                          string path="/afs/naf.desy.de/group/cms/scratch/schum/");
98 +        int clearCanvases();
99          int updatePads();
100          int fillCanvases();
101  
102 +        int setVariables(string label="");
103 +
104 +        vector<string> autoVars;
105 +
106 +
107          ClassDef(PlotTool,4)
108  
109 +
110   };
111  
112   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines