CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
TrackerLayerIdAccessor Class Reference

#include <TrackerLayerIdAccessor.h>

Public Types

typedef std::pair< DetId,
DetIdComparator & > 
returnType
 

Public Member Functions

std::pair< DetId,
DetIdPXBSameLayerComparator
pixelBarrelLayer (int layer)
 
std::pair< DetId,
DetIdPXFSameDiskComparator
pixelForwardDisk (int side, int disk)
 
std::pair< DetId,
DetIdTECSameDiskComparator
stripTECDisk (int side, int disk)
 
std::pair< DetId,
DetIdTIBSameLayerComparator
stripTIBLayer (int layer)
 
std::pair< DetId,
DetIdTIDSameDiskComparator
stripTIDDisk (int side, int disk)
 
std::pair< DetId,
DetIdTOBSameLayerComparator
stripTOBLayer (int layer)
 
 TrackerLayerIdAccessor ()
 

Detailed Description

Definition at line 97 of file TrackerLayerIdAccessor.h.

Member Typedef Documentation

Definition at line 102 of file TrackerLayerIdAccessor.h.

Constructor & Destructor Documentation

TrackerLayerIdAccessor::TrackerLayerIdAccessor ( )

Definition at line 4 of file TrackerLayerIdAccessor.cc.

4 {}

Member Function Documentation

std::pair< DetId, DetIdPXBSameLayerComparator > TrackerLayerIdAccessor::pixelBarrelLayer ( int  layer)
std::pair< DetId, DetIdPXFSameDiskComparator > TrackerLayerIdAccessor::pixelForwardDisk ( int  side,
int  disk 
)

Definition at line 10 of file TrackerLayerIdAccessor.cc.

Referenced by ctfseeding::HitExtractorPIX::hits().

10  {
11  PXFDetId id(side,disk,1,1,1);
12  return std::make_pair(id,DetIdPXFSameDiskComparator());
13 }
std::pair< DetId, DetIdTECSameDiskComparator > TrackerLayerIdAccessor::stripTECDisk ( int  side,
int  disk 
)

Definition at line 26 of file TrackerLayerIdAccessor.cc.

Referenced by ctfseeding::HitExtractorSTRP::hits(), and CosmicLayerPairs::selectTECHit().

26  {
27  TECDetId id(side,disk,1,1,1,1,1);
28 
29  return std::make_pair(id,DetIdTECSameDiskComparator());
30 }
std::pair< DetId, DetIdTIBSameLayerComparator > TrackerLayerIdAccessor::stripTIBLayer ( int  layer)

Definition at line 14 of file TrackerLayerIdAccessor.cc.

Referenced by ctfseeding::HitExtractorSTRP::hits(), CosmicLayerTriplets::init(), and CosmicLayerPairs::selectTIBHit().

14  {
15  TIBDetId id(layer,1,1,1,1,1);
16  return std::make_pair(id,DetIdTIBSameLayerComparator());
17 }
std::pair< DetId, DetIdTIDSameDiskComparator > TrackerLayerIdAccessor::stripTIDDisk ( int  side,
int  disk 
)

Definition at line 22 of file TrackerLayerIdAccessor.cc.

Referenced by ctfseeding::HitExtractorSTRP::hits().

22  {
23  TIDDetId id(side,disk,1,1,1,1);
24  return std::make_pair(id,DetIdTIDSameDiskComparator());
25 }
std::pair< DetId, DetIdTOBSameLayerComparator > TrackerLayerIdAccessor::stripTOBLayer ( int  layer)