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

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-30/FNEX/core/Event.h"

Public Member Functions

std::size_t operator() (const novadaq::cnv::DetId &m) const
 

Detailed Description

Definition at line 193 of file Event.h.

Member Function Documentation

std::size_t fnex::DetectorHasher::operator() ( const novadaq::cnv::DetId m) const
inline

Definition at line 195 of file Event.h.

References seed.

196  {
197  // Start with a hash value of 0 .
198  std::size_t seed = 0;
199 
200  // Modify 'seed' by XORing and bit-shifting in
201  // one member of 'Key' after the other:
202  boost::hash_combine(seed, boost::hash_value(m) );
203 
204  // Return the result.
205  return seed;
206  }
unsigned int seed
Definition: runWimpSim.h:102

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