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

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

Definition at line 122 of file HcalElectronicsMap.h.

References HcalElectronicsMap::PrecisionItem::mId.

122  {
123  return a->mId == b->mId;
124  }
bool HcalElectronicsMapAddons::LessById::good ( const HcalElectronicsMap::PrecisionItem a)
inline

Definition at line 125 of file HcalElectronicsMap.h.

References HcalElectronicsMap::PrecisionItem::mId.

125 { return a.mId; }
bool HcalElectronicsMapAddons::LessById::operator() ( const HcalElectronicsMap::PrecisionItem a,
const HcalElectronicsMap::PrecisionItem b 
)
inline

Definition at line 119 of file HcalElectronicsMap.h.

References HcalElectronicsMap::PrecisionItem::mId.

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