Skip to content

Commit

Permalink
Merge pull request #7 from ThOliveira23/from-CMSSW_12_5_0_pre1
Browse files Browse the repository at this point in the history
Code maintenance for Run III in the DQMOffline ZCounting.
  • Loading branch information
ThOliveira23 authored May 26, 2022
2 parents 836184f + fb3ee30 commit e3c5995
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions DQMOffline/Lumi/plugins/ZCounting.cc
Original file line number Diff line number Diff line change
Expand Up @@ -869,10 +869,11 @@ bool ZCounting::isCustomTightMuon(const reco::Muon& muon) {

bool muID = isGoodMuon(muon, muon::GlobalMuonPromptTight) && (muon.numberOfMatchedStations() > 1);

bool hits = muon.innerTrack()->hitPattern().trackerLayersWithMeasurement() > 5 &&
muon.innerTrack()->hitPattern().numberOfValidPixelHits() > 0;
bool muIdAndHits = muID && muon.innerTrack()->hitPattern().trackerLayersWithMeasurement() > 5 &&
muon.innerTrack()->hitPattern().numberOfValidPixelHits() > 0;

return muIdAndHits;

return muID && hits;
}

//--------------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion DQMOffline/Lumi/python/ZCounting_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
MuonTriggerNames = cms.vstring("HLT_IsoMu24_v*"),
MuonTriggerObjectNames = cms.vstring("hltL3crIsoL1sSingleMu22L1f0L2f10QL3f24QL3trkIsoFiltered0p07"),

IDType = cms.untracked.string("CustomTight"),# Tight, Medium, Loose, CustomTight
IDType = cms.untracked.string("CustomTight"), # Tight, Medium, Loose, CustomTight
IsoType = cms.untracked.string("NULL"), # Tracker-based, PF-based
IsoCut = cms.untracked.double(0.), # {0.05, 0.10} for Tracker-based, {0.15, 0.25} for PF-based

Expand Down

0 comments on commit e3c5995

Please sign in to comment.