#include <EventFilter/RPCRawToDigi/interface/RPCRawSynchro.h>
Public Member Functions | |
bool | operator() (const LinkBoardElectronicIndex &lb1, const LinkBoardElectronicIndex &lb2) const |
Definition at line 24 of file RPCRawSynchro.h.
bool RPCRawSynchro::lessLB::operator() | ( | const LinkBoardElectronicIndex & | lb1, | |
const LinkBoardElectronicIndex & | lb2 | |||
) | const |
Definition at line 25 of file RPCRawSynchro.cc.
References LinkBoardElectronicIndex::dccId, LinkBoardElectronicIndex::dccInputChannelNum, LinkBoardElectronicIndex::lbNumInLink, and LinkBoardElectronicIndex::tbLinkInputNum.
00027 { 00028 if (lb1.dccId < lb2.dccId) return true; 00029 if ( (lb1.dccId==lb2.dccId) 00030 && (lb1.dccInputChannelNum< lb2.dccInputChannelNum) ) return true; 00031 if ( (lb1.dccId==lb2.dccId) 00032 && (lb1.dccInputChannelNum == lb2.dccInputChannelNum) 00033 && (lb1.tbLinkInputNum < lb2.tbLinkInputNum ) ) return true; 00034 if ( (lb1.dccId==lb2.dccId) 00035 && (lb1.dccInputChannelNum == lb2.dccInputChannelNum) 00036 && (lb1.tbLinkInputNum == lb2.tbLinkInputNum ) 00037 && (lb1.lbNumInLink < lb2.lbNumInLink) ) return true; 00038 return false; 00039 }