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

Comparing UserCode/MitHzz4l/NonMCBackground/src/MuonFakeRateMod.cc (file contents):
Revision 1.4 by anlevin, Thu Jul 5 19:34:29 2012 UTC vs.
Revision 1.5 by anlevin, Sat Jul 7 13:33:32 2012 UTC

# Line 30 | Line 30 | const Float_t g_muon_mass = 105.658369e-
30  
31   void mithep::MuonFakeRateMod::SlaveBegin()
32   {
33 +
34    denominatorType.push_back(1);
35    denominatorType.push_back(2);
36  
# Line 85 | Line 86 | void mithep::MuonFakeRateMod::SlaveBegin
86    }
87    
88    rlrm.AddJSONFile("/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions12/8TeV/Prompt/Cert_190456-194479_8TeV_PromptReco_Collisions12_JSON.txt");
89 +
90   }
91  
92   void mithep::MuonFakeRateMod::SlaveTerminate()
# Line 290 | Line 292 | void mithep::MuonFakeRateMod::Process()
292          if(!muonIDPFSelection(ctrl,  mu, fPrimVerts->At(0), fPFCandidates ).looseID()) passNumerator = kFALSE;
293          if(fabs(mu->Ip3dPVSignificance()) > 4) passNumerator = kFALSE;  
294          if(!muonReferenceIsoSelection(ctrl,mu,fPrimVerts->At(0),fPFCandidates,fPileupEnergyDensity,eraMu,photonsToVeto).passLooseIso()) passNumerator = kFALSE;                
295 <        
296 <        if (passNumerator)
295 <          fake_muon_pass[denominatorTypeIndex] = passNumerator ? 1 : 0;
295 >      
296 >        fake_muon_pass[denominatorTypeIndex] = passNumerator ? 1 : 0;
297          
298          fOutputTrees[denominatorTypeIndex]->Fill();
299          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines