CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions

DTRangeMapAccessor Class Reference

#include <DTRangeMapAccessor.h>

List of all members.

Public Member Functions

 DTRangeMapAccessor ()
 Constructor.
virtual ~DTRangeMapAccessor ()
 Destructor.

Static Public Member Functions

static std::pair< DTChamberId,
DTChamberIdDetLayerComparator
chambersByDetLayer (DTChamberId id)
 Access chambers in a RangeMap by DetLayer.
static std::pair< DTLayerId,
DTChamberIdComparator
layersByChamber (DTChamberId chamberId)
 Access by chamber objects written into a RangeMap by layer.
static std::pair< DTLayerId,
DTSuperLayerIdComparator
layersBySuperLayer (DTSuperLayerId slId)
 Access by SL objects written into a RangeMap by layer.
static std::pair
< DTSuperLayerId,
DTChamberIdComparator
superLayersByChamber (DTChamberId chamberId)
 Access by chamber objects written into a RangeMap by SL.

Detailed Description

Utility class for access to objects in a RangeMap with needed granularity.

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

Definition at line 80 of file DTRangeMapAccessor.h.


Constructor & Destructor Documentation

DTRangeMapAccessor::DTRangeMapAccessor ( )

Constructor.

Definition at line 14 of file DTRangeMapAccessor.cc.

{}
DTRangeMapAccessor::~DTRangeMapAccessor ( ) [virtual]

Destructor.

Definition at line 18 of file DTRangeMapAccessor.cc.

{}

Member Function Documentation

pair< DTChamberId, DTChamberIdDetLayerComparator > DTRangeMapAccessor::chambersByDetLayer ( DTChamberId  id) [static]

Access chambers in a RangeMap by DetLayer.

Definition at line 47 of file DTRangeMapAccessor.cc.

References DTChamberId.

                                                            {
  return make_pair(DTChamberId(chamberId), DTChamberIdDetLayerComparator());
}
pair< DTLayerId, DTChamberIdComparator > DTRangeMapAccessor::layersByChamber ( DTChamberId  chamberId) [static]

Access by chamber objects written into a RangeMap by layer.

Definition at line 32 of file DTRangeMapAccessor.cc.

References DTLayerId.

                                                         {
  return make_pair(DTLayerId(chamberId,0,0), DTChamberIdComparator());
}
pair< DTLayerId, DTSuperLayerIdComparator > DTRangeMapAccessor::layersBySuperLayer ( DTSuperLayerId  slId) [static]
pair< DTSuperLayerId, DTChamberIdComparator > DTRangeMapAccessor::superLayersByChamber ( DTChamberId  chamberId) [static]

Access by chamber objects written into a RangeMap by SL.

Definition at line 40 of file DTRangeMapAccessor.cc.

References DTSuperLayerId.

                                                              {
  return make_pair(DTSuperLayerId(chamberId,0), DTChamberIdComparator());
}