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 36 of file CastorDbASCIIIO.cc.

Member Function Documentation

◆ operator()()

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

Definition at line 38 of file CastorDbASCIIIO.cc.

References first, and edm::second().

38  {
39  return first.readoutVMECrateId() != second.readoutVMECrateId()
40  ? 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  }
U second(std::pair< T, U > const &p)