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.44 by wulsin, Tue Jun 25 09:35:49 2013 UTC vs.
Revision 1.51 by jbrinson, Tue Jul 23 11:10:47 2013 UTC

# Line 15 | Line 15
15   #include "TH1D.h"
16   #include "TH2D.h"
17   #include "TLorentzVector.h"
18 + #include "TVector3.h"
19 + #include "TVector2.h"
20   #include "TTree.h"
21  
22   #include "FWCore/Framework/interface/EDProducer.h"
# Line 75 | Line 77 | class OSUAnalysis : public edm::EDProduc
77        double valueLookup (const BNelectron* object1, const BNjet* object2, string variable, string function, string &stringValue);
78        double valueLookup (const BNelectron* object1, const BNphoton* object2, string variable, string function, string &stringValue);
79        double valueLookup (const BNmuon* object1, const BNphoton* object2, string variable, string function, string &stringValue);
80 +      double valueLookup (const BNmuon* object1, const BNevent* object2, string variable, string function, string &stringValue);
81        double valueLookup (const BNphoton* object1, const BNjet* object2, string variable, string function, string &stringValue);
82        double valueLookup (const BNelectron* object1, const BNtrack* object2, string variable, string function, string &stringValue);
83        double valueLookup (const BNmuon* object1, const BNjet* object2, string variable, string function, string &stringValue);
84        double valueLookup (const BNmet* object1, const BNjet* object2, string variable, string function, string &stringValue);  
85 +      double valueLookup (const BNtrack* object1, const BNjet* object2, string variable, string function, string &stringValue);  
86        double valueLookup (const BNmuon* object1, const BNtrack* object2, string variable, string function, string &stringValue);
87        double valueLookup (const BNmuon* object1, const BNtau* object2, string variable, string function, string &stringValue);
88        double valueLookup (const BNtau* object1, const BNtau* object2, string variable, string function, string &stringValue);
# Line 102 | Line 106 | class OSUAnalysis : public edm::EDProduc
106  
107        int getTrkIsIso (const BNtrack* track1, const BNtrackCollection* trackColl);
108        double getTrkPtTrue (const BNtrack* track1, const BNmcparticleCollection* genPartColl);
109 +      double getHt (const BNjetCollection* jetColl);
110        double getTrkPtRes (const BNtrack* track1);
111        double getTrkIsIso (const BNtrack* track1);
112        double getTrkCaloTotRhoCorr(const BNtrack* track);
113 +      double getTrkDepTrkRp5RhoCorr(const BNtrack* track);
114 +      double getTrkDepTrkRp3RhoCorr(const BNtrack* track);
115        void WriteDeadEcal ();
116        int getTrkIsMatchedDeadEcal (const BNtrack* track1);
117  
# Line 166 | Line 173 | class OSUAnalysis : public edm::EDProduc
173        bool applyLeptonSF_;
174        bool applyBtagSF_;
175        int  minBtag_;
169      int  maxBtag_;
176        bool printEventInfo_;
177        bool printAllTriggers_;
178        bool useTrackCaloRhoCorr_;  // to use the calo-based rho correction for the by-hand calculation of the track isolation energy
# Line 256 | Line 262 | class OSUAnalysis : public edm::EDProduc
262        vector<string>  objectsToGet;
263        vector<string>  objectsToCut;
264        vector<string>  objectsToPlot;
265 +      vector<string>  objectsToFlag;
266 +
267        vector<channel> channels;
268        vector<histogram> histograms;
269        vector<BranchSpecs> treeBranches_;
# Line 271 | Line 279 | class OSUAnalysis : public edm::EDProduc
279        StopCTauWeight *stopCTauWeight_;
280        double stopCTauScaleFactor_;
281  
282 +      ofstream* findEventsLog;
283 +      bool isFirstEvent_;  
284 +
285        template <class InputCollection> void setObjectFlags(cut &, uint, flagMap &, flagMap &, InputCollection, string);
286        template <class InputCollection1, class InputCollection2> void setObjectFlags(cut &, uint, flagMap &, flagMap &, InputCollection1, InputCollection2, flagPair, flagPair, string);
287  
# Line 294 | Line 305 | class OSUAnalysis : public edm::EDProduc
305        const BNmet *chosenMET ();
306        const BNelectron *chosenElectron ();
307        const BNmuon *chosenMuon ();
308 +      double chosenHT ();
309 +      pair<const BNmuon *, const BNmuon*> leadMuonPair ();
310 +      pair<const BNelectron *, const BNelectron*> leadElectronPair ();
311  
312    };
313  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines