CMS 3D CMS Logo

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

#include <DTRangeMapAccessor.h>

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/17 11:00:00
Revision:
1.1
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().

62  {
63 
64  if (ch1.station() == ch2.station())
65  return false;
66 
67  return (ch1.station() < ch2.station());
68  }
int station() const
Return the station number.
Definition: DTChamberId.h:53