Skip to content

Commit

Permalink
Addressing Davids comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sscruz committed Sep 26, 2017
1 parent f436e12 commit 9a1216f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DQMOffline/Trigger/src/HLTMuonMatchAndPlot.cc
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ void HLTMuonMatchAndPlot::analyze(Handle<MuonCollection> & allMuons,
bool passTriggerSS = false;
if (ssPath){
for ( unsigned int hltIndex = 0; hltIndex < numTriggers; ++hltIndex){
passTriggerSS = passTriggerSS || (trigNames.triggerName(hltIndex).find(nonSameSignPath) != std::string::npos && triggerResults->wasrun(hltIndex) && triggerResults->accept(hltIndex));
passTriggerSS = passTriggerSS || (trigNames.triggerName(hltIndex).substr(0,nonSameSignPath.size()) == nonSameSignPath && triggerResults->wasrun(hltIndex) && triggerResults->accept(hltIndex));
}

if (ssPath && targetMuons.size() > 1 && passTriggerSS){
Expand Down

0 comments on commit 9a1216f

Please sign in to comment.