CMS 3D CMS Logo

List of all members | Public Types | Static Public Member Functions | Static Public Attributes
pixelTopology::Phase1 Struct Reference

#include <SimplePixelTopology.h>

Inheritance diagram for pixelTopology::Phase1:
pixelTopology::HIonPhase1

Public Types

using cindex_type = uint32_t
 
using hindex_type = uint32_t
 
using tindex_type = uint16_t
 

Static Public Member Functions

static constexpr bool isBigPixX (uint16_t px)
 
static constexpr bool isBigPixY (uint16_t py)
 
static constexpr bool isEdgeX (uint16_t px)
 
static constexpr bool isEdgeY (uint16_t py)
 
static constexpr uint16_t localX (uint16_t px)
 
static constexpr uint16_t localY (uint16_t py)
 
static constexpr uint16_t toRocX (uint16_t px)
 
static constexpr uint16_t toRocY (uint16_t py)
 

Static Public Attributes

static constexpr uint32_t avgHitsPerTrack = 5
 
static constexpr uint32_t avgTracksPerHit = 6
 
static constexpr float bigPixXCorrection = 1.0f
 
static constexpr float bigPixYCorrection = 8.0f
 
static constexpr uint16_t clusterBinning = numColsInModule + 2
 
static constexpr uint16_t clusterBits = 9
 
static constexpr float dzdrFact = 8 * 0.0285 / 0.015
 
static constexpr float endcapCorrection = 1.5f
 
static constexpr uint16_t firstEndcapNeg = 7
 
static constexpr uint16_t firstEndcapPos = 4
 
static constexpr uint32_t getDoubletsFromHistoMaxBlockSize = 64
 
static constexpr uint32_t getDoubletsFromHistoMinBlocksPerMP = 16
 
static constexpr uint16_t last_barrel_detIndex = 1184
 
static constexpr uint16_t last_bpix1_detIndex = 96
 
static constexpr uint16_t last_bpix2_detIndex = 320
 
static constexpr uint16_t lastColInModule = numColsInModule - 1
 
static constexpr uint16_t lastColInRoc = numColsInRoc - 1
 
static constexpr uint16_t lastRowInModule = numRowsInModule - 1
 
static constexpr uint16_t lastRowInRoc = numRowsInRoc - 1
 
static constexpr uint8_t const * layerPairs = phase1PixelTopology::layerPairs
 
static constexpr uint32_t const * layerStart = phase1PixelTopology::layerStart
 
static constexpr uint32_t maxCellNeighbors = 36
 
static constexpr uint32_t maxCellsPerHit = 256
 
static constexpr uint32_t maxCellTracks = 48
 
static constexpr uint32_t maxDepth = 6
 
static constexpr int maxDYPred = 20
 
static constexpr int maxDYsize = 20
 
static constexpr int maxDYsize12 = 28
 
static constexpr uint32_t maxHitsForContainers = avgHitsPerTrack * maxNumberOfTuples
 
static constexpr uint32_t maxHitsInModule = phase1PixelTopology::maxNumClustersPerModules
 
static constexpr uint32_t maxHitsOnTrack = 10
 
static constexpr uint32_t maxHitsOnTrackForFullFit = 6
 
static constexpr uint32_t maxNumberOfDoublets = 512 * 1024
 
static constexpr uint32_t maxNumberOfQuadruplets = maxNumberOfTuples
 
static constexpr uint32_t maxNumberOfTuples = 32 * 1024
 
static constexpr uint32_t maxNumClustersPerModules = phase1PixelTopology::maxNumClustersPerModules
 
static constexpr uint32_t maxNumOfActiveDoublets = maxNumberOfDoublets / 8
 
static constexpr uint32_t maxPixInModule = 6000
 
static constexpr float const * maxr = phase1PixelTopology::maxr
 
static constexpr uint32_t maxSizeCluster = 1023
 
static constexpr float const * maxz = phase1PixelTopology::maxz
 
static constexpr int minYsizeB1 = 36
 
static constexpr int minYsizeB2 = 28
 
static constexpr float const * minz = phase1PixelTopology::minz
 
static constexpr float moduleLength = 6.7f
 
static constexpr char const * nameModifier = ""
 
static constexpr int nPairs = nPairsForTriplets + 4
 
static constexpr int nPairsForQuadruplets = 13
 
static constexpr int nPairsForTriplets = nPairsForQuadruplets + 2
 
static constexpr uint16_t numberOfLaddersInBarrel = numberOfModulesInBarrel / numberOfModulesInLadder
 
static constexpr uint32_t numberOfLayers = 10
 
static constexpr uint16_t numberOfModules = 1856
 
static constexpr uint16_t numberOfModulesInBarrel = 1184
 
static constexpr uint16_t numberOfModulesInLadder = 8
 
static constexpr uint16_t numColsInModule = 8 * numColsInRoc
 
static constexpr uint16_t numColsInRoc = 52
 
static constexpr uint16_t numRowsInModule = 2 * numRowsInRoc
 
static constexpr uint16_t numRowsInRoc = 80
 
static constexpr int16_t const * phicuts = phase1PixelTopology::phicuts
 
static constexpr float xerr_barrel_l1_def = 0.00200f
 
static constexpr float xerr_barrel_ln_def = 0.00200f
 
static constexpr float xerr_endcap_def = 0.0020f
 
static constexpr int16_t xOffset = -81
 
static constexpr float yerr_barrel_l1_def = 0.00210f
 
static constexpr float yerr_barrel_ln_def = 0.00210f
 
static constexpr float yerr_endcap_def = 0.00210f
 

Detailed Description

Definition at line 418 of file SimplePixelTopology.h.

Member Typedef Documentation

◆ cindex_type

Definition at line 422 of file SimplePixelTopology.h.

◆ hindex_type

Definition at line 420 of file SimplePixelTopology.h.

◆ tindex_type

Definition at line 421 of file SimplePixelTopology.h.

Member Function Documentation

◆ isBigPixX()

static constexpr bool pixelTopology::Phase1::isBigPixX ( uint16_t  px)
inlinestatic

Definition at line 524 of file SimplePixelTopology.h.

References multPhiCorr_741_25nsDY_cfi::px.

524 { return (px == 79) | (px == 80); }

◆ isBigPixY()

static constexpr bool pixelTopology::Phase1::isBigPixY ( uint16_t  py)
inlinestatic

Definition at line 525 of file SimplePixelTopology.h.

References lastColInRoc, multPhiCorr_741_25nsDY_cfi::py, and toRocY().

525  {
526  auto ly = toRocY(py);
527  return (ly == 0) | (ly == lastColInRoc);
528  }
static constexpr uint16_t toRocY(uint16_t py)
static constexpr uint16_t lastColInRoc

◆ isEdgeX()

static constexpr bool pixelTopology::Phase1::isEdgeX ( uint16_t  px)
inlinestatic

Definition at line 513 of file SimplePixelTopology.h.

References lastRowInModule, and multPhiCorr_741_25nsDY_cfi::px.

513 { return (px == 0) | (px == lastRowInModule); }
static constexpr uint16_t lastRowInModule

◆ isEdgeY()

static constexpr bool pixelTopology::Phase1::isEdgeY ( uint16_t  py)
inlinestatic

Definition at line 515 of file SimplePixelTopology.h.

References lastColInModule, and multPhiCorr_741_25nsDY_cfi::py.

515 { return (py == 0) | (py == lastColInModule); }
static constexpr uint16_t lastColInModule

◆ localX()

static constexpr uint16_t pixelTopology::Phase1::localX ( uint16_t  px)
inlinestatic

Definition at line 530 of file SimplePixelTopology.h.

References lastRowInRoc, numRowsInRoc, multPhiCorr_741_25nsDY_cfi::px, and edm::shift.

530  {
531  auto shift = 0;
532  if (px > lastRowInRoc)
533  shift += 1;
534  if (px > numRowsInRoc)
535  shift += 1;
536  return px + shift;
537  }
static constexpr uint16_t numRowsInRoc
static constexpr uint16_t lastRowInRoc
static unsigned int const shift

◆ localY()

static constexpr uint16_t pixelTopology::Phase1::localY ( uint16_t  py)
inlinestatic

Definition at line 539 of file SimplePixelTopology.h.

References pixelTopology::divu52(), multPhiCorr_741_25nsDY_cfi::py, PixelMapPlotter::roc, and edm::shift.

539  {
540  auto roc = divu52(py);
541  auto shift = 2 * roc;
542  auto yInRoc = py - 52 * roc;
543  if (yInRoc > 0)
544  shift += 1;
545  return py + shift;
546  }
constexpr uint16_t divu52(uint16_t n)
static unsigned int const shift

◆ toRocX()

static constexpr uint16_t pixelTopology::Phase1::toRocX ( uint16_t  px)
inlinestatic

Definition at line 517 of file SimplePixelTopology.h.

References numRowsInRoc, and multPhiCorr_741_25nsDY_cfi::px.

◆ toRocY()

static constexpr uint16_t pixelTopology::Phase1::toRocY ( uint16_t  py)
inlinestatic

Definition at line 519 of file SimplePixelTopology.h.

References pixelTopology::divu52(), multPhiCorr_741_25nsDY_cfi::py, and PixelMapPlotter::roc.

Referenced by isBigPixY().

519  {
520  auto roc = divu52(py);
521  return py - 52 * roc;
522  }
constexpr uint16_t divu52(uint16_t n)

Member Data Documentation

◆ avgHitsPerTrack

constexpr uint32_t pixelTopology::Phase1::avgHitsPerTrack = 5
static

Definition at line 428 of file SimplePixelTopology.h.

◆ avgTracksPerHit

constexpr uint32_t pixelTopology::Phase1::avgTracksPerHit = 6
static

Definition at line 430 of file SimplePixelTopology.h.

◆ bigPixXCorrection

constexpr float pixelTopology::Phase1::bigPixXCorrection = 1.0f
static

Definition at line 462 of file SimplePixelTopology.h.

◆ bigPixYCorrection

constexpr float pixelTopology::Phase1::bigPixYCorrection = 8.0f
static

Definition at line 463 of file SimplePixelTopology.h.

◆ clusterBinning

constexpr uint16_t pixelTopology::Phase1::clusterBinning = numColsInModule + 2
static

Definition at line 491 of file SimplePixelTopology.h.

◆ clusterBits

constexpr uint16_t pixelTopology::Phase1::clusterBits = 9
static

Definition at line 492 of file SimplePixelTopology.h.

◆ dzdrFact

constexpr float pixelTopology::Phase1::dzdrFact = 8 * 0.0285 / 0.015
static

Definition at line 465 of file SimplePixelTopology.h.

◆ endcapCorrection

constexpr float pixelTopology::Phase1::endcapCorrection = 1.5f
static

Definition at line 453 of file SimplePixelTopology.h.

◆ firstEndcapNeg

constexpr uint16_t pixelTopology::Phase1::firstEndcapNeg = 7
static

Definition at line 499 of file SimplePixelTopology.h.

◆ firstEndcapPos

constexpr uint16_t pixelTopology::Phase1::firstEndcapPos = 4
static

Definition at line 498 of file SimplePixelTopology.h.

◆ getDoubletsFromHistoMaxBlockSize

constexpr uint32_t pixelTopology::Phase1::getDoubletsFromHistoMaxBlockSize = 64
static

Definition at line 441 of file SimplePixelTopology.h.

◆ getDoubletsFromHistoMinBlocksPerMP

constexpr uint32_t pixelTopology::Phase1::getDoubletsFromHistoMinBlocksPerMP = 16
static

Definition at line 442 of file SimplePixelTopology.h.

◆ last_barrel_detIndex

constexpr uint16_t pixelTopology::Phase1::last_barrel_detIndex = 1184
static

Definition at line 446 of file SimplePixelTopology.h.

◆ last_bpix1_detIndex

constexpr uint16_t pixelTopology::Phase1::last_bpix1_detIndex = 96
static

Definition at line 444 of file SimplePixelTopology.h.

◆ last_bpix2_detIndex

constexpr uint16_t pixelTopology::Phase1::last_bpix2_detIndex = 320
static

Definition at line 445 of file SimplePixelTopology.h.

◆ lastColInModule

constexpr uint16_t pixelTopology::Phase1::lastColInModule = numColsInModule - 1
static

Definition at line 488 of file SimplePixelTopology.h.

Referenced by isEdgeY().

◆ lastColInRoc

constexpr uint16_t pixelTopology::Phase1::lastColInRoc = numColsInRoc - 1
static

Definition at line 483 of file SimplePixelTopology.h.

Referenced by isBigPixY().

◆ lastRowInModule

constexpr uint16_t pixelTopology::Phase1::lastRowInModule = numRowsInModule - 1
static

Definition at line 487 of file SimplePixelTopology.h.

Referenced by isEdgeX().

◆ lastRowInRoc

constexpr uint16_t pixelTopology::Phase1::lastRowInRoc = numRowsInRoc - 1
static

