ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::GridTripletSeedingTool Class Reference

#include <GridTripletSeedingTool.h>

Inheritance diagram for ActsTrk::GridTripletSeedingTool:
Collaboration diagram for ActsTrk::GridTripletSeedingTool:

Public Member Functions

 GridTripletSeedingTool (const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize () override
StatusCode createSeeds (const EventContext &ctx, const std::vector< const xAOD::SpacePointContainer * > &spacePointCollections, const Eigen::Vector3f &beamSpotPos, float bFieldInZ, ActsTrk::SeedContainer &seedContainer) const override

Protected Attributes

Gaudi::Property< bool > m_seedQualitySelection
Gaudi::Property< float > m_minPt
Gaudi::Property< float > m_cotThetaMax
Gaudi::Property< float > m_zMin
Gaudi::Property< float > m_zMax
Gaudi::Property< float > m_deltaRMax
Gaudi::Property< float > m_impactMax
Gaudi::Property< std::vector< float > > m_zBinEdges
Gaudi::Property< std::vector< float > > m_rBinEdges
Gaudi::Property< float > m_gridRMax
Gaudi::Property< float > m_gridPhiMin
Gaudi::Property< float > m_gridPhiMax
Gaudi::Property< int > m_phiBinDeflectionCoverage
Gaudi::Property< int > m_maxPhiBins
Gaudi::Property< float > m_rMax
Gaudi::Property< float > m_binSizeR
Gaudi::Property< float > m_deltaRMin
Gaudi::Property< float > m_deltaRMinTopSP
Gaudi::Property< float > m_deltaRMaxTopSP
Gaudi::Property< float > m_deltaRMinBottomSP
Gaudi::Property< float > m_deltaRMaxBottomSP
Gaudi::Property< float > m_deltaZMax
Gaudi::Property< float > m_collisionRegionMin
Gaudi::Property< float > m_collisionRegionMax
Gaudi::Property< bool > m_useHVCollisionRegion
Gaudi::Property< float > m_hvCollisionRegionTolerance
Gaudi::Property< float > m_sigmaScattering
Gaudi::Property< float > m_maxPtScattering
Gaudi::Property< float > m_radLengthPerSeed
Gaudi::Property< int > m_maxSeedsPerSpM
Gaudi::Property< bool > m_interactionPointCut
Gaudi::Property< std::vector< size_t > > m_zBinsCustomLooping
Gaudi::Property< std::vector< std::size_t > > m_rBinsCustomLooping
Gaudi::Property< bool > m_useVariableMiddleSPRange
Gaudi::Property< std::vector< std::vector< double > > > m_rRangeMiddleSP
Gaudi::Property< float > m_deltaRMiddleMinSPRange
Gaudi::Property< float > m_deltaRMiddleMaxSPRange
Gaudi::Property< bool > m_seedConfirmation
Gaudi::Property< float > m_seedConfCentralZMin
Gaudi::Property< float > m_seedConfCentralZMax
Gaudi::Property< float > m_seedConfCentralRMax
Gaudi::Property< size_t > m_seedConfCentralNTopLargeR
Gaudi::Property< size_t > m_seedConfCentralNTopSmallR
Gaudi::Property< float > m_seedConfCentralMinBottomRadius
Gaudi::Property< float > m_seedConfCentralMaxZOrigin
Gaudi::Property< float > m_seedConfCentralMinImpact
Gaudi::Property< float > m_seedConfForwardZMin
Gaudi::Property< float > m_seedConfForwardZMax
Gaudi::Property< float > m_seedConfForwardRMax
Gaudi::Property< size_t > m_seedConfForwardNTopLargeR
Gaudi::Property< size_t > m_seedConfForwardNTopSmallR
Gaudi::Property< float > m_seedConfForwardMinBottomRadius
Gaudi::Property< float > m_seedConfForwardMaxZOrigin
Gaudi::Property< float > m_seedConfForwardMinImpact
Gaudi::Property< bool > m_useDetailedDoubleMeasurementInfo
Gaudi::Property< float > m_toleranceParam
Gaudi::Property< float > m_maxStripDeltaCotTheta
Gaudi::Property< float > m_phiMin
Gaudi::Property< float > m_phiMax
Gaudi::Property< float > m_rMin {this, "rMin", 0 * Acts::UnitConstants::mm, ""}
Gaudi::Property< float > m_zAlign
Gaudi::Property< float > m_rAlign
Gaudi::Property< float > m_sigmaError {this, "sigmaError", 5, ""}
Gaudi::Property< float > m_impactWeightFactor
Gaudi::Property< float > m_zOriginWeightFactor {this, "zOriginWeightFactor", 1.}
Gaudi::Property< float > m_compatSeedWeight
Gaudi::Property< std::size_t > m_compatSeedLimit
Gaudi::Property< float > m_seedWeightIncrement
Gaudi::Property< float > m_numSeedIncrement
Gaudi::Property< bool > m_seedConfirmationInFilter
Gaudi::Property< std::size_t > m_maxSeedsPerSpMConf
Gaudi::Property< std::size_t > m_maxQualitySeedsPerSpMConf
Gaudi::Property< bool > m_useDeltaRorTopRadius
Gaudi::Property< float > m_deltaInvHelixDiameter
Gaudi::Property< float > m_absDeltaEtaWeightFactor
Gaudi::Property< float > m_absDeltaEtaMinImpact
Gaudi::Property< std::vector< std::pair< int, int > > > m_zBinNeighborsTop
Gaudi::Property< std::vector< std::pair< int, int > > > m_zBinNeighborsBottom
Gaudi::Property< std::vector< std::pair< int, int > > > m_rBinNeighborsTop
Gaudi::Property< std::vector< std::pair< int, int > > > m_rBinNeighborsBottom
Gaudi::Property< int > m_numPhiNeighbors
Gaudi::Property< bool > m_useExperimentCuts
Gaudi::Property< bool > m_doubletDPhiCut
Gaudi::Property< float > m_doubletDPhiD0Max
Gaudi::Property< float > m_doubletDPhiCap
Gaudi::Property< float > m_doubletDPhiConst
Gaudi::Property< float > m_doubletDPhiSlope
Gaudi::Property< int > m_stateVectorReserveSize
Gaudi::Property< float > m_expCutrMin

Private Member Functions

const Acts::Logger & logger () const
 Private access to the logger.
bool spacePointSelectionFunction (const xAOD::SpacePoint *sp, float r) const
bool doubletSelectionFunction (const std::vector< float > &spPhi, const std::vector< float > &spAsinD0OverR, const Acts::ConstSpacePointProxy &middle, const Acts::ConstSpacePointProxy &other, float cotTheta, bool isBottomCandidate) const
 doublet selection which caches per SP phi and asin(d0/r) values for the middle and other SPs
std::pair< float, float > retrieveRadiusRangeForMiddle (const Acts::ConstSpacePointProxy &spM, const Acts::Range1D< float > &rMiddleSpRange) const

Private Attributes

Acts::CylindricalSpacePointGrid::Config m_gridCfg
Acts::DoubletSeedFinder::Config m_bottomDoubletFinderCfg
Acts::DoubletSeedFinder::Config m_topDoubletFinderCfg
Acts::TripletSeedFinder::Config m_tripletFinderCfg
Acts::BroadTripletSeedFilter::Config m_filterCfg
std::optional< Acts::TripletSeeder > m_finder
std::unique_ptr< const Acts::Logger > m_logger
 logging instance
std::unique_ptr< const Acts::Logger > m_loggerFilter
const PixelIDm_pixelId {nullptr}
SG::ReadHandleKey< xAOD::VertexContainerm_inputHoughVtxKey {this, "inputHoughVtx", "", "input vertex container"}

Detailed Description

Definition at line 30 of file GridTripletSeedingTool.h.

Constructor & Destructor Documentation

◆ GridTripletSeedingTool()

ActsTrk::GridTripletSeedingTool::GridTripletSeedingTool ( const std::string & type,
const std::string & name,
const IInterface * parent )

Definition at line 16 of file GridTripletSeedingTool.cxx.

19 : base_class(type, name, parent) {}

Member Function Documentation

◆ createSeeds()

StatusCode ActsTrk::GridTripletSeedingTool::createSeeds ( const EventContext & ctx,
const std::vector< const xAOD::SpacePointContainer * > & spacePointCollections,
const Eigen::Vector3f & beamSpotPos,
float bFieldInZ,
ActsTrk::SeedContainer & seedContainer ) const
override

Definition at line 471 of file GridTripletSeedingTool.cxx.

475 {
476 (void)ctx;
477
478 auto gridCfg = m_gridCfg;
479 gridCfg.bFieldInZ = bFieldInZ;
480
481 Acts::CylindricalSpacePointGrid grid(gridCfg,
482 logger().cloneWithSuffix("Grid"));
483
484 std::size_t totalSpacePoints = 0;
485 for (const xAOD::SpacePointContainer* spacePoints : spacePointCollections) {
486 totalSpacePoints += spacePoints->size();
487 }
488
489 std::vector<const xAOD::SpacePoint*> selectedXAODSpacePoints;
490 std::vector<float> selectedSpacePointsR;
491 selectedXAODSpacePoints.reserve(totalSpacePoints);
492 selectedSpacePointsR.reserve(totalSpacePoints);
493 // Per-SP inputs for the doublet dPhi selection (see
494 // doubletSelectionFunction); only filled when the cut is enabled.
495 std::vector<float> selectedSpacePointsPhi;
496 std::vector<float> selectedSpacePointsAsinD0OverR;
497 const float dPhiCutD0 =
498 m_doubletDPhiD0Max < 0.f ? m_impactMax.value() : m_doubletDPhiD0Max.value();
499 if (m_doubletDPhiCut) {
500 selectedSpacePointsPhi.reserve(totalSpacePoints);
501 selectedSpacePointsAsinD0OverR.reserve(totalSpacePoints);
502 }
503
504 for (const xAOD::SpacePointContainer* spacePoints : spacePointCollections) {
505 for (const xAOD::SpacePoint* sp : *spacePoints) {
506 float x = static_cast<float>(sp->x() - beamSpotPos[0]);
507 float y = static_cast<float>(sp->y() - beamSpotPos[1]);
508 float z = static_cast<float>(sp->z());
509 float r = std::hypot(x, y);
510 float phi = std::atan2(y, x);
511
513 continue;
514 }
515
516 grid.insert(selectedXAODSpacePoints.size(), phi, z, r);
517 selectedXAODSpacePoints.push_back(sp);
518 selectedSpacePointsR.push_back(r);
519 if (m_doubletDPhiCut) {
520 selectedSpacePointsPhi.push_back(phi);
521 selectedSpacePointsAsinD0OverR.push_back(
522 std::asin(std::min(1.f, dPhiCutD0 / std::max(r, 1.f))));
523 }
524 }
525 }
526
527 for (std::size_t i = 0; i < grid.numberOfBins(); ++i) {
528 std::ranges::sort(
529 grid.at(i), [&](Acts::SpacePointIndex a, Acts::SpacePointIndex b) {
530 return selectedSpacePointsR[a] < selectedSpacePointsR[b];
531 });
532 }
533
534 Acts::SpacePointContainer selectedSpacePoints;
535 selectedSpacePoints.createColumns(
536 Acts::SpacePointColumns::CopiedFromIndex |
537 Acts::SpacePointColumns::PackedXY | Acts::SpacePointColumns::PackedZR |
538 Acts::SpacePointColumns::VarianceZ | Acts::SpacePointColumns::VarianceR);
540 selectedSpacePoints.createColumns(
541 Acts::SpacePointColumns::StripCalibrationDetails);
542 }
543 selectedSpacePoints.reserve(grid.numberOfSpacePoints());
544 std::vector<Acts::SpacePointIndexRange> gridSpacePointRanges;
545 gridSpacePointRanges.reserve(grid.numberOfBins());
546 for (std::size_t i = 0; i < grid.numberOfBins(); ++i) {
547 std::uint32_t begin = selectedSpacePoints.size();
548 for (const Acts::SpacePointIndex spIndex : grid.at(i)) {
549 const xAOD::SpacePoint* sp = selectedXAODSpacePoints[spIndex];
550
551 auto newSp = selectedSpacePoints.createSpacePoint();
552 newSp.copiedFromIndex() = spIndex;
553 newSp.xy() =
554 std::array<float, 2>{static_cast<float>(sp->x() - beamSpotPos[0]),
555 static_cast<float>(sp->y() - beamSpotPos[1])};
556 newSp.zr() = std::array<float, 2>{static_cast<float>(sp->z()),
557 selectedSpacePointsR[spIndex]};
558 newSp.varianceZ() = static_cast<float>(sp->varianceZ());
559 newSp.varianceR() = static_cast<float>(sp->varianceR());
560
562 const Eigen::Vector3f innerStripHalfVector =
563 sp->bottomHalfStripLength() * sp->bottomStripDirection();
564 const Eigen::Vector3f outerStripCenter = sp->topStripCenter();
565 const Eigen::Vector3f outerStripHalfVector =
566 sp->topHalfStripLength() * sp->topStripDirection();
567 const Eigen::Vector3f stripSeparation = sp->stripCenterDistance();
568
569 newSp.outerStripCalibrationDetails().outerCenter = std::array<float, 3>{
570 outerStripCenter.x(), outerStripCenter.y(), outerStripCenter.z()};
571 newSp.outerStripCalibrationDetails().innerToOuterSeparation =
572 std::array<float, 3>{stripSeparation.x(), stripSeparation.y(),
573 stripSeparation.z()};
574 newSp.outerStripCalibrationDetails().outerHalfVector =
575 std::array<float, 3>{outerStripHalfVector.x(),
576 outerStripHalfVector.y(),
577 outerStripHalfVector.z()};
578 newSp.outerStripCalibrationDetails().innerHalfVector =
579 std::array<float, 3>{innerStripHalfVector.x(),
580 innerStripHalfVector.y(),
581 innerStripHalfVector.z()};
582 }
583 }
584 std::uint32_t end = selectedSpacePoints.size();
585 gridSpacePointRanges.emplace_back(begin, end);
586 }
587
588 // clear temporary
589 selectedSpacePointsR = {};
590
591 ACTS_VERBOSE("Number of space points after selection "
592 << selectedSpacePoints.size() << " out of " << totalSpacePoints);
593
594 // Compute radius range. We rely on the fact the grid is storing the proxies
595 // with a sorting in the radius
596 const Acts::Range1D<float> rRange = [&]() -> Acts::Range1D<float> {
597 float minRange = std::numeric_limits<float>::max();
598 float maxRange = std::numeric_limits<float>::lowest();
599 for (const Acts::SpacePointIndexRange& range : gridSpacePointRanges) {
600 if (range.first == range.second) {
601 continue;
602 }
603 auto first = selectedSpacePoints[range.first];
604 auto last = selectedSpacePoints[range.second - 1];
605 minRange = std::min(first.zr()[1], minRange);
606 maxRange = std::max(last.zr()[1], maxRange);
607 }
608 return {minRange, maxRange};
609 }();
610
611 auto bottomDoubletFinderCfg = m_bottomDoubletFinderCfg;
612 auto topDoubletFinderCfg = m_topDoubletFinderCfg;
613
614 // set up the cache for the doublet selection function, which needs to know the per-SP phi and
615 // asin(d0/r) values for the middle and other SPs. The cache is filled in
616 // createSeeds, and the selection function is connected to the doublet finders below.
617 auto doubletSelection =
618 [this, &selectedSpacePointsPhi, &selectedSpacePointsAsinD0OverR](
619 const Acts::ConstSpacePointProxy& middle,
620 const Acts::ConstSpacePointProxy& other, float cotTheta,
621 bool isBottomCandidate) {
622 return doubletSelectionFunction(selectedSpacePointsPhi,
623 selectedSpacePointsAsinD0OverR, middle,
624 other, cotTheta, isBottomCandidate);
625 };
627 bottomDoubletFinderCfg.experimentCuts.connect(doubletSelection);
628 topDoubletFinderCfg.experimentCuts.connect(doubletSelection);
629 }
630
632 SG::ReadHandle<xAOD::VertexContainer> inputHoughVtx = SG::makeHandle(m_inputHoughVtxKey, ctx);
633 ATH_CHECK(inputHoughVtx.isValid());
634
635 for(const auto* vtx: *inputHoughVtx)
636 {
637 if(vtx->vertexType() == xAOD::VxType::PriVtx)
638 {
639 bottomDoubletFinderCfg.collisionRegionMin = vtx->z() - m_hvCollisionRegionTolerance;
640 bottomDoubletFinderCfg.collisionRegionMax = vtx->z() + m_hvCollisionRegionTolerance;
641 break;
642 }
643 }
644 // in case HoughVtx is not found and inputHoughVtx is empty, keep the original collision region
645 }
646
647 auto bottomDoubletFinder =
648 Acts::DoubletSeedFinder::create(Acts::DoubletSeedFinder::DerivedConfig(
649 bottomDoubletFinderCfg, bFieldInZ));
650 auto topDoubletFinder = Acts::DoubletSeedFinder::create(
651 Acts::DoubletSeedFinder::DerivedConfig(topDoubletFinderCfg, bFieldInZ));
652 auto tripletFinder = Acts::TripletSeedFinder::create(
653 Acts::TripletSeedFinder::DerivedConfig(m_tripletFinderCfg, bFieldInZ));
654
655 // variable middle SP radial region of interest
656 const Acts::Range1D<float> rMiddleSpRange(
657 std::floor(rRange.min() / 2) * 2 + m_deltaRMiddleMinSPRange,
658 std::floor(rRange.max() / 2) * 2 - m_deltaRMiddleMaxSPRange);
659
660 Acts::BroadTripletSeedFilter::State filterState;
661 Acts::BroadTripletSeedFilter::Cache filterCache;
662 Acts::TripletSeeder::Cache cache;
663
664 Acts::BroadTripletSeedFilter filter(m_filterCfg, filterState, filterCache,
666
667 std::vector<Acts::SpacePointContainer::ConstRange> bottomSpRanges;
668 std::optional<Acts::SpacePointContainer::ConstRange> middleSpRange;
669 std::vector<Acts::SpacePointContainer::ConstRange> topSpRanges;
670
671 Acts::SeedContainer tmpSeedContainer;
672
673 for (const auto [bottom, middle, top] : grid.binnedGroup()) {
674 ACTS_VERBOSE("Process middle bin " << middle);
675 if (middle >= gridSpacePointRanges.size()) {
676 ATH_MSG_ERROR("Grid Binned Group returned an unreasonable middle bin");
677 return StatusCode::FAILURE;
678 }
679
680 bottomSpRanges.clear();
681 topSpRanges.clear();
682
683 std::ranges::transform(
684 bottom, std::back_inserter(bottomSpRanges),
685 [&](std::size_t b) -> Acts::SpacePointContainer::ConstRange {
686 return selectedSpacePoints.range(gridSpacePointRanges[b]).asConst();
687 });
688 middleSpRange =
689 selectedSpacePoints.range(gridSpacePointRanges[middle]).asConst();
690 std::ranges::transform(
691 top, std::back_inserter(topSpRanges),
692 [&](std::size_t t) -> Acts::SpacePointContainer::ConstRange {
693 return selectedSpacePoints.range(gridSpacePointRanges[t]).asConst();
694 });
695
696 // we compute this here since all middle space point candidates belong to
697 // the same z-bin
698 auto firstMiddleSp = middleSpRange->front();
699 auto radiusRangeForMiddle =
700 retrieveRadiusRangeForMiddle(firstMiddleSp, rMiddleSpRange);
701
702 ACTS_VERBOSE("Validity range (radius) for the middle space point is ["
703 << radiusRangeForMiddle.first << ", "
704 << radiusRangeForMiddle.second << "]");
705
706 m_finder->createSeedsFromGroups(
707 cache, *bottomDoubletFinder, *topDoubletFinder, *tripletFinder, filter,
708 selectedSpacePoints, bottomSpRanges, *middleSpRange, topSpRanges,
709 radiusRangeForMiddle, tmpSeedContainer);
710 }
711
712 // Selection function - temporary implementation
713 // need change from ACTS for final implementation
714 // To be used only on PPP
715 auto selectionFunction =
716 [&filterState](const Acts::MutableSeedProxy& seed) -> bool {
717 float seedQuality = seed.quality();
718 float bottomQuality =
719 filterState.bestSeedQualityMap.at(seed.spacePointIndices()[0]);
720 float middleQuality =
721 filterState.bestSeedQualityMap.at(seed.spacePointIndices()[1]);
722 float topQuality =
723 filterState.bestSeedQualityMap.at(seed.spacePointIndices()[2]);
724
725 return bottomQuality <= seedQuality || middleQuality <= seedQuality ||
726 topQuality <= seedQuality;
727 };
728
729 seedContainer.reserve(seedContainer.size() + tmpSeedContainer.size());
730
731 // Select and convert the seeds
732 for (Acts::MutableSeedProxy seed : tmpSeedContainer) {
733 if (m_seedQualitySelection && !selectionFunction(seed)) {
734 continue;
735 }
736
737 seedContainer.push_back(
738 Acts::ConstSeedProxy(seed), [&](const Acts::SpacePointIndex spIndex) {
739 const Acts::SpacePointIndex originalIndex =
740 selectedSpacePoints.at(spIndex).copiedFromIndex();
741 return selectedXAODSpacePoints[originalIndex];
742 });
743 }
744
745 return StatusCode::SUCCESS;
746}
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x)
static Double_t sp
static Double_t a
@ top
#define y
#define x
#define z
bool spacePointSelectionFunction(const xAOD::SpacePoint *sp, float r) const
Acts::TripletSeedFinder::Config m_tripletFinderCfg
Gaudi::Property< bool > m_seedQualitySelection
Acts::DoubletSeedFinder::Config m_bottomDoubletFinderCfg
Acts::DoubletSeedFinder::Config m_topDoubletFinderCfg
std::optional< Acts::TripletSeeder > m_finder
Acts::BroadTripletSeedFilter::Config m_filterCfg
Gaudi::Property< bool > m_useDetailedDoubleMeasurementInfo
std::pair< float, float > retrieveRadiusRangeForMiddle(const Acts::ConstSpacePointProxy &spM, const Acts::Range1D< float > &rMiddleSpRange) const
Gaudi::Property< float > m_deltaRMiddleMaxSPRange
Gaudi::Property< bool > m_useHVCollisionRegion
Acts::CylindricalSpacePointGrid::Config m_gridCfg
Gaudi::Property< float > m_hvCollisionRegionTolerance
Gaudi::Property< float > m_doubletDPhiD0Max
Gaudi::Property< float > m_deltaRMiddleMinSPRange
const Acts::Logger & logger() const
Private access to the logger.
std::unique_ptr< const Acts::Logger > m_loggerFilter
bool doubletSelectionFunction(const std::vector< float > &spPhi, const std::vector< float > &spAsinD0OverR, const Acts::ConstSpacePointProxy &middle, const Acts::ConstSpacePointProxy &other, float cotTheta, bool isBottomCandidate) const
doublet selection which caches per SP phi and asin(d0/r) values for the middle and other SPs
SG::ReadHandleKey< xAOD::VertexContainer > m_inputHoughVtxKey
Gaudi::Property< bool > m_useExperimentCuts
virtual bool isValid() override final
Can the handle be successfully dereferenced?
int r
Definition globals.cxx:22
bool first
Definition DeMoScan.py:534
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
const IIntersectionCache * cache() const
Retrieve the associated cache block, if it exists.
@ PriVtx
Primary vertex.
SpacePointContainer_v1 SpacePointContainer
Define the version of the space point container.
Seed push_back(SpacePointRange spacePoints, float quality, float vertexZ)
void reserve(std::size_t size, float averageSpacePoints=3) noexcept
std::size_t size() const noexcept

