CMS 3D CMS Logo

Public Member Functions

DTSuperLayerIdComparator Class Reference

#include <DTRangeMapAccessor.h>

List of all members.

Public Member Functions

bool operator() (DTSuperLayerId sl1, DTSuperLayerId sl2) const
 Compare two superLayerId.

Detailed Description

Comparator to retrieve by SL objects written into a RangeMap by layer.

Date:
2006/07/18 08:35:31
Revision:
1.2
Author:
G. Cerminara - INFN Torino

Definition at line 16 of file DTRangeMapAccessor.h.


Member Function Documentation

bool DTSuperLayerIdComparator::operator() ( DTSuperLayerId  sl1,
DTSuperLayerId  sl2 
) const [inline]

Compare two superLayerId.

Definition at line 20 of file DTRangeMapAccessor.h.

                                                                {
    if (sl1 == sl2) return false;
    return (sl1 < sl2);
  }