CMS 3D CMS Logo

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

#include <DTRangeMapAccessor.h>

Public Member Functions

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

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.

20  {
21  if (sl1 == sl2) return false;
22  return (sl1 < sl2);
23  }