◆ doubletSelectionFunction()

bool ActsTrk::GridTripletSeedingTool::doubletSelectionFunction ( const std::vector< float > & spPhi,
const std::vector< float > & spAsinD0OverR,
const Acts::ConstSpacePointProxy & middle,
const Acts::ConstSpacePointProxy & other,
float cotTheta,
bool isBottomCandidate ) const
private

doublet selection which caches per SP phi and asin(d0/r) values for the middle and other SPs

Definition at line 379 of file GridTripletSeedingTool.cxx.

383 {
384 if (m_doubletDPhiCut) {
385 // per-pair azimuthal-swing bound: the hit azimuth of a track with impact
386 // parameter d0 swings between two radii by asin(d0/rInner) -
387 // asin(d0/rOuter) on top of the curvature rotation. The grid phi-bin
388 // widening only knows the full radial span; this applies the exact
389 // per-pair bound before the doublet enters the triplet stage.
390 // NB: this container only fills the packed coordinate columns, so the
391 // packed accessor zr() must be used here.
392 const float rM = middle.zr()[1];
393 const float rO = other.zr()[1];
394 const float rInner = std::min(rM, rO);
395 const float rOuter = std::max(rM, rO);
396
397 // phi(SP) and asin(d0/r) depend only on the SP (d0 is constant from the
398 // config), so they are computed once per SP in createSeeds and looked up
399 // via copiedFromIndex, avoiding two atan2 and two asin calls per
400 // candidate. asin(d0/r) is monotone in r, so the inner-minus-outer swing
401 // equals the absolute difference of the two per-SP terms.
402 const auto iM = middle.copiedFromIndex();
403 const auto iO = other.copiedFromIndex();
404 float dPhi = spPhi[iO] - spPhi[iM];
405 const float swing = std::abs(spAsinD0OverR[iO] - spAsinD0OverR[iM]);
406 if (dPhi > std::numbers::pi_v<float>) {
407 dPhi -= 2.f * std::numbers::pi_v<float>;
408 } else if (dPhi < -std::numbers::pi_v<float>) {
409 dPhi += 2.f * std::numbers::pi_v<float>;
410 }
411 const float bound = m_doubletDPhiConst +
412 m_doubletDPhiSlope * (rOuter - rInner) +
413 std::min(m_doubletDPhiCap.value(), swing);
414
415 if (std::abs(dPhi) > bound) {
416 return false;
417 }
418 }
419
420 if (!m_useExperimentCuts) {
421 return true;
422 }
423
424 // We remove some doublets that have the middle space point in some specific
425 // areas This should eventually be moved inside ACTS and allow a veto
426 // mechanism according to the user desire. As of now we cannot really do this
427 // since we define a range of validity of the middle candidate, and if we want
428 // to veto some sub-regions inside it, we need to do it here.
429 if (std::abs(middle.zr()[0]) > 1500 and middle.zr()[1] > 100 and
430 middle.zr()[1] < 150) {
431 return false;
432 }
433
434 // We remove here some seeds, in case the bottom space point radius is
435 // too small (i.e. < fastTrackingRMin)
436
437 // This operation is done only within a specific eta window
438 // Instead of eta we use the doublet cottheta
439 static constexpr float cotThetaEta120 = 1.5095;
440 static constexpr float cotThetaEta360 = 18.2855;
441
442 float absCotTheta = std::abs(cotTheta);
443 if (isBottomCandidate && other.zr()[1] < m_expCutrMin &&
444 absCotTheta > cotThetaEta120 && absCotTheta < cotThetaEta360) {
445 return false;
446 }
447
448 return true;
449}
Gaudi::Property< float > m_doubletDPhiSlope
Gaudi::Property< float > m_doubletDPhiCap
Gaudi::Property< float > m_doubletDPhiConst
bool dPhi(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)

