CMS 3D CMS Logo

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

#include <SimplePixelTopology.h>

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 doubletHardPt = 0.5f
 
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 maxHitsOnTrack = 10
 
static constexpr uint32_t maxHitsOnTrackForFullFit = 6
 
static constexpr uint32_t maxNumberOfDoublets = 512 * 1024
 
static constexpr uint32_t maxNumberOfHits = 48 * 1024
 
static constexpr uint32_t maxNumberOfQuadruplets = maxNumberOfTuples
 
static constexpr uint32_t maxNumberOfTuples = 32 * 1024
 
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
 
static constexpr float z0Cut = 12.f
 

Detailed Description

Definition at line 380 of file SimplePixelTopology.h.

Member Typedef Documentation

◆ cindex_type

Definition at line 384 of file SimplePixelTopology.h.

◆ hindex_type

Definition at line 382 of file SimplePixelTopology.h.

◆ tindex_type

Definition at line 383 of file SimplePixelTopology.h.

Member Function Documentation

◆ isBigPixX()

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

Definition at line 486 of file SimplePixelTopology.h.

References multPhiCorr_741_25nsDY_cfi::px.

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

◆ isBigPixY()

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

Definition at line 487 of file SimplePixelTopology.h.

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

487  {
488  auto ly = toRocY(py);
489  return (ly == 0) | (ly == lastColInRoc);
490  }
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 475 of file SimplePixelTopology.h.

References lastRowInModule, and multPhiCorr_741_25nsDY_cfi::px.

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

◆ isEdgeY()

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

Definition at line 477 of file SimplePixelTopology.h.

References lastColInModule, and multPhiCorr_741_25nsDY_cfi::py.

