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:
TRTCalib_cfilter.p1
p1
Definition: TRTCalib_cfilter.py:130
TRTCalib_cfilter.p2
p2
Definition: TRTCalib_cfilter.py:131