◆ initialize()

StatusCode ActsTrk::GridTripletSeedingTool::initialize ( )
overridevirtual

Definition at line 21 of file GridTripletSeedingTool.cxx.

21 {
22 ATH_MSG_DEBUG("Initializing " << name() << "...");
23
24 ATH_MSG_DEBUG("Properties Summary:");
30
31 ATH_MSG_DEBUG(" * Used by space point grid config:");
32 ATH_MSG_DEBUG(" " << m_minPt);
35 ATH_MSG_DEBUG(" " << m_zMin);
36 ATH_MSG_DEBUG(" " << m_zMax);
44
45 ATH_MSG_DEBUG(" * Used by seed finder config:");
46 ATH_MSG_DEBUG(" " << m_minPt);
49 ATH_MSG_DEBUG(" " << m_zMin);
50 ATH_MSG_DEBUG(" " << m_zMax);
52 ATH_MSG_DEBUG(" " << m_rMax);
67 }
79 } else if (not m_rRangeMiddleSP.empty())
99 }
102 ATH_MSG_DEBUG(" " << m_phiMin);
103 ATH_MSG_DEBUG(" " << m_phiMax);
104 ATH_MSG_DEBUG(" " << m_rMin);
105 ATH_MSG_DEBUG(" " << m_zAlign);
106 ATH_MSG_DEBUG(" " << m_rAlign);
108
109 ATH_MSG_DEBUG(" * Used by seed filter config:");
133 }
140
141 // Make the logger && Propagate to ACTS routines
142 m_logger = makeActsAthenaLogger(this, "Acts");
143
144 // Both edge vectors define the bins of the corresponding grid axis, so n
145 // edges give n-1 bins. Guard against an empty vector before subtracting, the
146 // sizes are unsigned.
147 if (m_zBinEdges.size() < 2 || m_rBinEdges.size() < 2) {
148 ATH_MSG_ERROR("zBinEdges and rBinEdges must each contain at least two "
149 "edges, got "
150 << m_zBinEdges.size() << " and " << m_rBinEdges.size());
151 return StatusCode::FAILURE;
152 }
153 const std::size_t nZBins = m_zBinEdges.size() - 1;
154 const std::size_t nRBins = m_rBinEdges.size() - 1;
155
156 // The neighbour vectors hold one entry per bin and are indexed 0-based by
157 // Acts::GridBinFinder. An empty vector means "one neighbour on each side".
158 auto checkNeighbors = [this](std::string_view name,
159 std::span<const std::pair<int, int>> values,
160 std::size_t nBins) {
161 if (values.empty() || values.size() == nBins) {
162 return true;
163 }
164 ATH_MSG_ERROR("Inconsistent config " << name << ": got " << values.size()
165 << " entries but the grid has "
166 << nBins << " bins");
167 return false;
168 };
169
170 if (!checkNeighbors("zBinNeighborsTop", m_zBinNeighborsTop.value(), nZBins) ||
171 !checkNeighbors("zBinNeighborsBottom", m_zBinNeighborsBottom.value(),
172 nZBins) ||
173 !checkNeighbors("rBinNeighborsTop", m_rBinNeighborsTop.value(), nRBins) ||
174 !checkNeighbors("rBinNeighborsBottom", m_rBinNeighborsBottom.value(),
175 nRBins)) {
176 return StatusCode::FAILURE;
177 }
178
179 // The custom looping vectors are the Acts::BinnedGroup navigation and use
180 // the 1-based local bin numbering of the grid axis: valid entries run from 1
181 // to the number of bins. Bin 0 is the underflow bin, which never holds a
182 // space point, so listing it would silently drop an entry from the loop. A
183 // vector may list a subset of the bins in order to skip the remaining ones,
184 // but must not repeat a bin. An empty vector means all bins in their natural
185 // order.
186 auto checkLooping = [this](std::string_view name,
187 std::span<const std::size_t> bins,
188 std::size_t nBins) {
189 std::vector<bool> visited(nBins + 1, false);
190 for (std::size_t i : bins) {
191 if (i == 0 || i > nBins) {
192 ATH_MSG_ERROR("Inconsistent config "
193 << name << ": bin " << i
194 << " is out of range, the numbering is 1-based and the "
195 "grid has "
196 << nBins << " bins (valid entries are 1.." << nBins
197 << ")");
198 return false;
199 }
200 if (visited[i]) {
201 ATH_MSG_ERROR("Inconsistent config " << name << ": bin " << i
202 << " is listed more than once");
203 return false;
204 }
205 visited[i] = true;
206 }
207 return true;
208 };
209
210 if (!checkLooping("zBinsCustomLooping", m_zBinsCustomLooping.value(),
211 nZBins) ||
212 !checkLooping("rBinsCustomLooping", m_rBinsCustomLooping.value(),
213 nRBins)) {
214 return StatusCode::FAILURE;
215 }
216
217 // rRangeMiddleSP is indexed 0-based by z bin in retrieveRadiusRangeForMiddle,
218 // so it needs exactly one entry per z bin. It is only read when the variable
219 // middle range is disabled.
220 if (!m_useVariableMiddleSPRange && m_rRangeMiddleSP.size() != nZBins) {
221 ATH_MSG_ERROR("Inconsistent config rRangeMiddleSP: got "
222 << m_rRangeMiddleSP.size()
223 << " entries but the grid has " << nZBins << " z bins");
224 return StatusCode::FAILURE;
225 }
226
227 m_gridCfg.minPt = m_minPt;
228 m_gridCfg.rMin = 0;
229 m_gridCfg.rMax = m_gridRMax;
230 m_gridCfg.zMin = m_zMin;
231 m_gridCfg.zMax = m_zMax;
232 m_gridCfg.deltaRMax = m_deltaRMax;
233 m_gridCfg.cotThetaMax = m_cotThetaMax;
234 m_gridCfg.impactMax = m_impactMax;
235 m_gridCfg.phiMin = m_gridPhiMin;
236 m_gridCfg.phiMax = m_gridPhiMax;
237 m_gridCfg.phiBinDeflectionCoverage = m_phiBinDeflectionCoverage;
238 m_gridCfg.maxPhiBins = m_maxPhiBins;
239 m_gridCfg.zBinEdges = m_zBinEdges;
240 m_gridCfg.rBinEdges = m_rBinEdges;
241 m_gridCfg.bFieldInZ = 0; // will be set later
242 m_gridCfg.bottomBinFinder = Acts::GridBinFinder<3ul>(
244 m_rBinNeighborsBottom.value());
245 m_gridCfg.topBinFinder = Acts::GridBinFinder<3ul>(m_numPhiNeighbors.value(),
246 m_zBinNeighborsTop.value(),
247 m_rBinNeighborsTop.value());
248 m_gridCfg.navigation[0ul] = {};
249 m_gridCfg.navigation[1ul] = m_zBinsCustomLooping;
250 m_gridCfg.navigation[2ul] = m_rBinsCustomLooping;
251
252 m_bottomDoubletFinderCfg.spacePointsSortedByRadius = true;
253 m_bottomDoubletFinderCfg.candidateDirection = Acts::Direction::Backward();
264 m_bottomDoubletFinderCfg.helixCutTolerance = 1.;
265 m_topDoubletFinderCfg = m_bottomDoubletFinderCfg; // copy the bottom cuts
266 m_topDoubletFinderCfg.candidateDirection = Acts::Direction::Forward();
269
271 m_tripletFinderCfg.sortedByCotTheta = true;
273 m_tripletFinderCfg.sigmaScattering = m_sigmaScattering;
274 m_tripletFinderCfg.radLengthPerSeed = m_radLengthPerSeed;
276 m_tripletFinderCfg.helixCutTolerance = 1.;
277 m_tripletFinderCfg.toleranceParam = m_toleranceParam;
279 m_filterCfg.deltaInvHelixDiameter = m_deltaInvHelixDiameter;
280 m_filterCfg.deltaRMin = m_deltaRMin;
281 m_filterCfg.compatSeedWeight = m_compatSeedWeight;
282 m_filterCfg.impactWeightFactor = m_impactWeightFactor;
283 m_filterCfg.zOriginWeightFactor = m_zOriginWeightFactor;
284 m_filterCfg.maxSeedsPerSpM = m_maxSeedsPerSpM;
285 m_filterCfg.compatSeedLimit = m_compatSeedLimit;
286 m_filterCfg.seedWeightIncrement = m_seedWeightIncrement;
287 m_filterCfg.numSeedIncrement = m_numSeedIncrement;
288 m_filterCfg.seedConfirmation = m_seedConfirmationInFilter;
289 m_filterCfg.centralSeedConfirmationRange.zMinSeedConf = m_seedConfCentralZMin;
290 m_filterCfg.centralSeedConfirmationRange.zMaxSeedConf = m_seedConfCentralZMax;
291 m_filterCfg.centralSeedConfirmationRange.rMaxSeedConf = m_seedConfCentralRMax;
292 m_filterCfg.centralSeedConfirmationRange.nTopForLargeR =
294 m_filterCfg.centralSeedConfirmationRange.nTopForSmallR =
296 m_filterCfg.centralSeedConfirmationRange.seedConfMinBottomRadius =
298 m_filterCfg.centralSeedConfirmationRange.seedConfMaxZOrigin =
300 m_filterCfg.centralSeedConfirmationRange.minImpactSeedConf =
302 m_filterCfg.forwardSeedConfirmationRange.zMinSeedConf = m_seedConfForwardZMin;
303 m_filterCfg.forwardSeedConfirmationRange.zMaxSeedConf = m_seedConfForwardZMax;
304 m_filterCfg.forwardSeedConfirmationRange.rMaxSeedConf = m_seedConfForwardRMax;
305 m_filterCfg.forwardSeedConfirmationRange.nTopForLargeR =
307 m_filterCfg.forwardSeedConfirmationRange.nTopForSmallR =
309 m_filterCfg.forwardSeedConfirmationRange.seedConfMinBottomRadius =
311 m_filterCfg.forwardSeedConfirmationRange.seedConfMaxZOrigin =
313 m_filterCfg.forwardSeedConfirmationRange.minImpactSeedConf =
315 m_filterCfg.maxSeedsPerSpMConf = m_maxSeedsPerSpMConf;
316 m_filterCfg.maxQualitySeedsPerSpMConf = m_maxQualitySeedsPerSpMConf;
317 m_filterCfg.useDeltaRinsteadOfTopRadius = m_useDeltaRorTopRadius;
318 m_filterCfg.absDeltaEtaWeightFactor = m_absDeltaEtaWeightFactor;
319 m_filterCfg.absDeltaEtaMinImpact = m_absDeltaEtaMinImpact;
320
321 m_finder = Acts::TripletSeeder(logger().cloneWithSuffix("Finder"));
322
323 m_loggerFilter = logger().cloneWithSuffix("Filter");
324
325 ATH_CHECK(detStore()->retrieve(m_pixelId, "PixelID"));
326
327 return StatusCode::SUCCESS;
328}
#define ATH_MSG_DEBUG(x)
static const std::vector< std::string > bins
std::unique_ptr< const Acts::Logger > makeActsAthenaLogger(IMessageSvc *svc, const std::string &name, int level, std::optional< std::string > parent_name)
Gaudi::Property< bool > m_useDeltaRorTopRadius
Gaudi::Property< float > m_seedConfForwardMinImpact
Gaudi::Property< std::vector< std::pair< int, int > > > m_rBinNeighborsTop
Gaudi::Property< float > m_impactWeightFactor
Gaudi::Property< float > m_collisionRegionMax
Gaudi::Property< float > m_seedConfCentralMinBottomRadius
Gaudi::Property< int > m_phiBinDeflectionCoverage
Gaudi::Property< float > m_zOriginWeightFactor
Gaudi::Property< std::size_t > m_maxSeedsPerSpMConf
Gaudi::Property< float > m_maxPtScattering
Gaudi::Property< bool > m_useVariableMiddleSPRange
Gaudi::Property< float > m_toleranceParam
Gaudi::Property< float > m_maxStripDeltaCotTheta
Gaudi::Property< float > m_deltaRMaxBottomSP
Gaudi::Property< float > m_seedConfForwardMinBottomRadius
Gaudi::Property< float > m_compatSeedWeight
Gaudi::Property< std::vector< std::vector< double > > > m_rRangeMiddleSP
Gaudi::Property< float > m_deltaRMinTopSP
Gaudi::Property< float > m_seedConfForwardZMin
Gaudi::Property< std::vector< std::pair< int, int > > > m_rBinNeighborsBottom
Gaudi::Property< std::vector< std::pair< int, int > > > m_zBinNeighborsBottom
Gaudi::Property< float > m_gridPhiMin
Gaudi::Property< bool > m_interactionPointCut
Gaudi::Property< size_t > m_seedConfCentralNTopSmallR
Gaudi::Property< std::vector< float > > m_rBinEdges
Gaudi::Property< float > m_seedConfForwardRMax
Gaudi::Property< std::vector< std::pair< int, int > > > m_zBinNeighborsTop
Gaudi::Property< float > m_deltaInvHelixDiameter
Gaudi::Property< float > m_collisionRegionMin
Gaudi::Property< float > m_seedConfCentralMaxZOrigin
Gaudi::Property< float > m_seedConfCentralMinImpact
Gaudi::Property< std::size_t > m_maxQualitySeedsPerSpMConf
Gaudi::Property< float > m_gridPhiMax
Gaudi::Property< std::vector< float > > m_zBinEdges
Gaudi::Property< bool > m_seedConfirmation
Gaudi::Property< float > m_seedConfForwardMaxZOrigin
Gaudi::Property< float > m_seedWeightIncrement
Gaudi::Property< float > m_radLengthPerSeed
Gaudi::Property< float > m_absDeltaEtaMinImpact
Gaudi::Property< float > m_absDeltaEtaWeightFactor
Gaudi::Property< float > m_cotThetaMax
Gaudi::Property< float > m_deltaRMinBottomSP
Gaudi::Property< size_t > m_seedConfCentralNTopLargeR
Gaudi::Property< float > m_seedConfForwardZMax
Gaudi::Property< bool > m_seedConfirmationInFilter
Gaudi::Property< std::vector< std::size_t > > m_rBinsCustomLooping
Gaudi::Property< float > m_seedConfCentralRMax
std::unique_ptr< const Acts::Logger > m_logger
logging instance
Gaudi::Property< float > m_sigmaScattering
Gaudi::Property< std::vector< size_t > > m_zBinsCustomLooping
Gaudi::Property< float > m_seedConfCentralZMax
Gaudi::Property< float > m_deltaRMaxTopSP
Gaudi::Property< std::size_t > m_compatSeedLimit
Gaudi::Property< size_t > m_seedConfForwardNTopSmallR
Gaudi::Property< float > m_seedConfCentralZMin
Gaudi::Property< float > m_numSeedIncrement
Gaudi::Property< size_t > m_seedConfForwardNTopLargeR
unsigned long ul

