Skip to content

Commit

Permalink
Merge pull request #77 from OlivierBondu/muonid_fix
Browse files Browse the repository at this point in the history
Fix dxy and dz cuts
  • Loading branch information
OlivierBondu committed Jan 31, 2016
2 parents 872ab99 + aa4cdf3 commit 53ae2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/HHAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void HHAnalyzer::analyze(const edm::Event& event, const edm::EventSetup&, const
mu.id_L = allmuons.isLoose[imuon];
mu.id_M = allmuons.isMedium[imuon];
mu.id_T = allmuons.isTight[imuon];
mu.id_HWW = mu.id_M && (allmuons.dz[imuon] < 0.1) && (allmuons.dxy[imuon] < 0.02);
mu.id_HWW = mu.id_M && (mu.p4.Pt() < 20. ? fabs(allmuons.dxy[imuon]) < 0.01 : fabs(allmuons.dxy[imuon]) < 0.02) && (fabs(allmuons.dz[imuon]) < 0.1);
mu.iso_L = allmuons.relativeIsoR04_deltaBeta[imuon] < m_muonLooseIsoCut;
mu.iso_T = allmuons.relativeIsoR04_deltaBeta[imuon] < m_muonTightIsoCut;
mu.iso_HWW = mu.iso_T; // For the isolation use relative PF isolation (cone size = 0.4) with deltaBeta PU corrections (a.l.a. Run I) and WP < 0.15
Expand Down

0 comments on commit 53ae2d4

Please sign in to comment.