ATLAS Offline Software
Loading...
Searching...
No Matches
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() (KEY_TYPE key_a, KEY_TYPE 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 39 of file EmulatedDefects.h.

Member Function Documentation

◆ operator()()

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

Definition at line 41 of file EmulatedDefects.h.

41 {
42 if constexpr(s_needMasking) {
43 return (key_a & MASK_FOR_COMPARISON)
45 }
46 else {
47 return key_a
48 > key_b;
49 }
50 }
Data structure do mark e.g.

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