◆ logger()

const Acts::Logger & ActsTrk::GridTripletSeedingTool::logger ( ) const
inlineprivate

Private access to the logger.

Definition at line 397 of file GridTripletSeedingTool.h.

397{ return *m_logger; }

◆ retrieveRadiusRangeForMiddle()

std::pair< float, float > ActsTrk::GridTripletSeedingTool::retrieveRadiusRangeForMiddle ( const Acts::ConstSpacePointProxy & spM,
const Acts::Range1D< float > & rMiddleSpRange ) const
private

Definition at line 451 of file GridTripletSeedingTool.cxx.

453 {
455 return {rMiddleSpRange.min(), rMiddleSpRange.max()};
456 }
457 if (m_rRangeMiddleSP.empty()) {
458 throw std::runtime_error(
459 "m_rRangeMiddleSP is empty, please check the configuration.");
460 }
461
462 // get zBin position of the middle SP
463 auto pVal =
464 std::lower_bound(m_zBinEdges.begin(), m_zBinEdges.end(), spM.zr()[0]);
465 int zBin = std::distance(m_zBinEdges.begin(), pVal);
466 // protects against zM at the limit of zBinEdges
467 zBin == 0 ? zBin : --zBin;
468 return {m_rRangeMiddleSP[zBin][0], m_rRangeMiddleSP[zBin][1]};
469}

◆ spacePointSelectionFunction()

bool ActsTrk::GridTripletSeedingTool::spacePointSelectionFunction ( const xAOD::SpacePoint * sp,
float r ) const
private

