CMS 3D CMS Logo

Public Member Functions

DTTDCChannelCompare Class Reference

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 164 of file DTCompactMapWriter.cc.


Member Function Documentation

bool DTTDCChannelCompare::operator() ( const DTTDCChannelId idl,
const DTTDCChannelId idr 
) const

Definition at line 171 of file DTCompactMapWriter.cc.

References DTTDCChannelId::channelId().

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