CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 36 of file CastorDbASCIIIO.cc.

Member Function Documentation

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

Definition at line 38 of file CastorDbASCIIIO.cc.

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

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