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.6 by tschum, Wed Dec 2 15:57:44 2009 UTC vs.
Revision 1.11 by tschum, Thu Dec 10 18:29:27 2009 UTC

# Line 1 | Line 1
1   #ifndef PlotTool_h
2   #define PlotTool_h
3  
4 < #ifndef ROOT_TClonesArray
5 < #include "TClonesArray.h"
4 >
5 > #if !defined(__CINT__) && !defined(__MAKECINT__)
6 > #include "DataFormats/PatCandidates/interface/Jet.h"
7   #endif
8  
9 < #include <string>
10 < #include <map>
11 < #include <iostream>
12 < #include <fstream>
13 < #include <sstream>
13 < #include <vector>
9 > #include "DataFormats/FWLite/interface/Handle.h"
10 > #include "DataFormats/FWLite/interface/Event.h"
11 > #include "DataFormats/Math/interface/deltaR.h"
12 >
13 > //#include "DataFormats/FWLite/interface/TriggerNames.h"
14  
15 +
16 + #include "TClonesArray.h"
17 + #include "TFile.h"
18 + #include "TGraphAsymmErrors.h"
19 + #include "TF2.h"
20 + #include "TStopwatch.h"
21 + #include "TPostScript.h"
22 + #include "TLeafElement.h"
23 + #include "TMethod.h"
24   #include "TChain.h"
25   #include "TSystemDirectory.h"
26   #include "TList.h"
# Line 26 | Line 35
35   #include "TStyle.h"
36   #include "TROOT.h"
37   #include "TSystem.h"
38 < #include "DataFormats/FWLite/interface/Handle.h"
39 < #include "DataFormats/FWLite/interface/Event.h"
40 < #if !defined(__CINT__) && !defined(__MAKECINT__)
41 < #include "DataFormats/PatCandidates/interface/Jet.h"
42 < #endif
43 < #include "DataFormats/Math/interface/deltaR.h"
44 < #include "TFile.h"
45 < #include "TGraphAsymmErrors.h"
37 < #include "TF2.h"
38 < #include "TStopwatch.h"
38 >
39 > #include <string>
40 > #include <map>
41 > #include <iostream>
42 > #include <fstream>
43 > #include <sstream>
44 > #include <vector>
45 >
46  
47   using namespace std;
48  
# Line 83 | Line 90 | public:
90  
91          bool samePad_trees, samePad_vars, samePad_cuts, sameCanv_trees,
92                          sameCanv_vars, sameCanv_cuts;
93 <        bool showLegend, logY, addTrackJets, verbose;
94 <        float* TrackJetKT;
93 >        bool showLegend, logY, addTrackJets, addEventInfo, addTower, verbose, recreateTree;
94 >
95 >        string globalCuts;
96 >
97 >        float* TrackJetKT, * towet, * toweta, * towphi, * towen, * towem, * towhd, * towoe;
98 >        int* towid_phi, *towid_eta, *towid;
99          vector<string> fileNames;
100  
101 <        int saveCanvases(string type=".ps",
101 >        int saveCanvases(string name="test",
102                          string path="/afs/naf.desy.de/group/cms/scratch/schum/");
103 +        int clearCanvases();
104          int updatePads();
105          int fillCanvases();
106  
107 <        void showChainInfo();
107 >        int setVariables(string label="");
108 >
109 >        vector<string> autoVars;
110  
111  
112          ClassDef(PlotTool,4)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines