CMS 3D CMS Logo

Public Types | Public Member Functions

TrackerLayerIdAccessor Class Reference

#include <TrackerLayerIdAccessor.h>

List of all members.

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.

{}

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

                                                                                                      {
  PXFDetId id(side,disk,1,1,1);
  return std::make_pair(id,DetIdPXFSameDiskComparator());
}
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().

                                                                                                 {
  TECDetId id(side,disk,1,1,1,1,1);
  
  return std::make_pair(id,DetIdTECSameDiskComparator());
}
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().

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

Definition at line 22 of file TrackerLayerIdAccessor.cc.

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

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

Definition at line 18 of file TrackerLayerIdAccessor.cc.

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

                                                                                          {
  TOBDetId id(layer,1,1,1,1);
  return std::make_pair(id,DetIdTOBSameLayerComparator());
}