CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions

CSCRangeMapForRecHit Class Reference

#include <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 CSC rechits 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.

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

Destructor.

Definition at line 10 of file CSCRangeMapForRecHit.cc.

{}

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.

                                                                                         {
  
  return std::make_pair(id, CSCDetIdSameChamberCompare());
}
std::pair< CSCDetId, CSCDetIdSameDetLayerCompare > CSCRangeMapForRecHit::cscDetLayer ( CSCDetId  id) [static]

Definition at line 17 of file CSCRangeMapForRecHit.cc.

Referenced by CSCRecHitDBuilder::build().

                                                                                           {
  
  return std::make_pair(id, CSCDetIdSameDetLayerCompare());
}