Public Member Functions | |
bool | operator() (const LinkBoardElectronicIndex &lb1, const LinkBoardElectronicIndex &lb2) const |
Definition at line 25 of file RPCReadOutMappingWithFastSearch.h.
bool RPCReadOutMappingWithFastSearch::lessMap::operator() | ( | const LinkBoardElectronicIndex & | lb1, |
const LinkBoardElectronicIndex & | lb2 | ||
) | const |
Definition at line 7 of file RPCReadOutMappingWithFastSearch.cc.
References LinkBoardElectronicIndex::dccId, LinkBoardElectronicIndex::dccInputChannelNum, LinkBoardElectronicIndex::lbNumInLink, and LinkBoardElectronicIndex::tbLinkInputNum.
{ if ( lb1.dccId < lb2.dccId) return true; if ( lb1.dccId > lb2.dccId) return false; if ( lb1.dccInputChannelNum < lb2.dccInputChannelNum) return true; if ( lb1.dccInputChannelNum > lb2.dccInputChannelNum) return false; if ( lb1.tbLinkInputNum < lb2.tbLinkInputNum) return true; if ( lb1.tbLinkInputNum > lb2.tbLinkInputNum) return false; if ( lb1.lbNumInLink < lb2.lbNumInLink) return true; if ( lb1.lbNumInLink > lb2.lbNumInLink) return false; return false; }