CMS 3D CMS Logo

CSCRangeMapForRecHit Class Reference

Comparator to retrieve CSCrechits by chamber or by layer. More...

#include <RecoLocalMuon/CSCRecHitD/src/CSCRangeMapForRecHit.h>

List of all members.

Public Member Functions

 CSCRangeMapForRecHit ()
 Constructor.
virtual ~CSCRangeMapForRecHit ()
 Destructor.

Static Public Member Functions

static std::pair< CSCDetId,
CSCDetIdSameChamberCompare
cscChamber (CSCDetId id)
 Returns a valid DetId + a valid comparator for the RangeMap.
static std::pair< CSCDetId,
CSCDetIdSameDetLayerCompare
cscDetLayer (CSCDetId id)


Detailed Description

Comparator to retrieve CSCrechits by chamber or by layer.

Author:
Dominique Fortin

Definition at line 22 of file CSCRangeMapForRecHit.h.


Constructor & Destructor Documentation

CSCRangeMapForRecHit::CSCRangeMapForRecHit (  ) 

Constructor.

CSCRangeMapForRecHit.cc.

author: Dominique Fortin -UCR

Definition at line 8 of file CSCRangeMapForRecHit.cc.

00008 {}

CSCRangeMapForRecHit::~CSCRangeMapForRecHit (  )  [virtual]

Destructor.

Definition at line 10 of file CSCRangeMapForRecHit.cc.

00010 {}


Member Function Documentation

std::pair< CSCDetId, CSCDetIdSameChamberCompare > CSCRangeMapForRecHit::cscChamber ( CSCDetId  id  )  [static]

Returns a valid DetId + a valid comparator for the RangeMap.

Definition at line 12 of file CSCRangeMapForRecHit.cc.

00012                                                                                          {
00013   
00014   return std::make_pair(id, CSCDetIdSameChamberCompare());
00015 }

std::pair< CSCDetId, CSCDetIdSameDetLayerCompare > CSCRangeMapForRecHit::cscDetLayer ( CSCDetId  id  )  [static]

Definition at line 17 of file CSCRangeMapForRecHit.cc.

Referenced by CSCRecHitDBuilder::build().

00017                                                                                            {
00018   
00019   return std::make_pair(id, CSCDetIdSameDetLayerCompare());
00020 }


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