ATLAS Offline Software
Public Member Functions | List of all members
TrigInDetAccelerationSvc::PhiEtaHash::compare Struct Reference

#include <TrigInDetAccelerationSvc.h>

Collaboration diagram for TrigInDetAccelerationSvc::PhiEtaHash::compare:

Public Member Functions

bool operator() (const struct PhiEtaHash &p1, const struct PhiEtaHash &p2)
 

Detailed Description

Definition at line 53 of file TrigInDetAccelerationSvc.h.

Member Function Documentation

◆ operator()()

bool TrigInDetAccelerationSvc::PhiEtaHash::compare::operator() ( const struct PhiEtaHash p1,
const struct PhiEtaHash p2 
)
inline

Definition at line 55 of file TrigInDetAccelerationSvc.h.

55  {
56  if(p1.m_phiIndex == p2.m_phiIndex) {
57  return p1.m_etaIndex < p2.m_etaIndex;
58  }
59  else {
60  return p1.m_phiIndex < p2.m_phiIndex;
61  }
62  }

The documentation for this struct was generated from the following file:
PhiEtaHash::m_etaIndex
short m_etaIndex
Definition: TrigL2LayerNumberTool.h:40
PhiEtaHash::m_phiIndex
short m_phiIndex
Definition: TrigL2LayerNumberTool.h:39