Public Member Functions | |
bool | operator() (const TransientTrackingRecHit *h1, const TransientTrackingRecHit *h2) const |
Definition at line 15 of file TrajectoryCleanerBySharedHits.cc.
bool EqualsBySharesInput::operator() | ( | const TransientTrackingRecHit * | h1, |
const TransientTrackingRecHit * | h2 | ||
) | const [inline] |
Definition at line 16 of file TrajectoryCleanerBySharedHits.cc.
References TrackingRecHit::geographicalId(), TransientTrackingRecHit::hit(), TrackingRecHit::sharesInput(), and TrackingRecHit::some.
{ return (h1 == h2) || ((h1->geographicalId() == h2->geographicalId()) && (h1->hit()->sharesInput(h2->hit(), TrackingRecHit::some))); }