CMS 3D CMS Logo

List of all members | Public Member Functions
std::hash< std::pair< int, GlobalPoint > > Struct Template Reference

#include <TrajSeedMatcher.h>

Public Member Functions

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

Detailed Description

template<>
struct std::hash< std::pair< int, GlobalPoint > >

Definition at line 60 of file TrajSeedMatcher.h.

Member Function Documentation

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

Definition at line 61 of file TrajSeedMatcher.h.

References gen::k.

61  {
62  auto h1 = std::hash<unsigned long long>()((unsigned long long)g.first);
63  unsigned long long k; memcpy(&k, &g.second,sizeof(k));
64  auto h2 = std::hash<unsigned long long>()(k);
65  return h1 ^ (h2 << 1);
66  }
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]