Definition at line 330 of file GridTripletSeedingTool.cxx.

331 {
332 float zabs = std::abs(sp->z());
333 float absCotTheta = zabs / r;
334
335 // checking configuration to remove pixel space points
336 Identifier identifier = m_pixelId->wafer_id(sp->elementIdList().at(0));
337 if (m_pixelId->is_barrel(identifier)) {
338 if (zabs > 200 && r < 40)
339 return false;
340
341 return true;
342 }
343
344 // Inner layers
345 // Below 1.20 - accept all
346 static constexpr float cotThetaEta120 = 1.5095;
347 if (absCotTheta < cotThetaEta120)
348 return true;
349
350 // Below 3.40 - remove if too close to beamline
351 static constexpr float cotThetaEta340 = 14.9654;
352 if (absCotTheta < cotThetaEta340 && r < m_expCutrMin)
353 return false;
354
355 // Outer layers
356 // Above 2.20
357 static constexpr float cotThetaEta220 = 4.4571;
358 if (absCotTheta > cotThetaEta220 && r > 260.)
359 return false;
360
361 // Above 2.60
362 static constexpr float cotThetaEta260 = 6.6947;
363 if (absCotTheta > cotThetaEta260 && r > 200.)
364 return false;
365
366 // Above 3.20
367 static constexpr float cotThetaEta320 = 12.2459;
368 if (absCotTheta > cotThetaEta320 && r > 140.)
369 return false;
370
371 // Above 4.00
372 static constexpr float cotThetaEta400 = 27.2899;
373 if (absCotTheta > cotThetaEta400)
374 return false;
375
376 return true;
377}

Member Data Documentation

◆ m_absDeltaEtaMinImpact

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_absDeltaEtaMinImpact
protected
Initial value:
{
this, "absDeltaEtaMinImpact", 2. * Acts::UnitConstants::mm,
"minimum impact parameter to apply abs(delta-eta) weight"}

Definition at line 302 of file GridTripletSeedingTool.h.

302 {
303 this, "absDeltaEtaMinImpact", 2. * Acts::UnitConstants::mm,
304 "minimum impact parameter to apply abs(delta-eta) weight"};

◆ m_absDeltaEtaWeightFactor

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_absDeltaEtaWeightFactor
protected
Initial value:
{
this, "absDeltaEtaWeightFactor", 0.,
"weight factor for abs(delta-eta) penalty between seed direction and "
"beamspot-to-PCA direction (0 = disabled, typical LRT value: 10)"}

Definition at line 298 of file GridTripletSeedingTool.h.

298 {
299 this, "absDeltaEtaWeightFactor", 0.,
300 "weight factor for abs(delta-eta) penalty between seed direction and "
301 "beamspot-to-PCA direction (0 = disabled, typical LRT value: 10)"};

◆ m_binSizeR

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_binSizeR
protected
Initial value:
{
this, "binSizeR", 1. * Acts::UnitConstants::mm,
"defining radial bin for space point sorting"}

Definition at line 96 of file GridTripletSeedingTool.h.

96 {
97 this, "binSizeR", 1. * Acts::UnitConstants::mm,
98 "defining radial bin for space point sorting"};

◆ m_bottomDoubletFinderCfg

Acts::DoubletSeedFinder::Config ActsTrk::GridTripletSeedingTool::m_bottomDoubletFinderCfg
private

Definition at line 383 of file GridTripletSeedingTool.h.

◆ m_collisionRegionMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_collisionRegionMax
protected
Initial value:
{
this, "collisionRegionMax", 200. * Acts::UnitConstants::mm,
"limiting location of collision region in z"}

Definition at line 121 of file GridTripletSeedingTool.h.

121 {
122 this, "collisionRegionMax", 200. * Acts::UnitConstants::mm,
123 "limiting location of collision region in z"};

◆ m_collisionRegionMin

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_collisionRegionMin
protected
Initial value:
{
this, "collisionRegionMin", -200. * Acts::UnitConstants::mm,
"limiting location of collision region in z"}

Definition at line 118 of file GridTripletSeedingTool.h.

118 {
119 this, "collisionRegionMin", -200. * Acts::UnitConstants::mm,
120 "limiting location of collision region in z"};

◆ m_compatSeedLimit

Gaudi::Property<std::size_t> ActsTrk::GridTripletSeedingTool::m_compatSeedLimit
protected
Initial value:
{
this, "compatSeedLimit", 3,
"how often do you want to increase the weight of a seed for finding a "
"compatible seed"}

Definition at line 272 of file GridTripletSeedingTool.h.

272 {
273 this, "compatSeedLimit", 3,
274 "how often do you want to increase the weight of a seed for finding a "
275 "compatible seed"};

◆ m_compatSeedWeight

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_compatSeedWeight
protected
Initial value:
{
this, "compatSeedWeight", 100.,
"seed weight increased by this value if a compatible seed has been "
"found"}

Definition at line 268 of file GridTripletSeedingTool.h.

268 {
269 this, "compatSeedWeight", 100.,
270 "seed weight increased by this value if a compatible seed has been "
271 "found"};

◆ m_cotThetaMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_cotThetaMax
protected
Initial value:
{this, "cotThetaMax", 27.2899,
"cot of maximum theta angle"}

Definition at line 53 of file GridTripletSeedingTool.h.

53 {this, "cotThetaMax", 27.2899,
54 "cot of maximum theta angle"};

◆ m_deltaInvHelixDiameter

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_deltaInvHelixDiameter
protected
Initial value:
{
this, "deltaInvHelixDiameter", 0.00003 * 1. / Acts::UnitConstants::mm,
"the allowed delta between two inverted seed radii for them to be "
"considered compatible"}

Definition at line 294 of file GridTripletSeedingTool.h.

294 {
295 this, "deltaInvHelixDiameter", 0.00003 * 1. / Acts::UnitConstants::mm,
296 "the allowed delta between two inverted seed radii for them to be "
297 "considered compatible"};

◆ m_deltaRMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_deltaRMax
protected
Initial value:
{
this, "deltaRMax", 280. * Acts::UnitConstants::mm,
"maximum distance in r between two measurements within one "
"seed"}

Definition at line 59 of file GridTripletSeedingTool.h.

59 {
60 this, "deltaRMax", 280. * Acts::UnitConstants::mm,
61 "maximum distance in r between two measurements within one "
62 "seed"};

◆ m_deltaRMaxBottomSP

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_deltaRMaxBottomSP
protected
Initial value:
{
this, "deltaRMaxBottomSP", 150. * Acts::UnitConstants::mm,
"maximum distance in r between middle and top SP"}

Definition at line 112 of file GridTripletSeedingTool.h.

112 {
113 this, "deltaRMaxBottomSP", 150. * Acts::UnitConstants::mm,
114 "maximum distance in r between middle and top SP"};

◆ m_deltaRMaxTopSP

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_deltaRMaxTopSP
protected
Initial value:
{
this, "deltaRMaxTopSP", 280. * Acts::UnitConstants::mm,
"maximum distance in r between middle and top SP"}

Definition at line 106 of file GridTripletSeedingTool.h.

106 {
107 this, "deltaRMaxTopSP", 280. * Acts::UnitConstants::mm,
108 "maximum distance in r between middle and top SP"};

◆ m_deltaRMiddleMaxSPRange

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_deltaRMiddleMaxSPRange
protected
Initial value:
{
this, "deltaRMiddleMaxSPRange", 10., "delta R for middle SP range (max)"}

Definition at line 186 of file GridTripletSeedingTool.h.

186 {
187 this, "deltaRMiddleMaxSPRange", 10., "delta R for middle SP range (max)"};

◆ m_deltaRMiddleMinSPRange

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_deltaRMiddleMinSPRange
protected
Initial value:
{
this, "deltaRMiddleMinSPRange", 10., "delta R for middle SP range (min)"}

Definition at line 184 of file GridTripletSeedingTool.h.

184 {
185 this, "deltaRMiddleMinSPRange", 10., "delta R for middle SP range (min)"};

◆ m_deltaRMin

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_deltaRMin
protected
Initial value:
{
this, "deltaRMin", 20. * Acts::UnitConstants::mm,
"minimum distance in r between two measurements within one "
"seed"}

Definition at line 99 of file GridTripletSeedingTool.h.

99 {
100 this, "deltaRMin", 20. * Acts::UnitConstants::mm,
101 "minimum distance in r between two measurements within one "
102 "seed"};

◆ m_deltaRMinBottomSP

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_deltaRMinBottomSP
protected
Initial value:
{
this, "deltaRMinBottomSP", 6. * Acts::UnitConstants::mm,
"minimum distance in r between middle and top SP"}

Definition at line 109 of file GridTripletSeedingTool.h.

109 {
110 this, "deltaRMinBottomSP", 6. * Acts::UnitConstants::mm,
111 "minimum distance in r between middle and top SP"};

◆ m_deltaRMinTopSP

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_deltaRMinTopSP
protected
Initial value:
{
this, "deltaRMinTopSP", 6. * Acts::UnitConstants::mm,
"minimum distance in r between middle and top SP"}

Definition at line 103 of file GridTripletSeedingTool.h.

103 {
104 this, "deltaRMinTopSP", 6. * Acts::UnitConstants::mm,
105 "minimum distance in r between middle and top SP"};

◆ m_deltaZMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_deltaZMax
protected
Initial value:
{
this, "deltaZMax", 600,
"maximum distance in z between two measurements within one seed"}

Definition at line 115 of file GridTripletSeedingTool.h.

115 {
116 this, "deltaZMax", 600,
117 "maximum distance in z between two measurements within one seed"};

◆ m_doubletDPhiCap

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_doubletDPhiCap
protected
Initial value:
{this, "doubletDPhiCap", 10.,
"cap on the displaced phi-swing term [rad]"}

Definition at line 367 of file GridTripletSeedingTool.h.

367 {this, "doubletDPhiCap", 10.,
368 "cap on the displaced phi-swing term [rad]"};

◆ m_doubletDPhiConst

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_doubletDPhiConst
protected
Initial value:
{this, "doubletDPhiConst", 0.015,
"constant term of the prompt doublet phi window [rad]"}

Definition at line 369 of file GridTripletSeedingTool.h.

369 {this, "doubletDPhiConst", 0.015,
370 "constant term of the prompt doublet phi window [rad]"};

◆ m_doubletDPhiCut

Gaudi::Property<bool> ActsTrk::GridTripletSeedingTool::m_doubletDPhiCut
protected
Initial value:
{this, "doubletDPhiCut", false,
"apply the per-pair azimuthal-swing doublet cut"}

Definition at line 363 of file GridTripletSeedingTool.h.

363 {this, "doubletDPhiCut", false,
364 "apply the per-pair azimuthal-swing doublet cut"};

◆ m_doubletDPhiD0Max

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_doubletDPhiD0Max
protected
Initial value:
{this, "doubletDPhiD0Max", -1.,
"impact parameter bounding the doublet phi swing; negative uses impactMax"}

Definition at line 365 of file GridTripletSeedingTool.h.

