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.8 by tschum, Mon Dec 7 14:02:01 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          float* TrackJetKT;
91          vector<string> fileNames;
92  
93 <        int saveCanvases(string type=".ps",
93 >        int saveCanvases(string name="test",
94                          string path="/afs/naf.desy.de/group/cms/scratch/schum/");
95 +        int clearCanvases();
96          int updatePads();
97          int fillCanvases();
98  
99 +        int setVariables(string label="");
100 +
101 +        vector<string> autoVars;
102 +
103 +
104          ClassDef(PlotTool,4)
105  
106 +
107   };
108  
109   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines