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

◆ operator()()

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

Definition at line 39 of file CastorDbASCIIIO.cc.

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  }

References first, and edm::second().

edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:222
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:112