365 {this, "doubletDPhiD0Max", -1.,
366 "impact parameter bounding the doublet phi swing; negative uses impactMax"};

◆ m_doubletDPhiSlope

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_doubletDPhiSlope
protected
Initial value:
{this, "doubletDPhiSlope", 2.0e-4,
"curvature term of the prompt doublet phi window [rad/mm]"}

Definition at line 371 of file GridTripletSeedingTool.h.

371 {this, "doubletDPhiSlope", 2.0e-4,
372 "curvature term of the prompt doublet phi window [rad/mm]"};

◆ m_expCutrMin

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_expCutrMin
protected
Initial value:
{this, "SpSelectionExpCutrMin",
45. * Acts::UnitConstants::mm}

Definition at line 378 of file GridTripletSeedingTool.h.

378 {this, "SpSelectionExpCutrMin",
379 45. * Acts::UnitConstants::mm};

◆ m_filterCfg

Acts::BroadTripletSeedFilter::Config ActsTrk::GridTripletSeedingTool::m_filterCfg
private

Definition at line 386 of file GridTripletSeedingTool.h.

◆ m_finder

std::optional<Acts::TripletSeeder> ActsTrk::GridTripletSeedingTool::m_finder
private

Definition at line 388 of file GridTripletSeedingTool.h.

◆ m_gridCfg

Acts::CylindricalSpacePointGrid::Config ActsTrk::GridTripletSeedingTool::m_gridCfg
private

Definition at line 382 of file GridTripletSeedingTool.h.

◆ m_gridPhiMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_gridPhiMax
protected
Initial value:
{this, "gridPhiMax",
std::numbers::pi_v<float>,
"phi max for space point grid formation"}

Definition at line 83 of file GridTripletSeedingTool.h.

83 {this, "gridPhiMax",
84 std::numbers::pi_v<float>,
85 "phi max for space point grid formation"};

◆ m_gridPhiMin

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_gridPhiMin
protected
Initial value:
{this, "gridPhiMin",
-std::numbers::pi_v<float>,
"phi min for space point grid formation"}

Definition at line 80 of file GridTripletSeedingTool.h.

80 {this, "gridPhiMin",
81 -std::numbers::pi_v<float>,
82 "phi min for space point grid formation"};

◆ m_gridRMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_gridRMax
protected
Initial value:
{
this, "gridRMax", 320. * Acts::UnitConstants::mm,
"radial extension of subdetector to be used in grid building"}

Definition at line 77 of file GridTripletSeedingTool.h.

77 {
78 this, "gridRMax", 320. * Acts::UnitConstants::mm,
79 "radial extension of subdetector to be used in grid building"};

◆ m_hvCollisionRegionTolerance

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_hvCollisionRegionTolerance
protected
Initial value:
{
this, "hvCollisionRegionTolerance", 10. * Acts::UnitConstants::mm,
"size of collision region when using Hough vertex"}

Definition at line 127 of file GridTripletSeedingTool.h.

127 {
128 this, "hvCollisionRegionTolerance", 10. * Acts::UnitConstants::mm,
129 "size of collision region when using Hough vertex"};

◆ m_impactMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_impactMax
protected
Initial value:
{this, "impactMax",
2. * Acts::UnitConstants::mm,
"maximum impact parameter"}

Definition at line 63 of file GridTripletSeedingTool.h.

63 {this, "impactMax",
64 2. * Acts::UnitConstants::mm,
65 "maximum impact parameter"};

◆ m_impactWeightFactor

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_impactWeightFactor
protected
Initial value:
{
this, "impactWeightFactor", 100.,
"the impact parameters (d0) is multiplied by this factor and subtracted "
"from weight"}

Definition at line 263 of file GridTripletSeedingTool.h.

263 {
264 this, "impactWeightFactor", 100.,
265 "the impact parameters (d0) is multiplied by this factor and subtracted "
266 "from weight"};

◆ m_inputHoughVtxKey

SG::ReadHandleKey<xAOD::VertexContainer> ActsTrk::GridTripletSeedingTool::m_inputHoughVtxKey {this, "inputHoughVtx", "", "input vertex container"}
private

Definition at line 412 of file GridTripletSeedingTool.h.

412{this, "inputHoughVtx", "", "input vertex container"};

◆ m_interactionPointCut

Gaudi::Property<bool> ActsTrk::GridTripletSeedingTool::m_interactionPointCut
protected
Initial value:
{
this, "interactionPointCut", true,
"Enable cut on the compatibility between interaction point and SPs"}

Definition at line 145 of file GridTripletSeedingTool.h.

145 {
146 this, "interactionPointCut", true,
147 "Enable cut on the compatibility between interaction point and SPs"};

◆ m_logger

std::unique_ptr<const Acts::Logger> ActsTrk::GridTripletSeedingTool::m_logger
private

logging instance

Definition at line 391 of file GridTripletSeedingTool.h.

◆ m_loggerFilter

std::unique_ptr<const Acts::Logger> ActsTrk::GridTripletSeedingTool::m_loggerFilter
private

Definition at line 392 of file GridTripletSeedingTool.h.

◆ m_maxPhiBins

Gaudi::Property<int> ActsTrk::GridTripletSeedingTool::m_maxPhiBins
protected
Initial value:
{this, "maxPhiBins", 200,
"max number of bins"}

Definition at line 90 of file GridTripletSeedingTool.h.

90 {this, "maxPhiBins", 200,
91 "max number of bins"};

◆ m_maxPtScattering

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_maxPtScattering
protected
Initial value:
{
this, "maxPtScattering", 10e6,
"Upper pt limit for scattering calculation"}

Definition at line 133 of file GridTripletSeedingTool.h.

133 {
134 this, "maxPtScattering", 10e6,
135 "Upper pt limit for scattering calculation"};

◆ m_maxQualitySeedsPerSpMConf

Gaudi::Property<std::size_t> ActsTrk::GridTripletSeedingTool::m_maxQualitySeedsPerSpMConf
protected
Initial value:
{
this, "maxQualitySeedsPerSpMConf", 5,
"Maximum number of quality seeds for each middle-bottom SP-duplet in "
"seed confirmation."}

Definition at line 287 of file GridTripletSeedingTool.h.

287 {
288 this, "maxQualitySeedsPerSpMConf", 5,
289 "Maximum number of quality seeds for each middle-bottom SP-duplet in "
290 "seed confirmation."};

◆ m_maxSeedsPerSpM

Gaudi::Property<int> ActsTrk::GridTripletSeedingTool::m_maxSeedsPerSpM
protected
Initial value:
{
this, "maxSeedsPerSpM", 4,
"In dense environments many seeds may be found per middle space point. "
"Only seeds with the highest weight will be kept if this limit is "
"reached."}

Definition at line 140 of file GridTripletSeedingTool.h.

140 {
141 this, "maxSeedsPerSpM", 4,
142 "In dense environments many seeds may be found per middle space point. "
143 "Only seeds with the highest weight will be kept if this limit is "
144 "reached."};

◆ m_maxSeedsPerSpMConf

Gaudi::Property<std::size_t> ActsTrk::GridTripletSeedingTool::m_maxSeedsPerSpMConf
protected
Initial value:
{
this, "maxSeedsPerSpMConf", 5,
"Maximum number of lower quality seeds in seed confirmation."}

Definition at line 284 of file GridTripletSeedingTool.h.

284 {
285 this, "maxSeedsPerSpMConf", 5,
286 "Maximum number of lower quality seeds in seed confirmation."};

◆ m_maxStripDeltaCotTheta

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_maxStripDeltaCotTheta
protected
Initial value:
{
this, "maxStripDeltaCotTheta", 1e10f,
"maximum allowed |cotTheta_bottom - cotTheta_top| pre-filter for strip "
"triplets before expensive coordinate checks"}

Definition at line 246 of file GridTripletSeedingTool.h.

246 {
247 this, "maxStripDeltaCotTheta", 1e10f,
248 "maximum allowed |cotTheta_bottom - cotTheta_top| pre-filter for strip "
249 "triplets before expensive coordinate checks"};

◆ m_minPt

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_minPt
protected
Initial value:
{this, "minPt", 900. * Acts::UnitConstants::MeV,
"lower pT cutoff for seeds"}

Definition at line 51 of file GridTripletSeedingTool.h.

51 {this, "minPt", 900. * Acts::UnitConstants::MeV,
52 "lower pT cutoff for seeds"};

◆ m_numPhiNeighbors

Gaudi::Property<int> ActsTrk::GridTripletSeedingTool::m_numPhiNeighbors
protected
Initial value:
{
this, "numPhiNeighbors", 1,
"number of phi bin neighbors at each side of the current bin that will "
"be used to search for SPs"}

Definition at line 352 of file GridTripletSeedingTool.h.

352 {
353 this, "numPhiNeighbors", 1,
354 "number of phi bin neighbors at each side of the current bin that will "
355 "be used to search for SPs"};

◆ m_numSeedIncrement

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_numSeedIncrement
protected
Initial value:
{
this, "numSeedIncrement", 10e6,
"increment in seed weight is applied if the number of compatible seeds "
"is larger than numSeedIncrement"}

Definition at line 278 of file GridTripletSeedingTool.h.

278 {
279 this, "numSeedIncrement", 10e6,
280 "increment in seed weight is applied if the number of compatible seeds "
281 "is larger than numSeedIncrement"};

◆ m_phiBinDeflectionCoverage

Gaudi::Property<int> ActsTrk::GridTripletSeedingTool::m_phiBinDeflectionCoverage
protected
Initial value:
{
this, "phiBinDeflectionCoverage", 3,
"sets of consecutive phi bins to cover full deflection of minimum pT "
"particle"}

Definition at line 86 of file GridTripletSeedingTool.h.

86 {
87 this, "phiBinDeflectionCoverage", 3,
88 "sets of consecutive phi bins to cover full deflection of minimum pT "
89 "particle"};

◆ m_phiMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_phiMax
protected
Initial value:
{this, "phiMax", std::numbers::pi_v<float>,
""}

Definition at line 253 of file GridTripletSeedingTool.h.

253 {this, "phiMax", std::numbers::pi_v<float>,
254 ""};

◆ m_phiMin

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_phiMin
protected
Initial value:
{this, "phiMin", -std::numbers::pi_v<float>,
""}

Definition at line 251 of file GridTripletSeedingTool.h.

251 {this, "phiMin", -std::numbers::pi_v<float>,
252 ""};

◆ m_pixelId

const PixelID* ActsTrk::GridTripletSeedingTool::m_pixelId {nullptr}
private

Definition at line 394 of file GridTripletSeedingTool.h.

394{nullptr};

◆ m_radLengthPerSeed

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_radLengthPerSeed
protected
Initial value:
{
this, "radLengthPerSeed", 0.098045,
"average radiation lengths of material on the length of a seed. used for "
"scattering"}

Definition at line 136 of file GridTripletSeedingTool.h.

136 {
137 this, "radLengthPerSeed", 0.098045,
138 "average radiation lengths of material on the length of a seed. used for "
139 "scattering"};

