ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/AnaTools/plugins/OSUAnalysis.h
(Generate patch)

Comparing UserCode/OSUT3Analysis/AnaTools/plugins/OSUAnalysis.h (file contents):
Revision 1.12 by lantonel, Mon Mar 4 22:42:22 2013 UTC vs.
Revision 1.14 by jbrinson, Thu Mar 14 10:06:38 2013 UTC

# Line 5 | Line 5
5   #include <map>
6   #include <string>
7   #include <vector>
8 #include <algorithm>
8  
9 + #include <fstream>
10 + #include <iostream>
11 + #include <algorithm>
12   #include "TH1.h"
13   #include "TH2.h"
14   #include "TH1D.h"
# Line 76 | Line 78 | class OSUAnalysis : public edm::EDAnalyz
78        double valueLookup (const BNbxlumi* object, string variable, string function = "");
79        double valueLookup (const BNphoton* object, string variable, string function = "");
80        double valueLookup (const BNsupercluster* object, string variable, string function = "");
81 +
82 +      int getTrkIsIso (const BNtrack* track1, const BNtrackCollection* trackColl);
83 +      double getTrkPtTrue (const BNtrack* track1, const BNmcparticleCollection* genPartColl);
84 +      double getTrkPtRes (const BNtrack* track1);
85 +      double getTrkIsIso (const BNtrack* track1);
86 +      void WriteDeadEcal ();
87 +      int getTrkIsMatchedDeadEcal (const BNtrack* track1);
88 +
89        //BNskimbits
90        //BNtrigobj
91  
# Line 113 | Line 123 | class OSUAnalysis : public edm::EDAnalyz
123        edm::InputTag superclusters_;
124        edm::InputTag triggers_;
125        std::string puFile_;
126 +      std::string deadEcalFile_;
127        std::string dataPU_;
128        std::string dataset_;
129        std::string datasetType_;
# Line 120 | Line 131 | class OSUAnalysis : public edm::EDAnalyz
131        vector<edm::ParameterSet> histogramSets_;
132        bool plotAllObjectsInPassingEvents_;
133  
134 +      struct DeadEcal {
135 +        double etaEcal;
136 +        double phiEcal;
137 +      };
138 +      
139 +      std::vector<DeadEcal> DeadEcalVec;
140 +
141 +
142 +      //Collections
143        edm::Handle<BNtriggerCollection> triggers;
144        edm::Handle<BNjetCollection> jets;
145        edm::Handle<BNmuonCollection> muons;
# Line 193 | Line 213 | class OSUAnalysis : public edm::EDAnalyz
213        int getPdgIdBinValue(int);
214        int findTauMotherIndex(const BNmcparticle*);
215  
216 +
217    };
218  
219   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines