4#ifndef MUONR4_MUONPATTERNHELPERS_MDTSEGMENTSEEDGENERATOR_H
5#define MUONR4_MUONPATTERNHELPERS_MDTSEGMENTSEEDGENERATOR_H
11#include "Acts/Seeding/CompositeSpacePointLineSeeder.hpp"
26 const bool calibratedPull);
29 using CalibCont_t = std::vector<std::unique_ptr<CalibratedSpacePoint>>;
60 void append(
const Acts::CalibrationContext& cctx,
71 const std::size_t upperLayer)
const;
77 static_assert(Acts::Experimental::detail::CompSpacePointSeederDelegate<
SeederStateBase,
90 using LineSeeder_t = Acts::Experimental::CompositeSpacePointLineSeeder;
95 using LineSeeder_t::LineSeeder_t;
97 using State_t = SeedingState<HitVec_t, CalibCont_t, SeederStateBase>;
Interface class to refine the space point calibration with an external seed.
Helper class to generate valid seeds for the segment fit.
SeederStateBase::CalibCont_t CalibCont_t
SeedingState< HitVec_t, CalibCont_t, SeederStateBase > State_t
Define the state holder object.
Acts::Experimental::CompositeSpacePointLineSeeder LineSeeder_t
SpacePointPerLayerSplitter::HitVec HitVec_t
SegmentSeed< CalibCont_t > Seed_t
Abrivation of the calibrated Seed type returned by the seeder.
Representation of a segment seed (a fully processed hough maximum) produced by the hough transform.
std::vector< const SpacePoint * > HitVec
SpacePointPerLayerSplitter(const SpacePointBucket &bucket)
Constructor taking a complete bucket.
The muon space point is the combination of two uncalibrated measurements one of them measures the eta...
Eigen::Matrix< double, 3, 1 > Vector3D
This header ties the generic definitions in this package.
Helper struct to delegate the EDM interactions with the space point container during the seeding.
const SegmentSeed * m_parent
SeederStateBase(const SegmentSeed *parentSeed, const ISpacePointCalibrator *calibrator, const bool calibratedPull)
Protected constructor to instantiate the.
const ISpacePointCalibrator * m_calibrator
const SegmentSeed * parent() const
Returns the parent seed from which the state is constructed.
double candidateChi2(const Acts::CalibrationContext &cctx, const Amg::Vector3D &seedPos, const Amg::Vector3D &seedDir, const double t0, const SpacePoint &candidate) const
Returns the pull of the candidate w.r.t.
double strawRadius(const SpacePoint &testMdt) const
Returns the outer tube radius of the space point.
bool goodCandidate(const SpacePoint &testMdt) const
Returns whether the hit is a good candidate for seeding.
void append(const Acts::CalibrationContext &cctx, const Amg::Vector3D &pos, const Amg::Vector3D &dir, const double t0, const SpacePoint &appendMe, CalibCont_t &appendTo) const
Appends the space point measurement to the candidate seed container Optionally, the hit may be calibr...
CalibCont_t newContainer(const Acts::CalibrationContext &cctx) const
Creates a new candidate seed container.
std::vector< std::unique_ptr< CalibratedSpacePoint > > CalibCont_t
Abrivation of the collection of calibrated space points.
bool stopSeeding(const std::size_t lowerLayer, const std::size_t upperLayer) const
Requests whether the seed line generation shall be stopped based on the pair of.