CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
DTTDCChannelCompare Class Reference

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().

172  {
173  if ( idl. tdcId() < idr. tdcId() ) return true;
174  if ( idl. tdcId() > idr. tdcId() ) return false;
175  if ( idl.channelId() < idr.channelId() ) return true;
176  if ( idl.channelId() > idr.channelId() ) return false;
177  return false;
178 }
int channelId() const