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::CSCRangeMapForRecHit ( )

Constructor.

CSCRangeMapForRecHit.cc

author: Dominique Fortin -UCR

Definition at line 8 of file CSCRangeMapForRecHit.cc.

8 {}

◆ ~CSCRangeMapForRecHit()

CSCRangeMapForRecHit::~CSCRangeMapForRecHit ( )
virtual

Destructor.

Definition at line 10 of file CSCRangeMapForRecHit.cc.

10 {}

Member Function Documentation

◆ cscChamber()

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  return std::make_pair(id, CSCDetIdSameChamberCompare());
14 }

◆ cscDetLayer()

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

Definition at line 16 of file CSCRangeMapForRecHit.cc.

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