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.

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

Definition at line 39 of file DTRangeMapAccessor.h.

Member Function Documentation

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

Compare two ChamberId.

Definition at line 43 of file DTRangeMapAccessor.h.

43  {
44  if (ch1 == ch2) return false;
45  return (ch1<ch2);
46  }