CMS 3D CMS Logo

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

#include <CSCRangeMapAccessor.h>

Public Member Functions

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

Static Public Member Functions

static std::pair< CSCDetId, CSCDetIdSameChamberComparatorcscChamber (CSCDetId id)
 Returns a valid DetId + a valid comparator for the RangeMap. More...
 
static std::pair< CSCDetId, CSCDetIdSameDetLayerComparatorcscDetLayer (CSCDetId id)
 

Detailed Description

Comparator to retrieve CSCrechits by chamber.

Author
Matteo Sani

Definition at line 22 of file CSCRangeMapAccessor.h.

Constructor & Destructor Documentation

◆ CSCRangeMapAccessor()

CSCRangeMapAccessor::CSCRangeMapAccessor ( )

Constructor.

Definition at line 9 of file CSCRangeMapAccessor.cc.

9 {}

◆ ~CSCRangeMapAccessor()

CSCRangeMapAccessor::~CSCRangeMapAccessor ( )
virtual

Destructor.

Definition at line 11 of file CSCRangeMapAccessor.cc.

11 {}

Member Function Documentation

◆ cscChamber()

std::pair< CSCDetId, CSCDetIdSameChamberComparator > CSCRangeMapAccessor::cscChamber ( CSCDetId  id)
static

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

Definition at line 13 of file CSCRangeMapAccessor.cc.

Referenced by CSCSegmentBuilder::build().

13  {
14  return std::make_pair(id, CSCDetIdSameChamberComparator());
15 }

◆ cscDetLayer()

std::pair< CSCDetId, CSCDetIdSameDetLayerComparator > CSCRangeMapAccessor::cscDetLayer ( CSCDetId  id)
static

Definition at line 17 of file CSCRangeMapAccessor.cc.

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