ATLAS Offline Software
Public Member Functions | List of all members
InDet::EmulatedDefects< T_ModuleHelper >::greater Class Reference

Special greater operator which ignores the column group flag in the comparison. More...

#include <EmulatedDefects.h>

Collaboration diagram for InDet::EmulatedDefects< T_ModuleHelper >::greater:

Public Member Functions

bool operator() (unsigned int key_a, unsigned int key_b)
 

Detailed Description

template<class T_ModuleHelper>
class InDet::EmulatedDefects< T_ModuleHelper >::greater

Special greater operator which ignores the column group flag in the comparison.

Definition at line 33 of file EmulatedDefects.h.

Member Function Documentation

◆ operator()()

template<class T_ModuleHelper >
bool InDet::EmulatedDefects< T_ModuleHelper >::greater::operator() ( unsigned int  key_a,
unsigned int  key_b 
)
inline

Definition at line 35 of file EmulatedDefects.h.

35  {
36  return (key_a & MASK_FOR_COMPARISON)
37  > (key_b & MASK_FOR_COMPARISON);
38  }

The documentation for this class was generated from the following file:
InDet::EmulatedDefects::MASK_FOR_COMPARISON
static constexpr unsigned int MASK_FOR_COMPARISON
Definition: EmulatedDefects.h:30