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 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
41  first.readoutVMECrateId () != second.readoutVMECrateId () ? first.readoutVMECrateId () < second.readoutVMECrateId () :
42  first.htrSlot () != second.htrSlot () ? first.htrSlot () < second.htrSlot () :
43  first.htrTopBottom () != second.htrTopBottom () ? first.htrTopBottom () < second.htrTopBottom () :
44  first.fiberIndex () != second.fiberIndex () ? first.fiberIndex () < second.fiberIndex () :
45  first.fiberChanId () < second.fiberChanId ();
46  }
int readoutVMECrateId() const