◆ m_rAlign

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_rAlign
protected
Initial value:
{this, "rAlign", 0 * Acts::UnitConstants::mm,
""}

Definition at line 258 of file GridTripletSeedingTool.h.

258 {this, "rAlign", 0 * Acts::UnitConstants::mm,
259 ""};

◆ m_rBinEdges

Gaudi::Property<std::vector<float> > ActsTrk::GridTripletSeedingTool::m_rBinEdges
protected
Initial value:
{
this,
"rBinEdges",
{0., 1100 * Acts::UnitConstants::mm},
"enable non equidistant binning in radius"}

Definition at line 72 of file GridTripletSeedingTool.h.

72 {
73 this,
74 "rBinEdges",
75 {0., 1100 * Acts::UnitConstants::mm},
76 "enable non equidistant binning in radius"};

◆ m_rBinNeighborsBottom

Gaudi::Property<std::vector<std::pair<int, int> > > ActsTrk::GridTripletSeedingTool::m_rBinNeighborsBottom
protected
Initial value:
{
this,
"rBinNeighborsBottom",
{{0, 0}},
"vector containing the map of radius bins in the bottom layers"}

Definition at line 347 of file GridTripletSeedingTool.h.

347 {
348 this,
349 "rBinNeighborsBottom",
350 {{0, 0}},
351 "vector containing the map of radius bins in the bottom layers"};

◆ m_rBinNeighborsTop

Gaudi::Property<std::vector<std::pair<int, int> > > ActsTrk::GridTripletSeedingTool::m_rBinNeighborsTop
protected
Initial value:
{
this,
"rBinNeighborsTop",
{{0, 0}},
"vector containing the map of radius bins in the top layers"}

Definition at line 342 of file GridTripletSeedingTool.h.

342 {
343 this,
344 "rBinNeighborsTop",
345 {{0, 0}},
346 "vector containing the map of radius bins in the top layers"};

◆ m_rBinsCustomLooping

Gaudi::Property<std::vector<std::size_t> > ActsTrk::GridTripletSeedingTool::m_rBinsCustomLooping
protected
Initial value:
{
this,
"rBinsCustomLooping",
{},
"defines order of r bins for looping; entries are 1-based local bin "
"indices, i.e. within 1..(rBinEdges.size()-1), and must not repeat. "
"Listing a subset skips the remaining bins, empty means all bins in "
"their natural order"}

Definition at line 156 of file GridTripletSeedingTool.h.

156 {
157 this,
158 "rBinsCustomLooping",
159 {},
160 "defines order of r bins for looping; entries are 1-based local bin "
161 "indices, i.e. within 1..(rBinEdges.size()-1), and must not repeat. "
162 "Listing a subset skips the remaining bins, empty means all bins in "
163 "their natural order"};

◆ m_rMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_rMax
protected
Initial value:
{this, "rMax", 320. * Acts::UnitConstants::mm,
"limiting location of measurements"}

Definition at line 94 of file GridTripletSeedingTool.h.

94 {this, "rMax", 320. * Acts::UnitConstants::mm,
95 "limiting location of measurements"};

◆ m_rMin

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_rMin {this, "rMin", 0 * Acts::UnitConstants::mm, ""}
protected

Definition at line 255 of file GridTripletSeedingTool.h.

255{this, "rMin", 0 * Acts::UnitConstants::mm, ""};

◆ m_rRangeMiddleSP

Gaudi::Property<std::vector<std::vector<double> > > ActsTrk::GridTripletSeedingTool::m_rRangeMiddleSP
protected
Initial value:
{
this,
"rRangeMiddleSP",
{{40.0, 90.0},
{40.0, 90.0},
{40.0, 200.0},
{46.0, 200.0},
{46.0, 200.0},
{46.0, 250.0},
{46.0, 250.0},
{46.0, 250.0},
{46.0, 200.0},
{46.0, 200.0},
{40.0, 200.0},
{40.0, 90.0},
{40.0, 90.0}},
"radial range for middle SP"}

Definition at line 167 of file GridTripletSeedingTool.h.

167 {
168 this,
169 "rRangeMiddleSP",
170 {{40.0, 90.0},
171 {40.0, 90.0},
172 {40.0, 200.0},
173 {46.0, 200.0},
174 {46.0, 200.0},
175 {46.0, 250.0},
176 {46.0, 250.0},
177 {46.0, 250.0},
178 {46.0, 200.0},
179 {46.0, 200.0},
180 {40.0, 200.0},
181 {40.0, 90.0},
182 {40.0, 90.0}},
183 "radial range for middle SP"};

◆ m_seedConfCentralMaxZOrigin

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfCentralMaxZOrigin
protected
Initial value:
{
this, "seedConfCentralMaxZOrigin", 150 * Acts::UnitConstants::mm,
"Maximum zOrigin in seed confirmation"}

Definition at line 208 of file GridTripletSeedingTool.h.

208 {
209 this, "seedConfCentralMaxZOrigin", 150 * Acts::UnitConstants::mm,
210 "Maximum zOrigin in seed confirmation"};

◆ m_seedConfCentralMinBottomRadius

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfCentralMinBottomRadius
protected
Initial value:
{
this, "seedConfCentralMinBottomRadius", 60 * Acts::UnitConstants::mm,
"Minimum radius for bottom SP in seed confirmation"}

Definition at line 205 of file GridTripletSeedingTool.h.

205 {
206 this, "seedConfCentralMinBottomRadius", 60 * Acts::UnitConstants::mm,
207 "Minimum radius for bottom SP in seed confirmation"};

◆ m_seedConfCentralMinImpact

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfCentralMinImpact
protected
Initial value:
{
this, "seedConfCentralMinImpact", 1. * Acts::UnitConstants::mm,
"Minimum impact parameter for seed confirmation"}

Definition at line 211 of file GridTripletSeedingTool.h.

211 {
212 this, "seedConfCentralMinImpact", 1. * Acts::UnitConstants::mm,
213 "Minimum impact parameter for seed confirmation"};

◆ m_seedConfCentralNTopLargeR

Gaudi::Property<size_t> ActsTrk::GridTripletSeedingTool::m_seedConfCentralNTopLargeR
protected
Initial value:
{
this, "seedConfCentralNTopLargeR", 1,
"nTop for large R central seed confirmation"}

Definition at line 199 of file GridTripletSeedingTool.h.

199 {
200 this, "seedConfCentralNTopLargeR", 1,
201 "nTop for large R central seed confirmation"};

◆ m_seedConfCentralNTopSmallR

Gaudi::Property<size_t> ActsTrk::GridTripletSeedingTool::m_seedConfCentralNTopSmallR
protected
Initial value:
{
this, "seedConfCentralNTopSmallR", 2,
"nTop for small R central seed confirmation"}

Definition at line 202 of file GridTripletSeedingTool.h.

202 {
203 this, "seedConfCentralNTopSmallR", 2,
204 "nTop for small R central seed confirmation"};

◆ m_seedConfCentralRMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfCentralRMax
protected
Initial value:
{
this, "seedConfCentralRMax", 140. * Acts::UnitConstants::mm,
"maximum r for central seed confirmation "}

Definition at line 196 of file GridTripletSeedingTool.h.

196 {
197 this, "seedConfCentralRMax", 140. * Acts::UnitConstants::mm,
198 "maximum r for central seed confirmation "};

◆ m_seedConfCentralZMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfCentralZMax
protected
Initial value:
{
this, "seedConfCentralZMax", 250. * Acts::UnitConstants::mm,
"maximum z for central seed confirmation "}

Definition at line 193 of file GridTripletSeedingTool.h.

193 {
194 this, "seedConfCentralZMax", 250. * Acts::UnitConstants::mm,
195 "maximum z for central seed confirmation "};

◆ m_seedConfCentralZMin

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfCentralZMin
protected
Initial value:
{
this, "seedConfCentralZMin", -250. * Acts::UnitConstants::mm,
"minimum z for central seed confirmation "}

Definition at line 190 of file GridTripletSeedingTool.h.

190 {
191 this, "seedConfCentralZMin", -250. * Acts::UnitConstants::mm,
192 "minimum z for central seed confirmation "};

◆ m_seedConfForwardMaxZOrigin

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfForwardMaxZOrigin
protected
Initial value:
{
this, "seedConfForwardMaxZOrigin", 150 * Acts::UnitConstants::mm,
"Maximum zOrigin in seed confirmation"}

Definition at line 232 of file GridTripletSeedingTool.h.

232 {
233 this, "seedConfForwardMaxZOrigin", 150 * Acts::UnitConstants::mm,
234 "Maximum zOrigin in seed confirmation"};

◆ m_seedConfForwardMinBottomRadius

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfForwardMinBottomRadius
protected
Initial value:
{
this, "seedConfForwardMinBottomRadius", 60 * Acts::UnitConstants::mm,
"Minimum radius for bottom SP in seed confirmation"}

Definition at line 229 of file GridTripletSeedingTool.h.

229 {
230 this, "seedConfForwardMinBottomRadius", 60 * Acts::UnitConstants::mm,
231 "Minimum radius for bottom SP in seed confirmation"};

◆ m_seedConfForwardMinImpact

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfForwardMinImpact
protected
Initial value:
{
this, "seedConfForwardMinImpact", 1. * Acts::UnitConstants::mm,
"Minimum impact parameter for seed confirmation"}

Definition at line 235 of file GridTripletSeedingTool.h.

235 {
236 this, "seedConfForwardMinImpact", 1. * Acts::UnitConstants::mm,
237 "Minimum impact parameter for seed confirmation"};

◆ m_seedConfForwardNTopLargeR

Gaudi::Property<size_t> ActsTrk::GridTripletSeedingTool::m_seedConfForwardNTopLargeR
protected
Initial value:
{
this, "seedConfForwardNTopLargeR", 1,
"nTop for large R forward seed confirmation"}

Definition at line 223 of file GridTripletSeedingTool.h.

223 {
224 this, "seedConfForwardNTopLargeR", 1,
225 "nTop for large R forward seed confirmation"};

◆ m_seedConfForwardNTopSmallR

Gaudi::Property<size_t> ActsTrk::GridTripletSeedingTool::m_seedConfForwardNTopSmallR
protected
Initial value:
{
this, "seedConfForwardNTopSmallR", 2,
"nTop for small R forward seed confirmation"}

Definition at line 226 of file GridTripletSeedingTool.h.

226 {
227 this, "seedConfForwardNTopSmallR", 2,
228 "nTop for small R forward seed confirmation"};

◆ m_seedConfForwardRMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfForwardRMax
protected
Initial value:
{
this, "seedConfForwardRMax", 140. * Acts::UnitConstants::mm,
"maximum r for forward seed confirmation "}

Definition at line 220 of file GridTripletSeedingTool.h.

220 {
221 this, "seedConfForwardRMax", 140. * Acts::UnitConstants::mm,
222 "maximum r for forward seed confirmation "};

◆ m_seedConfForwardZMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfForwardZMax
protected
Initial value:
{
this, "seedConfForwardZMax", 3000. * Acts::UnitConstants::mm,
"maximum z for forward seed confirmation "}

