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

Constructor.

Definition at line 9 of file CSCRangeMapAccessor.cc.

9 {}
CSCRangeMapAccessor::~CSCRangeMapAccessor ( )
virtual

Destructor.

Definition at line 11 of file CSCRangeMapAccessor.cc.

11 {}

Member Function Documentation

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 
15  return std::make_pair(id, CSCDetIdSameChamberComparator());
16 }
std::pair< CSCDetId, CSCDetIdSameDetLayerComparator > CSCRangeMapAccessor::cscDetLayer ( CSCDetId  id)
static

Definition at line 18 of file CSCRangeMapAccessor.cc.

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