|
ATLAS Offline Software
|
Go to the documentation of this file.
10 const std::string&
name,
88 return StatusCode::SUCCESS;
93 const Acts::SpacePointContainer<ActsTrk::SpacePointCollector, Acts::detail::RefHolder>& spContainer,
94 const Acts::Vector3& beamSpotPos,
95 const Acts::Vector3& bField,
99 Acts::SeedFinderOptions finderOpts;
100 finderOpts.beamPos = Acts::Vector2(beamSpotPos[
Amg::x],
102 finderOpts.bFieldInZ = bField[2];
103 finderOpts = finderOpts.toInternalUnits().calculateDerivedQuantities(
m_finderCfg);
106 auto groupSeeds =
m_finder.createSeeds(finderOpts, spContainer);
109 seedContainer.
reserve(groupSeeds.size());
110 for(
const auto& seed: groupSeeds) {
111 const auto [bottom, middle,
top] = seed.sp();
113 std::unique_ptr< ActsTrk::Seed >
toAdd =
114 std::make_unique< ActsTrk::Seed >(bottom->externalSpacePoint(),
115 middle->externalSpacePoint(),
116 top->externalSpacePoint());
117 toAdd->setVertexZ(seed.z());
118 toAdd->setQuality(seed.seedQuality());
122 return StatusCode::SUCCESS;
129 Acts::SeedFilterConfig filterCfg;
161 m_finderCfg.seedFilter = std::make_shared<Acts::SeedFilter<value_type>>(filterCfg.toInternalUnits());
185 m_finderCfg.centralSeedConfirmationRange = filterCfg.centralSeedConfirmationRange;
186 m_finderCfg.forwardSeedConfirmationRange = filterCfg.forwardSeedConfirmationRange;
192 std::vector<float> convertedVec;
194 for (
const auto&
val :
vec) {
195 convertedVec.push_back(
static_cast<float>(
val));
198 m_finderCfg.rRangeMiddleSP.push_back(convertedVec);
203 [](
const void*,
float bottomRadius,
float cotTheta) ->
bool {
205 float fastTrackingRMin = 50.;
206 float fastTrackingCotThetaMax = 1.5;
208 if (bottomRadius < fastTrackingRMin and
209 (
cotTheta > fastTrackingCotThetaMax or
210 cotTheta < -fastTrackingCotThetaMax)) {
221 return StatusCode::SUCCESS;
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
std::vector< size_t > vec
::StatusCode StatusCode
StatusCode definition for legacy code.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...