Definition at line 217 of file GridTripletSeedingTool.h.

217 {
218 this, "seedConfForwardZMax", 3000. * Acts::UnitConstants::mm,
219 "maximum z for forward seed confirmation "};

◆ m_seedConfForwardZMin

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedConfForwardZMin
protected
Initial value:
{
this, "seedConfForwardZMin", -3000. * Acts::UnitConstants::mm,
"minimum z for forward seed confirmation "}

Definition at line 214 of file GridTripletSeedingTool.h.

214 {
215 this, "seedConfForwardZMin", -3000. * Acts::UnitConstants::mm,
216 "minimum z for forward seed confirmation "};

◆ m_seedConfirmation

Gaudi::Property<bool> ActsTrk::GridTripletSeedingTool::m_seedConfirmation
protected
Initial value:
{this, "seedConfirmation", true,
"run seed confirmation"}

Definition at line 188 of file GridTripletSeedingTool.h.

188 {this, "seedConfirmation", true,
189 "run seed confirmation"};

◆ m_seedConfirmationInFilter

Gaudi::Property<bool> ActsTrk::GridTripletSeedingTool::m_seedConfirmationInFilter
protected
Initial value:
{
this, "seedConfirmationInFilter", true, "run seed confirmation"}

Definition at line 282 of file GridTripletSeedingTool.h.

282 {
283 this, "seedConfirmationInFilter", true, "run seed confirmation"};

◆ m_seedQualitySelection

Gaudi::Property<bool> ActsTrk::GridTripletSeedingTool::m_seedQualitySelection
protected
Initial value:
{
this, "doSeedQualitySelection", true,
"Select seed according to quality criteria"}

Definition at line 45 of file GridTripletSeedingTool.h.

45 {
46 this, "doSeedQualitySelection", true,
47 "Select seed according to quality criteria"};

◆ m_seedWeightIncrement

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_seedWeightIncrement
protected
Initial value:
{
this, "seedWeightIncrement", 0., "increment in seed weight if needed"}

Definition at line 276 of file GridTripletSeedingTool.h.

276 {
277 this, "seedWeightIncrement", 0., "increment in seed weight if needed"};

◆ m_sigmaError

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_sigmaError {this, "sigmaError", 5, ""}
protected

Definition at line 260 of file GridTripletSeedingTool.h.

260{this, "sigmaError", 5, ""};

◆ m_sigmaScattering

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_sigmaScattering
protected
Initial value:
{
this, "sigmaScattering", 2.,
"how many sigmas of scattering angle should be considered"}

Definition at line 130 of file GridTripletSeedingTool.h.

130 {
131 this, "sigmaScattering", 2.,
132 "how many sigmas of scattering angle should be considered"};

◆ m_stateVectorReserveSize

Gaudi::Property<int> ActsTrk::GridTripletSeedingTool::m_stateVectorReserveSize
protected
Initial value:
{
this, "stateVectorReserveSize", 500,
"Size of the initial Seeding State internal vectors"}

Definition at line 374 of file GridTripletSeedingTool.h.

374 {
375 this, "stateVectorReserveSize", 500,
376 "Size of the initial Seeding State internal vectors"};

◆ m_toleranceParam

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_toleranceParam
protected
Initial value:
{
this, "toleranceParam", 1.1 * Acts::UnitConstants::mm,
"tolerance parameter used to check the compatibility of SPs coordinates "
"in xyz"}

Definition at line 242 of file GridTripletSeedingTool.h.

242 {
243 this, "toleranceParam", 1.1 * Acts::UnitConstants::mm,
244 "tolerance parameter used to check the compatibility of SPs coordinates "
245 "in xyz"};

◆ m_topDoubletFinderCfg

Acts::DoubletSeedFinder::Config ActsTrk::GridTripletSeedingTool::m_topDoubletFinderCfg
private

Definition at line 384 of file GridTripletSeedingTool.h.

◆ m_tripletFinderCfg

Acts::TripletSeedFinder::Config ActsTrk::GridTripletSeedingTool::m_tripletFinderCfg
private

Definition at line 385 of file GridTripletSeedingTool.h.

◆ m_useDeltaRorTopRadius

Gaudi::Property<bool> ActsTrk::GridTripletSeedingTool::m_useDeltaRorTopRadius
protected
Initial value:
{
this, "useDeltaRorTopRadius", true,
"use deltaR (top radius - middle radius) instead of top radius"}

Definition at line 291 of file GridTripletSeedingTool.h.

291 {
292 this, "useDeltaRorTopRadius", true,
293 "use deltaR (top radius - middle radius) instead of top radius"};

◆ m_useDetailedDoubleMeasurementInfo

Gaudi::Property<bool> ActsTrk::GridTripletSeedingTool::m_useDetailedDoubleMeasurementInfo
protected
Initial value:
{
this, "useDetailedDoubleMeasurementInfo", false,
"enable use of double measurement details"}

Definition at line 238 of file GridTripletSeedingTool.h.

238 {
239 this, "useDetailedDoubleMeasurementInfo", false,
240 "enable use of double measurement details"};

◆ m_useExperimentCuts

Gaudi::Property<bool> ActsTrk::GridTripletSeedingTool::m_useExperimentCuts
protected
Initial value:
{this, "useExperimentCuts", false,
""}

Definition at line 357 of file GridTripletSeedingTool.h.

357 {this, "useExperimentCuts", false,
358 ""};

◆ m_useHVCollisionRegion

Gaudi::Property<bool> ActsTrk::GridTripletSeedingTool::m_useHVCollisionRegion
protected
Initial value:
{
this, "useHVCollisionRegion", false,
"restrict collision region by Hough vertex position"}

Definition at line 124 of file GridTripletSeedingTool.h.

124 {
125 this, "useHVCollisionRegion", false,
126 "restrict collision region by Hough vertex position"};

◆ m_useVariableMiddleSPRange

Gaudi::Property<bool> ActsTrk::GridTripletSeedingTool::m_useVariableMiddleSPRange
protected
Initial value:
{
this, "useVariableMiddleSPRange", true,
"Enable variable range to search for middle SPs"}

Definition at line 164 of file GridTripletSeedingTool.h.

164 {
165 this, "useVariableMiddleSPRange", true,
166 "Enable variable range to search for middle SPs"};

◆ m_zAlign

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_zAlign
protected
Initial value:
{this, "zAlign", 0 * Acts::UnitConstants::mm,
""}

Definition at line 256 of file GridTripletSeedingTool.h.

256 {this, "zAlign", 0 * Acts::UnitConstants::mm,
257 ""};

◆ m_zBinEdges

Gaudi::Property<std::vector<float> > ActsTrk::GridTripletSeedingTool::m_zBinEdges
protected
Initial value:
{
this,
"zBinEdges",
{-3000., -2700., -2500., -1400., -925., -500., -250., 250., 500., 925.,
1400., 2500., 2700, 3000.},
"enable non equidistant binning in z"}

Definition at line 66 of file GridTripletSeedingTool.h.

66 {
67 this,
68 "zBinEdges",
69 {-3000., -2700., -2500., -1400., -925., -500., -250., 250., 500., 925.,
70 1400., 2500., 2700, 3000.},
71 "enable non equidistant binning in z"};

◆ m_zBinNeighborsBottom

Gaudi::Property<std::vector<std::pair<int, int> > > ActsTrk::GridTripletSeedingTool::m_zBinNeighborsBottom
protected
Initial value:
{
this,
"zBinNeighborsBottom",
{{0, 0},
{0, 1},
{0, 1},
{0, 1},
{0, 1},
{0, 1},
{0, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{0, 0}},
"vector containing the map of z bins in the top layers"}

Definition at line 325 of file GridTripletSeedingTool.h.

325 {
326 this,
327 "zBinNeighborsBottom",
328 {{0, 0},
329 {0, 1},
330 {0, 1},
331 {0, 1},
332 {0, 1},
333 {0, 1},
334 {0, 0},
335 {-1, 0},
336 {-1, 0},
337 {-1, 0},
338 {-1, 0},
339 {-1, 0},
340 {0, 0}},
341 "vector containing the map of z bins in the top layers"};

◆ m_zBinNeighborsTop

Gaudi::Property<std::vector<std::pair<int, int> > > ActsTrk::GridTripletSeedingTool::m_zBinNeighborsTop
protected
Initial value:
{
this,
"zBinNeighborsTop",
{{0, 0},
{-1, 0},
{-2, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 1},
{0, 1},
{0, 1},
{0, 1},
{0, 2},
{0, 1},
{0, 0}},
"vector containing the map of z bins in the top layers"}

Definition at line 308 of file GridTripletSeedingTool.h.

308 {
309 this,
310 "zBinNeighborsTop",
311 {{0, 0},
312 {-1, 0},
313 {-2, 0},
314 {-1, 0},
315 {-1, 0},
316 {-1, 0},
317 {-1, 1},
318 {0, 1},
319 {0, 1},
320 {0, 1},
321 {0, 2},
322 {0, 1},
323 {0, 0}},
324 "vector containing the map of z bins in the top layers"};

◆ m_zBinsCustomLooping

Gaudi::Property<std::vector<size_t> > ActsTrk::GridTripletSeedingTool::m_zBinsCustomLooping
protected
Initial value:
{
this,
"zBinsCustomLooping",
{2, 3, 4, 5, 12, 11, 10, 9, 7, 6, 8},
"defines order of z bins for looping; entries are 1-based local bin "
"indices, i.e. within 1..(zBinEdges.size()-1), and must not repeat. "
"Listing a subset skips the remaining bins, empty means all bins in "
"their natural order"}

Definition at line 148 of file GridTripletSeedingTool.h.

148 {
149 this,
150 "zBinsCustomLooping",
151 {2, 3, 4, 5, 12, 11, 10, 9, 7, 6, 8},
152 "defines order of z bins for looping; entries are 1-based local bin "
153 "indices, i.e. within 1..(zBinEdges.size()-1), and must not repeat. "
154 "Listing a subset skips the remaining bins, empty means all bins in "
155 "their natural order"};

◆ m_zMax

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_zMax
protected
Initial value:
{this, "zMax", 3000. * Acts::UnitConstants::mm,
"limiting location of measurements"}

Definition at line 57 of file GridTripletSeedingTool.h.

57 {this, "zMax", 3000. * Acts::UnitConstants::mm,
58 "limiting location of measurements"};

◆ m_zMin

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_zMin
protected
Initial value:
{this, "zMin", -3000. * Acts::UnitConstants::mm,
"limiting location of measurements"}

Definition at line 55 of file GridTripletSeedingTool.h.

55 {this, "zMin", -3000. * Acts::UnitConstants::mm,
56 "limiting location of measurements"};

◆ m_zOriginWeightFactor

Gaudi::Property<float> ActsTrk::GridTripletSeedingTool::m_zOriginWeightFactor {this, "zOriginWeightFactor", 1.}
protected

Definition at line 267 of file GridTripletSeedingTool.h.

267{this, "zOriginWeightFactor", 1.};

The documentation for this class was generated from the following files: