Public Member Functions | |
bool | operator() (TransientTrackingRecHit::ConstRecHitPointer hit_1, TransientTrackingRecHit::ConstRecHitPointer hit_2) |
bool | operator() (MuonTransientTrackingRecHit::MuonRecHitPointer const &hit_1, MuonTransientTrackingRecHit::MuonRecHitPointer const &hit_2) |
Definition at line 29 of file SETFilter.cc.
bool sorter::operator() | ( | TransientTrackingRecHit::ConstRecHitPointer | hit_1, |
TransientTrackingRecHit::ConstRecHitPointer | hit_2 | ||
) | [inline] |
Definition at line 31 of file SETFilter.cc.
References GeomDetEnumerators::CSC, and CSC().
{ if(hit_1->det()->subDetector() != GeomDetEnumerators::CSC || hit_2->det()->subDetector() != GeomDetEnumerators::CSC){ // this is a piculiar "fix" for CSCs return (hit_1->globalPosition().mag2()>hit_2->globalPosition().mag2()); } else{ return (fabs(hit_1->globalPosition().z())>fabs(hit_2->globalPosition().z())); } }
bool sorter::operator() | ( | MuonTransientTrackingRecHit::MuonRecHitPointer const & | hit_1, |
MuonTransientTrackingRecHit::MuonRecHitPointer const & | hit_2 | ||
) | [inline] |
Definition at line 45 of file SETSeedFinder.cc.
{
return (hit_1->globalPosition().mag2()<hit_2->globalPosition().mag2());
}