CMS 3D CMS Logo

DTRangeMapAccessor Class Reference

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

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

00014 {}

DTRangeMapAccessor::~DTRangeMapAccessor (  )  [virtual]

Destructor.

Definition at line 18 of file DTRangeMapAccessor.cc.

00018 {}


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.

00047                                                             {
00048   return make_pair(DTChamberId(chamberId), DTChamberIdDetLayerComparator());
00049 }

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.

00032                                                          {
00033   return make_pair(DTLayerId(chamberId,0,0), DTChamberIdComparator());
00034 }

pair< DTLayerId, DTSuperLayerIdComparator > DTRangeMapAccessor::layersBySuperLayer ( DTSuperLayerId  slId  )  [static]

Access by SL objects written into a RangeMap by layer.

Definition at line 24 of file DTRangeMapAccessor.cc.

Referenced by DTEfficiencyTask::analyze(), DTRecSegment2DProducer::produce(), DTMeantimerPatternReco4D::setDTRecHit1DContainer(), and DTCombinatorialPatternReco4D::setDTRecHit1DContainer().

00024                                                           {
00025   return make_pair(DTLayerId(slId,0), DTSuperLayerIdComparator());
00026 }

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.

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


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