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.

122  {
123  return a->mId == b->mId;
124  }

References a, and b.

◆ good()

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

Definition at line 125 of file HcalElectronicsMap.h.

125 { return a.mId; }

References a.

◆ operator()()

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

Definition at line 119 of file HcalElectronicsMap.h.

119  {
120  return a->mId < b->mId;
121  }

References a, and b.

b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119