ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/NonMCBackground/src/ElectronFakeRateMod.cc
(Generate patch)

Comparing UserCode/MitHzz4l/NonMCBackground/src/ElectronFakeRateMod.cc (file contents):
Revision 1.3 by anlevin, Thu Jul 5 18:21:22 2012 UTC vs.
Revision 1.6 by anlevin, Wed Jul 18 09:05:38 2012 UTC

# Line 134 | Line 134 | void mithep::ElectronFakeRateMod::Proces
134    
135    fillTriggerBits( GetHLTTable(), fTrigMask, fTriggerBits );
136    
137 +  PFnoPUflag.clear();
138    makePFnoPUArray(fPFCandidates, PFnoPUflag, fPrimVerts );
139      
140    vector<const Muon*> goodMuons;
# Line 141 | Line 142 | void mithep::ElectronFakeRateMod::Proces
142  
143    for(Int_t i=0; i<fMuons->GetEntries(); i++) {
144      const Muon *mu = fMuons->At(i);    
145 <    if( muon2012CutBasedIDTight(mu,fPrimVerts->At(0),fPFCandidates,fPileupEnergyDensity) )              
145 >    if( muonPOG2012CutBasedIDTight(mu,fPrimVerts->At(0),fPFCandidates,fPileupEnergyDensity) )          
146        goodMuons.push_back(mu);
147    }
148    for(Int_t i=0; i<fElectrons->GetEntries(); i++) {
# Line 154 | Line 155 | void mithep::ElectronFakeRateMod::Proces
155          fails_some_denominator = kTRUE;
156      }
157  
158 <    if(!fails_some_denominator && electron2012CutBasedIDMedium(ele, fPrimVerts->At(0), fPFCandidates, fConversions, fPileupEnergyDensity))
158 >    if(!fails_some_denominator && electronPOG2012CutBasedIDMedium(ele, fPrimVerts->At(0), fPFCandidates, fConversions, fPileupEnergyDensity))
159        goodElectrons.push_back(ele);
160    }    
161  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines