A specific Pixel Tracker class to determine the number of ladders / modules in PXB and number of blades/modules in PXF
Definition at line 20 of file PixelTopologyMap.h.
void PixelTopologyMap::buildTopologyMaps |
( |
| ) |
|
|
private |
Definition at line 15 of file PixelTopologyMap.cc.
18 std::vector<unsigned> maxLadder, maxModule;
19 maxLadder.resize(nlay);
20 maxModule.resize(nlay);
21 for (
unsigned int i = 1;
i <= nlay;
i++) {
22 maxLadder.push_back(0);
23 maxModule.push_back(0);
27 const PixelGeomDetUnit* pixelDet = dynamic_cast<const PixelGeomDetUnit*>(det);
37 if (module > maxModule[
layer]) {
38 maxModule[
layer] = module;
42 for (
unsigned int i = 1;
i <= nlay;
i++) {
43 m_pxbMap[
i] = std::make_pair(maxLadder[
i], maxModule[
i]);
48 std::vector<unsigned> maxBlade, maxPXFModule;
49 maxBlade.resize(ndisk);
50 maxPXFModule.resize(ndisk);
51 for (
unsigned int i = 1;
i <= ndisk;
i++) {
52 maxBlade.push_back(0);
53 maxPXFModule.push_back(0);
57 const PixelGeomDetUnit* pixelDet = dynamic_cast<const PixelGeomDetUnit*>(det);
63 if (blade > maxBlade[disk]) {
64 maxBlade[disk] = blade;
67 if (pxf_module > maxPXFModule[disk]) {
68 maxPXFModule[disk] = pxf_module;
72 for (
unsigned int i = 1;
i <= ndisk;
i++) {
73 m_pxfMap[
i] = std::make_pair(maxBlade[
i], maxPXFModule[
i]);
References TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), GeomDet::geographicalId(), mps_fire::i, PVValHelper::ladder, phase1PixelTopology::layer, m_pxbMap, m_pxfMap, m_trackerGeom, m_trackerTopo, TrackerGeometry::numberOfLayers(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), TrackerTopology::pxfBlade(), TrackerTopology::pxfDisk(), and TrackerTopology::pxfModule().