477 { 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 492 of file SimplePixelTopology.h.

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

492  {
493  auto shift = 0;
494  if (px > lastRowInRoc)
495  shift += 1;
496  if (px > numRowsInRoc)
497  shift += 1;
498  return px + shift;
499  }
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 501 of file SimplePixelTopology.h.

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

501  {
502  auto roc = divu52(py);
503  auto shift = 2 * roc;
504  auto yInRoc = py - 52 * roc;
505  if (yInRoc > 0)
506  shift += 1;
507  return py + shift;
508  }
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 479 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 481 of file SimplePixelTopology.h.

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

Referenced by isBigPixY().

481  {
482  auto roc = divu52(py);
483  return py - 52 * roc;
484  }
constexpr uint16_t divu52(uint16_t n)

Member Data Documentation

◆ avgHitsPerTrack

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

Definition at line 391 of file SimplePixelTopology.h.

◆ avgTracksPerHit

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

Definition at line 393 of file SimplePixelTopology.h.

◆ bigPixXCorrection

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

Definition at line 423 of file SimplePixelTopology.h.

◆ bigPixYCorrection

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

Definition at line 424 of file SimplePixelTopology.h.

◆ clusterBinning

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

Definition at line 453 of file SimplePixelTopology.h.

◆ clusterBits

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

Definition at line 454 of file SimplePixelTopology.h.

◆ doubletHardPt

constexpr float pixelTopology::Phase1::doubletHardPt = 0.5f
static

Definition at line 428 of file SimplePixelTopology.h.

◆ dzdrFact

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

Definition at line 426 of file SimplePixelTopology.h.

◆ endcapCorrection

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

Definition at line 414 of file SimplePixelTopology.h.

◆ firstEndcapNeg

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

Definition at line 461 of file SimplePixelTopology.h.

◆ firstEndcapPos

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

Definition at line 460 of file SimplePixelTopology.h.

◆ getDoubletsFromHistoMaxBlockSize

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

Definition at line 404 of file SimplePixelTopology.h.

◆ getDoubletsFromHistoMinBlocksPerMP

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

Definition at line 405 of file SimplePixelTopology.h.

◆ last_barrel_detIndex

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

Definition at line 409 of file SimplePixelTopology.h.

◆ last_bpix1_detIndex

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

Definition at line 407 of file SimplePixelTopology.h.

◆ last_bpix2_detIndex

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

Definition at line 408 of file SimplePixelTopology.h.

◆ lastColInModule

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

Definition at line 451 of file SimplePixelTopology.h.

Referenced by isEdgeY().

◆ lastColInRoc

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

Definition at line 446 of file SimplePixelTopology.h.

Referenced by isBigPixY().

◆ lastRowInModule

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

Definition at line 450 of file SimplePixelTopology.h.

Referenced by isEdgeX().

◆ lastRowInRoc

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

Definition at line 445 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 467 of file SimplePixelTopology.h.

◆ maxCellNeighbors

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

Definition at line 387 of file SimplePixelTopology.h.

◆ maxCellsPerHit

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

Definition at line 392 of file SimplePixelTopology.h.

◆ maxCellTracks

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

Definition at line 388 of file SimplePixelTopology.h.

◆ maxDepth

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

Definition at line 399 of file SimplePixelTopology.h.

◆ maxDYPred

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

Definition at line 439 of file SimplePixelTopology.h.

◆ maxDYsize

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

Definition at line 438 of file SimplePixelTopology.h.

◆ maxDYsize12

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

Definition at line 437 of file SimplePixelTopology.h.

◆ maxHitsForContainers

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

Definition at line 395 of file SimplePixelTopology.h.

◆ maxHitsOnTrack

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

Definition at line 389 of file SimplePixelTopology.h.

◆ maxHitsOnTrackForFullFit

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

Definition at line 390 of file SimplePixelTopology.h.

◆ maxNumberOfDoublets

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

Definition at line 396 of file SimplePixelTopology.h.

◆ maxNumberOfHits

constexpr uint32_t pixelTopology::Phase1::maxNumberOfHits = 48 * 1024
static

Definition at line 386 of file SimplePixelTopology.h.

◆ maxNumberOfQuadruplets

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

Definition at line 398 of file SimplePixelTopology.h.

◆ maxNumberOfTuples

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

Definition at line 394 of file SimplePixelTopology.h.

◆ maxNumOfActiveDoublets

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

Definition at line 397 of file SimplePixelTopology.h.

◆ maxPixInModule

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

Definition at line 411 of file SimplePixelTopology.h.

◆ maxr

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

Definition at line 470 of file SimplePixelTopology.h.

◆ maxSizeCluster

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

Definition at line 402 of file SimplePixelTopology.h.

◆ maxz

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

Definition at line 469 of file SimplePixelTopology.h.

◆ minYsizeB1

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

Definition at line 430 of file SimplePixelTopology.h.

◆ minYsizeB2

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

Definition at line 431 of file SimplePixelTopology.h.

◆ minz

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

Definition at line 468 of file SimplePixelTopology.h.

◆ moduleLength

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

Definition at line 413 of file SimplePixelTopology.h.

◆ nameModifier

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

Definition at line 465 of file SimplePixelTopology.h.

◆ nPairs

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

Definition at line 435 of file SimplePixelTopology.h.

◆ nPairsForQuadruplets

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

Definition at line 433 of file SimplePixelTopology.h.

◆ nPairsForTriplets

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

Definition at line 434 of file SimplePixelTopology.h.

◆ numberOfLaddersInBarrel

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

Definition at line 458 of file SimplePixelTopology.h.

◆ numberOfLayers

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

Definition at line 400 of file SimplePixelTopology.h.

◆ numberOfModules

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

Definition at line 441 of file SimplePixelTopology.h.

Referenced by SiPixelRawToClusterCUDA::produce().

◆ numberOfModulesInBarrel

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

Definition at line 456 of file SimplePixelTopology.h.

◆ numberOfModulesInLadder

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

Definition at line 457 of file SimplePixelTopology.h.

◆ numColsInModule

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

Definition at line 449 of file SimplePixelTopology.h.

◆ numColsInRoc

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

Definition at line 444 of file SimplePixelTopology.h.

◆ numRowsInModule

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

Definition at line 448 of file SimplePixelTopology.h.

◆ numRowsInRoc

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

Definition at line 443 of file SimplePixelTopology.h.

Referenced by localX(), and toRocX().

◆ phicuts

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

Definition at line 473 of file SimplePixelTopology.h.

◆ xerr_barrel_l1_def

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

Definition at line 416 of file SimplePixelTopology.h.

◆ xerr_barrel_ln_def

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

Definition at line 418 of file SimplePixelTopology.h.

◆ xerr_endcap_def

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

Definition at line 420 of file SimplePixelTopology.h.

◆ xOffset

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

Definition at line 463 of file SimplePixelTopology.h.

◆ yerr_barrel_l1_def

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

Definition at line 417 of file SimplePixelTopology.h.

◆ yerr_barrel_ln_def

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

Definition at line 419 of file SimplePixelTopology.h.

◆ yerr_endcap_def

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

Definition at line 421 of file SimplePixelTopology.h.

◆ z0Cut

constexpr float pixelTopology::Phase1::z0Cut = 12.f
static

Definition at line 427 of file SimplePixelTopology.h.