ATLAS Offline Software
Public Member Functions | List of all members
xAOD::RDataSourceEvent::key_hash Class Reference

Custom hash functor for use with Key_t. More...

Collaboration diagram for xAOD::RDataSourceEvent::key_hash:

Public Member Functions

std::size_t operator() (const Key_t &key) const
 Function calculating the hash for this type. More...
 

Detailed Description

Custom hash functor for use with Key_t.

Definition at line 50 of file RDataSourceEvent.h.

Member Function Documentation

◆ operator()()

std::size_t xAOD::RDataSourceEvent::key_hash::operator() ( const Key_t key) const

Function calculating the hash for this type.

Definition at line 136 of file RDataSourceEvent.cxx.

136  {
137 
138  return std::hash< std::string >()( key.first + key.second->name() );
139  }

The documentation for this class was generated from the following files:
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37