CMS 3D CMS Logo

Public Member Functions

DTROBCardCompare Class Reference

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 119 of file DTCompactMapWriter.cc.


Member Function Documentation

bool DTROBCardCompare::operator() ( const DTROBCardId idl,
const DTROBCardId idr 
) const

Definition at line 126 of file DTCompactMapWriter.cc.

References DTROBCardId::stationId().

                                                                   {
  if ( idl.  wheelId() < idr.  wheelId() ) return true;
  if ( idl.  wheelId() > idr.  wheelId() ) return false;
  if ( idl. sectorId() < idr. sectorId() ) return true;
  if ( idl. sectorId() > idr. sectorId() ) return false;
  if ( idl.stationId() < idr.stationId() ) return true;
  if ( idl.stationId() > idr.stationId() ) return false;
  if ( idl.    robId() < idr.    robId() ) return true;
  if ( idl.    robId() > idr.    robId() ) return false;
  return false;
}