CMS 3D CMS Logo

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

◆ operator()()

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  }