Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75754
b: "refs/heads/CMSSW_7_1_X"
c: e54b1aa
h: "refs/heads/CMSSW_7_1_X"
v: v3
  • Loading branch information
Jeff Klukas committed Oct 19, 2009
1 parent 6471868 commit 3e2c8e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e
"refs/heads/CMSSW_7_1_X": b048d19db13c1d269697d5fc5a0587b09434c701
"refs/heads/CMSSW_7_1_X": e54b1aa090e55def2d6fb312bfeed9f9ce67c5d6
13 changes: 5 additions & 8 deletions trunk/HLTriggerOffline/Muon/src/HLTMuonValidator.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** \file HLTMuonValidator.cc
* $Date: 2009/10/15 19:58:08 $
* $Revision: 1.1 $
* $Date: 2009/10/16 19:56:20 $
* $Revision: 1.2 $
*/

#include "HLTriggerOffline/Muon/interface/HLTMuonValidator.h"
Expand Down Expand Up @@ -339,12 +339,9 @@ HLTMuonValidator::findMother(const reco::Candidate* p)
bool
HLTMuonValidator::identical(const Candidate * p1, const Candidate * p2)
{
if (p1 == 0)
if (p2 == 0)
return true;
else
return false;
if (p1->eta() == p2->eta() &&
if (p1 != 0 &&
p2 != 0 &&
p1->eta() == p2->eta() &&
p1->phi() == p2->phi() &&
p1->pt () == p2->pt ())
return true;
Expand Down

0 comments on commit 3e2c8e8

Please sign in to comment.