CMS 3D CMS Logo

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

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

70  {
71  if ( idl. dduId() < idr. dduId() ) return true;
72  if ( idl. dduId() > idr. dduId() ) return false;
73  if ( idl. rosId() < idr. rosId() ) return true;
74  if ( idl. rosId() > idr. rosId() ) return false;
75  if ( idl.channelId() < idr.channelId() ) return true;
76  if ( idl.channelId() > idr.channelId() ) return false;
77  return false;
78 }
int channelId() const