CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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.

Author
G. Cerminara - INFN Torino

Definition at line 14 of file DTRangeMapAccessor.h.

Member Function Documentation

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

Compare two superLayerId.

Definition at line 18 of file DTRangeMapAccessor.h.

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