Definition at line 482 of file SimplePixelTopology.h.

Referenced by localX().

◆ layerPairs

constexpr uint8_t const* pixelTopology::Phase1::layerPairs = phase1PixelTopology::layerPairs
static

◆ layerStart

constexpr uint32_t const* pixelTopology::Phase1::layerStart = phase1PixelTopology::layerStart
static

Definition at line 505 of file SimplePixelTopology.h.

◆ maxCellNeighbors

constexpr uint32_t pixelTopology::Phase1::maxCellNeighbors = 36
static

Definition at line 424 of file SimplePixelTopology.h.

◆ maxCellsPerHit

constexpr uint32_t pixelTopology::Phase1::maxCellsPerHit = 256
static

Definition at line 429 of file SimplePixelTopology.h.

◆ maxCellTracks

constexpr uint32_t pixelTopology::Phase1::maxCellTracks = 48
static

Definition at line 425 of file SimplePixelTopology.h.

◆ maxDepth

constexpr uint32_t pixelTopology::Phase1::maxDepth = 6
static

Definition at line 436 of file SimplePixelTopology.h.

◆ maxDYPred

constexpr int pixelTopology::Phase1::maxDYPred = 20
static

Definition at line 476 of file SimplePixelTopology.h.

◆ maxDYsize

constexpr int pixelTopology::Phase1::maxDYsize = 20
static

Definition at line 475 of file SimplePixelTopology.h.

◆ maxDYsize12

constexpr int pixelTopology::Phase1::maxDYsize12 = 28
static

Definition at line 474 of file SimplePixelTopology.h.

◆ maxHitsForContainers

constexpr uint32_t pixelTopology::Phase1::maxHitsForContainers = avgHitsPerTrack * maxNumberOfTuples
static

Definition at line 432 of file SimplePixelTopology.h.

◆ maxHitsInModule

constexpr uint32_t pixelTopology::Phase1::maxHitsInModule = phase1PixelTopology::maxNumClustersPerModules
static

Definition at line 450 of file SimplePixelTopology.h.

◆ maxHitsOnTrack

constexpr uint32_t pixelTopology::Phase1::maxHitsOnTrack = 10
static

Definition at line 426 of file SimplePixelTopology.h.

◆ maxHitsOnTrackForFullFit

constexpr uint32_t pixelTopology::Phase1::maxHitsOnTrackForFullFit = 6
static

Definition at line 427 of file SimplePixelTopology.h.

◆ maxNumberOfDoublets

constexpr uint32_t pixelTopology::Phase1::maxNumberOfDoublets = 512 * 1024
static

◆ maxNumberOfQuadruplets

constexpr uint32_t pixelTopology::Phase1::maxNumberOfQuadruplets = maxNumberOfTuples
static

Definition at line 435 of file SimplePixelTopology.h.

◆ maxNumberOfTuples

constexpr uint32_t pixelTopology::Phase1::maxNumberOfTuples = 32 * 1024
static

Definition at line 431 of file SimplePixelTopology.h.

◆ maxNumClustersPerModules

constexpr uint32_t pixelTopology::Phase1::maxNumClustersPerModules = phase1PixelTopology::maxNumClustersPerModules
static

Definition at line 449 of file SimplePixelTopology.h.

◆ maxNumOfActiveDoublets

constexpr uint32_t pixelTopology::Phase1::maxNumOfActiveDoublets = maxNumberOfDoublets / 8
static

Definition at line 434 of file SimplePixelTopology.h.

◆ maxPixInModule

constexpr uint32_t pixelTopology::Phase1::maxPixInModule = 6000
static

Definition at line 448 of file SimplePixelTopology.h.

◆ maxr

constexpr float const* pixelTopology::Phase1::maxr = phase1PixelTopology::maxr
static

Definition at line 508 of file SimplePixelTopology.h.

◆ maxSizeCluster

constexpr uint32_t pixelTopology::Phase1::maxSizeCluster = 1023
static

Definition at line 439 of file SimplePixelTopology.h.

◆ maxz

constexpr float const* pixelTopology::Phase1::maxz = phase1PixelTopology::maxz
static

Definition at line 507 of file SimplePixelTopology.h.

◆ minYsizeB1

constexpr int pixelTopology::Phase1::minYsizeB1 = 36
static

Definition at line 467 of file SimplePixelTopology.h.

◆ minYsizeB2

constexpr int pixelTopology::Phase1::minYsizeB2 = 28
static

Definition at line 468 of file SimplePixelTopology.h.

◆ minz

constexpr float const* pixelTopology::Phase1::minz = phase1PixelTopology::minz
static

Definition at line 506 of file SimplePixelTopology.h.

◆ moduleLength

constexpr float pixelTopology::Phase1::moduleLength = 6.7f
static

Definition at line 452 of file SimplePixelTopology.h.

◆ nameModifier

constexpr char const* pixelTopology::Phase1::nameModifier = ""
static

Definition at line 503 of file SimplePixelTopology.h.

◆ nPairs

constexpr int pixelTopology::Phase1::nPairs = nPairsForTriplets + 4
static

Definition at line 472 of file SimplePixelTopology.h.

◆ nPairsForQuadruplets

constexpr int pixelTopology::Phase1::nPairsForQuadruplets = 13
static

Definition at line 470 of file SimplePixelTopology.h.

◆ nPairsForTriplets

constexpr int pixelTopology::Phase1::nPairsForTriplets = nPairsForQuadruplets + 2
static

Definition at line 471 of file SimplePixelTopology.h.

◆ numberOfLaddersInBarrel

constexpr uint16_t pixelTopology::Phase1::numberOfLaddersInBarrel = numberOfModulesInBarrel / numberOfModulesInLadder
static

Definition at line 496 of file SimplePixelTopology.h.

◆ numberOfLayers

constexpr uint32_t pixelTopology::Phase1::numberOfLayers = 10
static

Definition at line 437 of file SimplePixelTopology.h.

◆ numberOfModules

constexpr uint16_t pixelTopology::Phase1::numberOfModules = 1856
static

◆ numberOfModulesInBarrel

constexpr uint16_t pixelTopology::Phase1::numberOfModulesInBarrel = 1184
static

Definition at line 494 of file SimplePixelTopology.h.

◆ numberOfModulesInLadder

constexpr uint16_t pixelTopology::Phase1::numberOfModulesInLadder = 8
static

Definition at line 495 of file SimplePixelTopology.h.

◆ numColsInModule

constexpr uint16_t pixelTopology::Phase1::numColsInModule = 8 * numColsInRoc
static

Definition at line 486 of file SimplePixelTopology.h.

◆ numColsInRoc

constexpr uint16_t pixelTopology::Phase1::numColsInRoc = 52
static

Definition at line 481 of file SimplePixelTopology.h.

◆ numRowsInModule

constexpr uint16_t pixelTopology::Phase1::numRowsInModule = 2 * numRowsInRoc
static

Definition at line 485 of file SimplePixelTopology.h.

◆ numRowsInRoc

constexpr uint16_t pixelTopology::Phase1::numRowsInRoc = 80
static

Definition at line 480 of file SimplePixelTopology.h.

Referenced by localX(), and toRocX().

◆ phicuts

constexpr int16_t const* pixelTopology::Phase1::phicuts = phase1PixelTopology::phicuts
static

Definition at line 511 of file SimplePixelTopology.h.

◆ xerr_barrel_l1_def

constexpr float pixelTopology::Phase1::xerr_barrel_l1_def = 0.00200f
static

Definition at line 455 of file SimplePixelTopology.h.

◆ xerr_barrel_ln_def

constexpr float pixelTopology::Phase1::xerr_barrel_ln_def = 0.00200f
static

Definition at line 457 of file SimplePixelTopology.h.

◆ xerr_endcap_def

constexpr float pixelTopology::Phase1::xerr_endcap_def = 0.0020f
static

Definition at line 459 of file SimplePixelTopology.h.

◆ xOffset

constexpr int16_t pixelTopology::Phase1::xOffset = -81
static

Definition at line 501 of file SimplePixelTopology.h.

◆ yerr_barrel_l1_def

constexpr float pixelTopology::Phase1::yerr_barrel_l1_def = 0.00210f
static

Definition at line 456 of file SimplePixelTopology.h.

◆ yerr_barrel_ln_def

constexpr float pixelTopology::Phase1::yerr_barrel_ln_def = 0.00210f
static

Definition at line 458 of file SimplePixelTopology.h.

◆ yerr_endcap_def

constexpr float pixelTopology::Phase1::yerr_endcap_def = 0.00210f
static

Definition at line 460 of file SimplePixelTopology.h.