CMS 3D CMS Logo

Public Member Functions

HashByDetId Struct Reference

Inheritance diagram for HashByDetId:
unary_function

List of all members.

Public Member Functions

std::size_t operator() (const TransientTrackingRecHit *hit) const

Detailed Description

Definition at line 21 of file TrajectoryCleanerBySharedHits.cc.


Member Function Documentation

std::size_t HashByDetId::operator() ( const TransientTrackingRecHit hit) const [inline]

Definition at line 22 of file TrajectoryCleanerBySharedHits.cc.

References TrackingRecHit::geographicalId(), and DetId::rawId().

                                                                   { 
        boost::hash<uint32_t> hasher; 
        return hasher(hit->geographicalId().rawId());
    }