Skip to content

Commit

Permalink
Fixing muon double counting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ingabu committed Nov 6, 2013
1 parent 49c70f5 commit 534af60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HLTrigger/HLTanalyzers/src/HLTMCtruth.cc
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void HLTMCtruth::analyze(const edm::Handle<reco::CandidateView> & mctruth,

// Set-up flags, based on Pythia-generator information, for avoiding double-counting events when
// using both pp->{e,mu}X AND QCD samples
// if (((mcpid[nmc]==13)||(mcpid[nmc]==-13))&&(mcpt[nmc]>2.5)) {mu3 += 1;} // Flag for muons with pT > 2.5 GeV/c
if (((mcpid[nmc]==13)||(mcpid[nmc]==-13))&&(mcpt[nmc]>2.5)) {mu3 += 1;} // Flag for muons with pT > 2.5 GeV/c
if (((mcpid[nmc]==11)||(mcpid[nmc]==-11))&&(mcpt[nmc]>2.5)) {el3 += 1;} // Flag for electrons with pT > 2.5 GeV/c

if (mcpid[nmc]==-5) {mab += 1;} // Flag for bbar
Expand Down

0 comments on commit 534af60

Please sign in to comment.