CMS 3D CMS Logo

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

#include <DTRangeMapAccessor.h>

Public Member Functions

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

Static Public Member Functions

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

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.

14 {}
DTRangeMapAccessor::~DTRangeMapAccessor ( )
virtual

Destructor.

Definition at line 18 of file DTRangeMapAccessor.cc.

18 {}

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.

47  {
48  return make_pair(DTChamberId(chamberId), DTChamberIdDetLayerComparator());
49 }
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.

32  {
33  return make_pair(DTLayerId(chamberId,0,0), DTChamberIdComparator());
34 }
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.

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