CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
HashByDetId Struct Reference
Inheritance diagram for HashByDetId:

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().

22  {
23  boost::hash<uint32_t> hasher;
24  return hasher(hit->geographicalId().rawId());
25  }
uint32_t rawId() const
get the raw id
Definition: DetId.h:45
DetId geographicalId() const