CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/Geometry/TrackerGeometryBuilder/src/TrackerLayerIdAccessor.cc

Go to the documentation of this file.
00001 #include "Geometry/TrackerGeometryBuilder/interface/TrackerLayerIdAccessor.h"
00002 
00003 
00004 TrackerLayerIdAccessor::TrackerLayerIdAccessor(){}
00005 
00006 std::pair<DetId,DetIdPXBSameLayerComparator> TrackerLayerIdAccessor::pixelBarrelLayer(int layer ){
00007   PXBDetId id(layer,1,1);
00008   return std::make_pair(id,DetIdPXBSameLayerComparator());
00009 }
00010 std::pair<DetId,DetIdPXFSameDiskComparator>  TrackerLayerIdAccessor::pixelForwardDisk(int side, int disk ){
00011   PXFDetId id(side,disk,1,1,1);
00012   return std::make_pair(id,DetIdPXFSameDiskComparator());
00013 }
00014 std::pair<DetId,DetIdTIBSameLayerComparator> TrackerLayerIdAccessor::stripTIBLayer(int layer ){
00015   TIBDetId id(layer,1,1,1,1,1);
00016   return std::make_pair(id,DetIdTIBSameLayerComparator());
00017 }
00018 std::pair<DetId,DetIdTOBSameLayerComparator> TrackerLayerIdAccessor::stripTOBLayer(int layer ){
00019   TOBDetId id(layer,1,1,1,1);
00020   return std::make_pair(id,DetIdTOBSameLayerComparator());
00021 }
00022 std::pair<DetId,DetIdTIDSameDiskComparator> TrackerLayerIdAccessor::stripTIDDisk(int side, int disk ){
00023   TIDDetId id(side,disk,1,1,1,1);
00024   return std::make_pair(id,DetIdTIDSameDiskComparator());
00025 }
00026 std::pair<DetId,DetIdTECSameDiskComparator> TrackerLayerIdAccessor::stripTECDisk(int side, int disk ){
00027   TECDetId id(side,disk,1,1,1,1,1);
00028   
00029   return std::make_pair(id,DetIdTECSameDiskComparator());
00030 }