CMS 3D CMS Logo

Public Member Functions

CastorDbASCIIIO::CastorElectronicsIdLess Class Reference

List of all members.

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().

                                                                                   {
      return
        first.readoutVMECrateId () != second.readoutVMECrateId () ? first.readoutVMECrateId () < second.readoutVMECrateId () :
        first.htrSlot () != second.htrSlot () ? first.htrSlot () < second.htrSlot () :
        first.htrTopBottom () != second.htrTopBottom () ? first.htrTopBottom () < second.htrTopBottom () :
        first.fiberIndex () != second.fiberIndex () ? first.fiberIndex () < second.fiberIndex () :
        first.fiberChanId () < second.fiberChanId ();
    }