CMS 3D CMS Logo

List of all members | Public Member Functions
HcalElectronicsMapAddons::LessById Class Reference

#include <HcalElectronicsMap.h>

Public Member Functions

bool equal (const HcalElectronicsMap::PrecisionItem *a, const HcalElectronicsMap::PrecisionItem *b)
 
bool good (const HcalElectronicsMap::PrecisionItem &a)
 
bool operator() (const HcalElectronicsMap::PrecisionItem *a, const HcalElectronicsMap::PrecisionItem *b)
 

Detailed Description

Definition at line 117 of file HcalElectronicsMap.h.

Member Function Documentation

◆ equal()

bool HcalElectronicsMapAddons::LessById::equal ( const HcalElectronicsMap::PrecisionItem a,
const HcalElectronicsMap::PrecisionItem b 
)
inline

Definition at line 122 of file HcalElectronicsMap.h.

References a, and b.

122  {
123  return a->mId == b->mId;
124  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ good()

bool HcalElectronicsMapAddons::LessById::good ( const HcalElectronicsMap::PrecisionItem a)
inline

Definition at line 125 of file HcalElectronicsMap.h.

References a.

125 { return a.mId; }
double a
Definition: hdecay.h:121

◆ operator()()

bool HcalElectronicsMapAddons::LessById::operator() ( const HcalElectronicsMap::PrecisionItem a,
const HcalElectronicsMap::PrecisionItem b 
)
inline

Definition at line 119 of file HcalElectronicsMap.h.

References a, and b.

119  {
120  return a->mId < b->mId;
121  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121