CMS 3D CMS Logo

Public Member Functions

DTROSChannelCompare Class Reference

List of all members.

Public Member Functions

bool operator() (const DTROSChannelId &idl, const DTROSChannelId &idr) const

Detailed Description

Definition at line 62 of file DTCompactMapWriter.cc.


Member Function Documentation

bool DTROSChannelCompare::operator() ( const DTROSChannelId idl,
const DTROSChannelId idr 
) const

Definition at line 69 of file DTCompactMapWriter.cc.

References DTROSChannelId::channelId().

                                                                         {
  if ( idl.    dduId() < idr.    dduId() ) return true;
  if ( idl.    dduId() > idr.    dduId() ) return false;
  if ( idl.    rosId() < idr.    rosId() ) return true;
  if ( idl.    rosId() > idr.    rosId() ) return false;
  if ( idl.channelId() < idr.channelId() ) return true;
  if ( idl.channelId() > idr.channelId() ) return false;
  return false;
}