CMS 3D CMS Logo

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

#include <DTRangeMapAccessor.h>

Public Member Functions

bool operator() (DTChamberId ch1, DTChamberId ch2) const
 Compare two ChamberId. More...
 

Detailed Description

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

Author
G. Cerminara - INFN Torino

Definition at line 35 of file DTRangeMapAccessor.h.

Member Function Documentation

bool DTChamberIdComparator::operator() ( DTChamberId  ch1,
DTChamberId  ch2 
) const
inline

Compare two ChamberId.

Definition at line 39 of file DTRangeMapAccessor.h.

39  {
40  if (ch1 == ch2) return false;
41  return (ch1<ch2);
42  }