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.18 by wulsin, Tue Mar 26 13:17:54 2013 UTC vs.
Revision 1.21 by ahart, Thu Apr 11 00:56:49 2013 UTC

# Line 47 | Line 47
47   #include "OSUT3Analysis/AnaTools/interface/PUWeight.h"
48   #include "OSUT3Analysis/AnaTools/interface/SFWeight.h"
49  
50 <
51 <
50 > #ifdef DISPLACED_SUSY
51 > #include "DisplacedSUSY/Configuration/interface/CTauWeight.h"
52 > #endif
53  
54   using namespace std;
55  
# Line 69 | Line 70 | class OSUAnalysis : public edm::EDAnalyz
70        double valueLookup (const BNelectron* object, string variable, string function = "");
71        double valueLookup (const BNelectron* object1, const BNelectron* object2, string variable, string function = "");
72        double valueLookup (const BNelectron* object1, const BNmuon* object2, string variable, string function = "");
73 +      double valueLookup (const BNelectron* object1, const BNtrack* object2, string variable, string function = "");
74 +      double valueLookup (const BNmuon* object1, const BNtrack* object2, string variable, string function = "");
75 +      double valueLookup (const BNmuon* object1, const BNtau* object2, string variable, string function = "");
76 +      double valueLookup (const BNtau* object1, const BNtau* object2, string variable, string function = "");
77        double valueLookup (const BNevent* object, string variable, string function = "");
78        double valueLookup (const BNtau* object, string variable, string function = "");
79        double valueLookup (const BNmet* object, string variable, string function = "");
80        double valueLookup (const BNtrack* object, string variable, string function = "");
81 +      double valueLookup (const BNtrack* object1, const BNevent* object2, string variable, string function = "");
82        double valueLookup (const BNgenjet* object, string variable, string function = "");
83        double valueLookup (const BNmcparticle* object, string variable, string function = "");
84        double valueLookup (const BNprimaryvertex* object, string variable, string function = "");
# Line 84 | Line 90 | class OSUAnalysis : public edm::EDAnalyz
90        double getTrkPtTrue (const BNtrack* track1, const BNmcparticleCollection* genPartColl);
91        double getTrkPtRes (const BNtrack* track1);
92        double getTrkIsIso (const BNtrack* track1);
93 +      double getTrkCaloTotRhoCorr(const BNtrack* track);
94        void WriteDeadEcal ();
95        int getTrkIsMatchedDeadEcal (const BNtrack* track1);
96  
# Line 118 | Line 125 | class OSUAnalysis : public edm::EDAnalyz
125        edm::InputTag tracks_;
126        edm::InputTag genjets_;
127        edm::InputTag mcparticles_;
128 +      edm::InputTag stops_;
129        edm::InputTag primaryvertexs_;
130        edm::InputTag bxlumis_;
131        edm::InputTag photons_;
# Line 136 | Line 144 | class OSUAnalysis : public edm::EDAnalyz
144        bool plotAllObjectsInPassingEvents_;
145        bool doPileupReweighting_;
146        bool printEventInfo_;  
147 +      bool useTrackCaloRhoCorr_;  // to use the calo-based rho correction for the by-hand calculation of the track isolation energy
148 +      vector<double> stopCTau_;
149  
150        struct DeadEcal {
151          double etaEcal;
# Line 160 | Line 170 | class OSUAnalysis : public edm::EDAnalyz
170        edm::Handle<BNbxlumiCollection> bxlumis;
171        edm::Handle<BNphotonCollection> photons;
172        edm::Handle<BNsuperclusterCollection> superclusters;
173 +      edm::Handle<double> rhokt6CaloJetsHandle_;  
174  
175        flagMap cumulativeFlags;
176  
# Line 207 | Line 218 | class OSUAnalysis : public edm::EDAnalyz
218        PUWeight *puWeight_;
219        MuonSFWeight *muonSFWeight_;
220        ElectronSFWeight *electronSFWeight_;
221 + #ifdef DISPLACED_SUSY
222 +      CTauWeight *cTauWeight_;
223 + #endif
224 +      double cTauScaleFactor_;
225  
226        template <class InputCollection> void setObjectFlags(cut &, uint, flagMap &, flagMap &, InputCollection, string);
227        template <class InputCollection1, class InputCollection2> void setObjectFlags(cut &, uint, flagMap &, flagMap &, InputCollection1, InputCollection2, vector<bool>, vector<bool>, string);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines