CMS 3D CMS Logo

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 55 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 56 of file PixelHitMatcher.h.

References gen::k.

56  {
57  auto h1 = std::hash<unsigned long long>()((unsigned long long)g.first);
58  unsigned long long k; memcpy(&k, &g.second,sizeof(k));
59  auto h2 = std::hash<unsigned long long>()(k);
60  return h1 ^ (h2 << 1);
61  }
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
int k[5][pyjets_maxn]