CMS 3D CMS Logo

Public Member Functions

DTChamberIdDetLayerComparator Class Reference

#include <DTRangeMapAccessor.h>

List of all members.

Public Member Functions

bool operator() (DTChamberId ch1, DTChamberId ch2) const

Detailed Description

Comparator to retrieve by chamber objects written into a RangeMap by DetLayer.

Date:
2006/07/18 08:35:31
Revision:
1.2
Author:
M. Sani

Definition at line 60 of file DTRangeMapAccessor.h.


Member Function Documentation

bool DTChamberIdDetLayerComparator::operator() ( DTChamberId  ch1,
DTChamberId  ch2 
) const [inline]

Definition at line 62 of file DTRangeMapAccessor.h.

References DTChamberId::station().

                                                           {

    if (ch1.station() == ch2.station())
      return false;
    
    return (ch1.station() < ch2.station());
  }