CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
std::hash< std::pair< const GeomDet *, GlobalPoint > > Struct Template Reference

#include <PixelHitMatcher.h>

Public Member Functions

std::size_t operator() (const std::pair< const GeomDet *, GlobalPoint > &g) const
 

Detailed Description

template<>
struct std::hash< std::pair< const GeomDet *, GlobalPoint > >

Definition at line 57 of file PixelHitMatcher.h.

Member Function Documentation

std::size_t std::hash< std::pair< const GeomDet *, GlobalPoint > >::operator() ( const std::pair< const GeomDet *, GlobalPoint > &  g) const
inline

Definition at line 58 of file PixelHitMatcher.h.

58  {
59  std::size_t hsh = 5381;
60  hsh = ((hsh << 5) + hsh) + (unsigned long)g.first;
61  hsh = ((hsh << 5) + hsh) + 10000*g.second.x();
62  hsh = ((hsh << 5) + hsh) + 10000*g.second.y();
63  hsh = ((hsh << 5) + hsh) + 10000*g.second.z();
64  return hsh;
65  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4