CMS 3D CMS Logo

List of all members | Public Member Functions
CastorDbASCIIIO::CastorElectronicsIdLess Class Reference

Public Member Functions

bool operator() (CastorElectronicsId first, CastorElectronicsId second) const
 

Detailed Description

Definition at line 37 of file CastorDbASCIIIO.cc.

Member Function Documentation

bool CastorDbASCIIIO::CastorElectronicsIdLess::operator() ( CastorElectronicsId  first,
CastorElectronicsId  second 
) const
inline

Definition at line 39 of file CastorDbASCIIIO.cc.

References CastorElectronicsId::fiberChanId(), CastorElectronicsId::fiberIndex(), CastorElectronicsId::htrSlot(), CastorElectronicsId::htrTopBottom(), and CastorElectronicsId::readoutVMECrateId().

39  {
40  return first.readoutVMECrateId() != second.readoutVMECrateId()
41  ? first.readoutVMECrateId() < second.readoutVMECrateId()
42  : first.htrSlot() != second.htrSlot()
43  ? first.htrSlot() < second.htrSlot()
44  : first.htrTopBottom() != second.htrTopBottom()
45  ? first.htrTopBottom() < second.htrTopBottom()
46  : first.fiberIndex() != second.fiberIndex() ? first.fiberIndex() < second.fiberIndex()
47  : first.fiberChanId() < second.fiberChanId();
48  }
int readoutVMECrateId() const