Public Member Functions | List of all members
fnex::ParameterDetHasher Struct Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-25/FNEX/dataProducts/Constants.h"

Public Member Functions

std::size_t operator() (ParameterDet const &pd) const
 

Detailed Description

Definition at line 45 of file Constants.h.

Member Function Documentation

std::size_t fnex::ParameterDetHasher::operator() ( ParameterDet const &  pd) const
inline

Definition at line 47 of file Constants.h.

References seed.

48  {
49  // Start with a hash value of 0 .
50  std::size_t seed = 0;
51 
52  // Modify 'seed' by XORing and bit-shifting in
53  // one member of 'Key' after the other:
54  boost::hash_combine(seed, boost::hash_value(pd.first) );
55  boost::hash_combine(seed, boost::hash_value(pd.second));
56 
57  // Return the result.
58  return seed;
59  }
unsigned int seed
Definition: runWimpSim.h:102

The documentation for this struct was generated from the following file: