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.2 by anlevin, Thu Jul 5 14:26:26 2012 UTC vs.
Revision 1.5 by dkralph, Mon Jul 9 08:53:53 2012 UTC

# Line 140 | Line 140 | void mithep::ElectronFakeRateMod::Proces
140    vector<const Electron*> goodElectrons;
141  
142    for(Int_t i=0; i<fMuons->GetEntries(); i++) {
143 <    const Muon *mu = fMuons->At(i);  
144 <    ControlFlags ctrl;
145 <    ctrl.era = 2012;
146 <    if( muon2012CutBasedIDTight(ctrl,mu,fPrimVerts->At(0),fPFCandidates,fPileupEnergyDensity,mithep::MuonTools::kMuEAData2012) )                
143 >    const Muon *mu = fMuons->At(i);    
144 >    if( muonPOG2012CutBasedIDTight(mu,fPrimVerts->At(0),fPFCandidates,fPileupEnergyDensity) )          
145        goodMuons.push_back(mu);
146    }
147    for(Int_t i=0; i<fElectrons->GetEntries(); i++) {
# Line 155 | Line 153 | void mithep::ElectronFakeRateMod::Proces
153        else
154          fails_some_denominator = kTRUE;
155      }
158    ControlFlags ctrl;
159    ctrl.era = 2012;
156  
157 <    if(!fails_some_denominator && electron2012CutBasedIDMedium(ctrl,ele, fPrimVerts->At(0), fPFCandidates, fConversions, fPileupEnergyDensity,mithep::ElectronTools::kEleEAData2012))
157 >    if(!fails_some_denominator && electronPOG2012CutBasedIDMedium(ele, fPrimVerts->At(0), fPFCandidates, fConversions, fPileupEnergyDensity))
158        goodElectrons.push_back(ele);
159    }    
160  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines