CMS 3D CMS Logo

DTChamberIdDetLayerComparator Class Reference

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

#include <DataFormats/DTRecHit/interface/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().

00062                                                            {
00063 
00064     if (ch1.station() == ch2.station())
00065       return false;
00066     
00067     return (ch1.station() < ch2.station());
00068   }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:18:47 2009 for CMSSW by  doxygen 1.5.4