CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions
CSCRangeMapForRecHit Class Reference

#include <CSCRangeMapForRecHit.h>

Public Member Functions

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

Static Public Member Functions

static std::pair< CSCDetId, CSCDetIdSameChamberComparecscChamber (CSCDetId id)
 Returns a valid DetId + a valid comparator for the RangeMap. More...
 
static std::pair< CSCDetId, CSCDetIdSameDetLayerComparecscDetLayer (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.

8 {}
CSCRangeMapForRecHit::~CSCRangeMapForRecHit ( )
virtual

Destructor.

Definition at line 10 of file CSCRangeMapForRecHit.cc.

10 {}

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.

12  {
13 
14  return std::make_pair(id, CSCDetIdSameChamberCompare());
15 }
std::pair< CSCDetId, CSCDetIdSameDetLayerCompare > CSCRangeMapForRecHit::cscDetLayer ( CSCDetId  id)
static

Definition at line 17 of file CSCRangeMapForRecHit.cc.

17  {
18 
19  return std::make_pair(id, CSCDetIdSameDetLayerCompare());
20 }