CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
HashIntGlobalPointPair Struct Reference

#include <utils.h>

Public Member Functions

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

Detailed Description

Definition at line 9 of file utils.h.

Member Function Documentation

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

Definition at line 10 of file utils.h.

References isotrackApplyRegressor::k.

10  {
11  auto h1 = std::hash<unsigned long long>()((unsigned long long)g.first);
12  unsigned long long k;
13  memcpy(&k, &g.second, sizeof(k));
14  auto h2 = std::hash<unsigned long long>()(k);
15  return h1 ^ (h2 << 1);
16  }
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