CMS 3D CMS Logo

Public Member Functions

DTChamberIdComparator Class Reference

#include <DTRangeMapAccessor.h>

List of all members.

Public Member Functions

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

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.

                                                          {
    if (ch1 == ch2) return false;
    return (ch1<ch2);
  }