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

#include <TrackFindingGNNAlg.h>

Inheritance diagram for ActsTrk::TrackFindingGNNAlg:

Public Member Functions

 TrackFindingGNNAlg (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~TrackFindingGNNAlg ()
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) const override
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
 Get filter decision:
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 Set filter decision:
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

const Acts::Logger & logger () const
 Private access to the logger.
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

ToolHandle< GenericMonitoringToolm_monTool
ServiceHandle< ActsTrk::ITrackingGeometrySvcm_trackingGeometrySvc {this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"}
ToolHandle< ITrackParamsEstimationToolm_paramEstimationTool
ToolHandle< IFitterToolm_fitterTool
ContextUtility m_ctxProvider {this}
 Utility to fetch the geometry, magnetic field and calibration context in the event.
ServiceHandle< IChronoStatSvc > m_chronoSvc {"ChronoStatSvc", name()}
detail::xAODUncalibMeasSurfAcc m_uncalibMeasSurfAccessor {}
detail::OnTrackCalibrator< MutableTrackStateBackendm_uncalibMeasCalibrator {}
SG::ReadHandleKey< xAOD::SpacePointContainerm_xaodPixelSpacePointContainerKey
SG::ReadHandleKey< xAOD::SpacePointContainerm_xaodStripSpacePointContainerKey
SG::ReadHandleKey< xAOD::SpacePointContainerm_xaodStripSpacePointOverlapContainerKey
SG::WriteHandleKey< TrackContainerm_trackContainerKey
Gaudi::Property< unsigned int > m_maxPropagationStep
Gaudi::Property< std::string > m_moduleMapPath
Gaudi::Property< std::string > m_gnnPath
Gaudi::Property< bool > m_usePhiOverlapSps
Gaudi::Property< unsigned int > m_maxGpuInstances
Gaudi::Property< unsigned int > m_numTrtContexts
Gaudi::Property< double > m_varianceInflation
Gaudi::Property< bool > m_tightSeeds
Gaudi::Property< double > m_edgeCut
Gaudi::Property< unsigned int > m_minCandidateMeasurements
Gaudi::Property< double > m_minDeltaR
Gaudi::Property< bool > m_relaxCentralHoleSel
Gaudi::Property< bool > m_relaxMeasurementSel
Gaudi::Property< bool > m_offlineZ0Sel
Gaudi::Property< int > m_cudaDeviceIndex
std::unique_ptr< ActsPlugins::GnnPipeline > m_gnnPipeline
const SCT_IDm_stripIdHelper = nullptr
Acts::TrackSelector::EtaBinnedConfig m_trackSelectorConfig
std::unique_ptr< const Acts::Logger > m_logger
 logging instance
std::optional< std::counting_semaphore<> > m_gpuInstanceCount ATLAS_THREAD_SAFE {}
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 65 of file TrackFindingGNNAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TrackFindingGNNAlg()

ActsTrk::TrackFindingGNNAlg::TrackFindingGNNAlg ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 75 of file TrackFindingGNNAlg.cxx.

77 : AthReentrantAlgorithm(name, pSvcLocator) {}

◆ ~TrackFindingGNNAlg()

ActsTrk::TrackFindingGNNAlg::~TrackFindingGNNAlg ( )
virtualdefault

Member Function Documentation

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode ActsTrk::TrackFindingGNNAlg::execute ( const EventContext & ctx) const
overridevirtual

m_usePhiOverlapSps.value() &&

Definition at line 219 of file TrackFindingGNNAlg.cxx.

219 {
220 ACTS_DEBUG("TrackFindingGNNAlg::execute() - begin");
221
222 std::optional<Athena::Chrono> timer;
223 timer.emplace("GNN get spacepoint handles", m_chronoSvc.get());
224
225 const Acts::GeometryContext gctx = m_ctxProvider.getGeometryContext(ctx);
226 const Acts::MagneticFieldContext mctx = m_ctxProvider.getMagneticFieldContext(ctx);
227 const Acts::CalibrationContext cctx = m_ctxProvider.getCalibrationContext(ctx);
228
229 auto detElToGeoIdMap = m_trackingGeometrySvc->surfaceIdMap();
230
231 // Build features
232 auto pixelSPHandle = SG::makeHandle(m_xaodPixelSpacePointContainerKey, ctx);
233 ATH_CHECK(pixelSPHandle.isValid());
234 const auto &pixelSPContainer = *pixelSPHandle.cptr();
235
236 auto stripSPHandle = SG::makeHandle(m_xaodStripSpacePointContainerKey, ctx);
237 ATH_CHECK(stripSPHandle.isValid());
238 const auto &stripSPContainer = *stripSPHandle.cptr();
239
240 auto stripSPOVHandle =
242 ATH_CHECK(stripSPOVHandle.isValid());
243 const auto &stripSPOVContainer = *stripSPOVHandle.cptr();
244
245 constexpr std::size_t nFeatures = 12;
246 std::size_t nSP = pixelSPContainer.size() + stripSPContainer.size() +
247 stripSPOVContainer.size();
248
249 ACTS_DEBUG("Number spacepoints: "
250 << nSP << " (" << "pixel: " << pixelSPContainer.size() << ", "
251 << "strip: " << stripSPContainer.size() << ", "
252 << "strip overlap: " << stripSPOVContainer.size() << ")");
253
254
255 timer.emplace("GNN extract data", m_chronoSvc.get());
256
257 std::vector<std::uint64_t> moduleIds;
258 moduleIds.reserve(nSP);
259 std::vector<const xAOD::SpacePoint *> allSPPtrs;
260 allSPPtrs.reserve(nSP);
261 std::vector<Acts::GeometryIdentifier> geoIds, sortedGeoIds(nSP);
262 geoIds.reserve(nSP);
263
264 std::size_t skipped = 0;
265 for (const auto &spc :
266 {pixelSPContainer, stripSPContainer, stripSPOVContainer}) {
267 for (auto sp : spc) {
268 auto cl1 = sp->measurements().front();
269 auto geoIdCl1 =
270 ActsTrk::getSurfaceGeometryIdOfMeasurement(*detElToGeoIdMap, *cl1);
271 Identifier atlasIdCl1(static_cast<Identifier::value_type>(cl1->identifier()));
272
273 if ( sp->measurements().size() == 2) {
274 auto cl2 = sp->measurements().at(1);
275 Identifier atlasIdCl2(static_cast<Identifier::value_type>(cl2->identifier()));
276
277 auto overlapFlag =
278 compute_overlap_SP_flag(m_stripIdHelper->eta_module(atlasIdCl1),
279 m_stripIdHelper->phi_module(atlasIdCl1),
280 m_stripIdHelper->eta_module(atlasIdCl2),
281 m_stripIdHelper->phi_module(atlasIdCl2));
282
283 if (overlapFlag == 2 || overlapFlag == 3) {
284 skipped++;
285 ACTS_VERBOSE("Skip phi overlap spacepoint (flag=" << overlapFlag
286 << ")");
287 continue;
288 }
289 }
290
291 geoIds.push_back(geoIdCl1);
292 moduleIds.push_back(atlasIdCl1.get_compact());
293 allSPPtrs.push_back(sp);
294 }
295 }
296
297 ACTS_DEBUG("Skipped " << skipped << " SPs because of phi overlap");
298 nSP = allSPPtrs.size();
299 ACTS_DEBUG("Keep " << nSP << " SPs for feature creation");
300
301 timer.emplace("GNN build input tensor", m_chronoSvc.get());
302
303 std::vector<std::size_t> idxs(nSP);
304 std::iota(idxs.begin(), idxs.end(), 0);
305
306 std::ranges::sort(
307 idxs, [&](auto a, auto b) { return moduleIds.at(a) < moduleIds.at(b); });
308 std::ranges::sort(moduleIds);
309
310 std::vector<float> features(nFeatures * nSP);
311 std::vector<boost::container::static_vector<Acts::SourceLink, 2>> sourceLinks(
312 nSP);
313 std::vector<int> id(nSP);
314
315 for (auto k = 0ul; k < nSP; k++) {
316 id.at(k) = k;
317 auto i = idxs.at(k);
318
319 std::span<float> f(features.data() + k * nFeatures, nFeatures);
320 const auto &sp = *allSPPtrs.at(i);
321
322 using namespace Acts::VectorHelpers;
323 using namespace Acts::AngleHelpers;
324
325 Acts::Vector3 spp{sp.x(), sp.y(), sp.z()};
326
327 if (sp.measurements().size() == 1) {
328 for (auto j = 0ul; j < nFeatures; j += 4) {
329 f[j + 0] = perp(spp) / 1000.f;
330 f[j + 1] = phi(spp) / std::numbers::pi_v<float>;
331 f[j + 2] = sp.z() / 1000.f;
332 f[j + 3] = eta(spp);
333 }
334 } else {
335 std::size_t j = 0;
336 f[j + 0] = perp(spp) / 1000.f;
337 f[j + 1] = phi(spp) / std::numbers::pi_v<float>;
338 f[j + 2] = sp.z() / 1000.f;
339 f[j + 3] = eta(spp);
340
341 for (auto m : sp.measurements()) {
342 auto cl = static_cast<const xAOD::StripCluster *>(m);
343 auto gp = cl->globalPosition();
344 j += 4;
345 f[j + 0] = perp(gp) / 1000.f;
346 f[j + 1] = phi(gp) / std::numbers::pi_v<float>;
347 f[j + 2] = gp.z() / 1000.f;
348 f[j + 3] = eta(gp);
349 }
350 }
351
352 for (const xAOD::UncalibratedMeasurement* m : sp.measurements()) {
353 sourceLinks.at(k).push_back(detail::MeasurementCalibratorBase::pack(m));
354 }
355
356 sortedGeoIds.at(k) = geoIds.at(i);
357 }
358
359 timer.reset();
360 timer.emplace("GNN inference", m_chronoSvc.get());
361
362 m_gpuInstanceCount->acquire();
363 auto candidates =
364 m_gnnPipeline->run(features, moduleIds, id, ActsPlugins::Device::Cuda(m_cudaDeviceIndex.value()));
365 m_gpuInstanceCount->release();
366
367 ACTS_DEBUG("Have " << candidates.size() << " candidates after GNN");
368
369 // Remove candidates if they either have less then the configured amount of measurements, or no pixel hit
370 auto candidateSelector = [&](const std::vector<int> &c) {
371 bool tooFewMeasurements = std::accumulate(c.begin(), c.end(), 0ul, [&](auto sum, auto spi) {
372 return sum + allSPPtrs.at(spi)->measurements().size();
373 }) < m_minCandidateMeasurements.value();
374 bool noPixelHits = !std::ranges::any_of(c, [&](auto spi) { return allSPPtrs.at(spi)->measurements().size() == 1; });
375 return tooFewMeasurements || noPixelHits;
376 };
377
378 candidates.erase(std::remove_if(candidates.begin(), candidates.end(), candidateSelector),
379 candidates.end());
380 ACTS_DEBUG("Candidates left with >= " << m_minCandidateMeasurements.value()
381 << " measurements: " << candidates.size());
382
383 timer.reset();
384 timer.emplace("GNN parameter estimation + fit", m_chronoSvc.get());
385
386 Acts::VectorTrackContainer trackBackend;
387 Acts::VectorMultiTrajectory trackStateBackend;
388 constexpr std::size_t nTracksExpected = 3000;
389 trackBackend.reserve(nTracksExpected);
390 trackStateBackend.reserve(nTracksExpected * 30);
391 detail::RecoTrackContainer tracks(trackBackend, trackStateBackend);
392
393 // v45: Create SeedContainer to hold seeds (Seeds are now proxy objects)
394 ActsTrk::SeedContainer seedContainer;
395
396 auto makeSeedFromCandidate = [&](const std::vector<int> &cand) -> std::optional<boost::container::small_vector<const xAOD::SpacePoint*, 3>> {
397 // Select at least 3 SPs with deltaR spacing in cylindrical coordinates
398 boost::container::small_vector<const xAOD::SpacePoint*, 3> picked;
399 if (cand.empty()) return std::nullopt;
400 auto r_of = [&](const xAOD::SpacePoint* sp) {
401 Acts::Vector3 v{sp->x(), sp->y(), sp->z()};
402 return v.perp();
403 };
404 const xAOD::SpacePoint* last = allSPPtrs.at(cand.front());
405 picked.push_back(last);
406 for (std::size_t i = 1; i < cand.size() && picked.size() < 3; ++i) {
407 const xAOD::SpacePoint* sp = allSPPtrs.at(cand.at(i));
408 if (std::abs(r_of(sp) - r_of(last)) > m_minDeltaR.value()) {
409 picked.push_back(sp);
410 last = sp;
411 }
412 }
413 if (picked.size() < 3) return std::nullopt;
414 return picked;
415 };
416
417 auto retrieveSurface = [&](const ActsTrk::Seed& seed, bool useTopSp) -> const Acts::Surface& {
418 const xAOD::SpacePoint* sp = useTopSp ? seed.sp().front() : seed.sp().back();
419 auto geoId = ActsTrk::getSurfaceGeometryIdOfMeasurement(*detElToGeoIdMap, *sp->measurements().front());
420 const auto* surface = m_trackingGeometrySvc->trackingGeometry()->findSurface(geoId);
421 if (!surface) {
422 throw std::runtime_error("retrieveSurface: no Acts surface for GeometryIdentifier " + std::to_string(geoId.value()));
423 }
424 return *surface;
425 };
426
427 auto R_of = [](const xAOD::SpacePoint* sp) {
428 return Acts::fastHypot(sp->x(), sp->y(), sp->z());
429 };
430
431 for (const auto &cand : candidates) {
432 auto pickedOpt = makeSeedFromCandidate(cand);
433 if (!pickedOpt.has_value()) continue;
434
435 auto picked = *pickedOpt;
436 std::sort(picked.begin(), picked.end(),
437 [&](const xAOD::SpacePoint* a, const xAOD::SpacePoint* b) {
438 return R_of(a) < R_of(b);
439 });
440 ActsTrk::Seed seed = seedContainer.push_back(
441 ActsTrk::SpacePointRange(picked.data(), picked.size()), 0.f, 0.f);
442
443 auto initialParamsOpt = m_paramEstimationTool->estimateTrackParameters(
444 seed, /*useTopSp=*/true, gctx, mctx, retrieveSurface);
445 if (!initialParamsOpt.has_value()) continue;
446
447 boost::container::small_vector<const xAOD::SpacePoint*, 16> sortedSP;
448 sortedSP.reserve(cand.size());
449 for (int spi : cand) sortedSP.push_back(allSPPtrs.at(spi));
450 std::sort(sortedSP.begin(), sortedSP.end(),
451 [&](const xAOD::SpacePoint* a, const xAOD::SpacePoint* b) {
452 return R_of(a) < R_of(b);
453 });
454
455 std::vector<const xAOD::UncalibratedMeasurement*> measList;
456 measList.reserve(sortedSP.size() * 2);
457 for (const xAOD::SpacePoint* sp : sortedSP) {
458 for (const xAOD::UncalibratedMeasurement* m : sp->measurements()) {
459 measList.push_back(m);
460 }
461 }
462
463 auto fitted = m_fitterTool->fit(measList, *initialParamsOpt, gctx, mctx, cctx);
464 if (fitted) {
465 for (auto track : *fitted) {
466 auto newTrack = tracks.makeTrack();
467 newTrack.copyFrom(track);
468 }
469 }
470 }
471
472 ACTS_DEBUG("After track fit: " << tracks.size() << " / " << candidates.size()
473 << " successfull");
474
475 // For single muon/electron case
476 if (candidates.size() == 1 && tracks.size() == 1) {
477 const auto &t = *tracks.begin();
478 ACTS_DEBUG("Single particle case: " << candidates.front().size() << " -> "
479 << t.nMeasurements()
480 << " measurements");
481 }
482
483 timer.reset();
484 timer.emplace("Track selection & conversion", m_chronoSvc.get());
485
486 Acts::VectorTrackContainer selTrackBackend;
487 selTrackBackend.reserve(trackBackend.size());
488 detail::RecoTrackContainer selectedTracks(selTrackBackend, trackStateBackend);
489
490 Acts::TrackSelector selector(m_trackSelectorConfig);
491 for (auto track : tracks) {
492 if (selector.isValidTrack(track)) {
493 auto newTrack = selectedTracks.makeTrack();
494
495 // v45: copyFrom now copies everything including tip/stem indices
496 newTrack.copyFrom(track);
497 }
498 }
499
500 ACTS_DEBUG("GNN cand: " << candidates.size() << ", fitted: " << tracks.size()
501 << ", selected: " << selectedTracks.size());
502
503 // Write tracks to storage again
504 Acts::ConstVectorTrackContainer constTrackBackend(std::move(selTrackBackend));
505 Acts::ConstVectorMultiTrajectory constTrackStateBackend(std::move(trackStateBackend));
506 std::unique_ptr<ActsTrk::TrackContainer> constTracksContainer
507 = std::make_unique<ActsTrk::TrackContainer>(std::move(constTrackBackend), std::move(constTrackStateBackend) );
508
509 ACTS_DEBUG("Storing track collection with key '" << m_trackContainerKey.key() << "'");
510 SG::WriteHandle<ActsTrk::TrackContainer> trackContainerHandle = SG::makeHandle(m_trackContainerKey, ctx);
511 ATH_CHECK(trackContainerHandle.record(std::move(constTracksContainer)));
512
513 return StatusCode::SUCCESS;
514}
Scalar eta() const
pseudorapidity method
Scalar perp() const
perp method - perpendicular length
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
static Double_t sp
static Double_t a
Acts::TrackSelector::EtaBinnedConfig m_trackSelectorConfig
ToolHandle< ITrackParamsEstimationTool > m_paramEstimationTool
std::unique_ptr< ActsPlugins::GnnPipeline > m_gnnPipeline
SG::ReadHandleKey< xAOD::SpacePointContainer > m_xaodStripSpacePointOverlapContainerKey
SG::ReadHandleKey< xAOD::SpacePointContainer > m_xaodPixelSpacePointContainerKey
Gaudi::Property< unsigned int > m_minCandidateMeasurements
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc
SG::WriteHandleKey< TrackContainer > m_trackContainerKey
Gaudi::Property< double > m_minDeltaR
ContextUtility m_ctxProvider
Utility to fetch the geometry, magnetic field and calibration context in the event.
ServiceHandle< IChronoStatSvc > m_chronoSvc
SG::ReadHandleKey< xAOD::SpacePointContainer > m_xaodStripSpacePointContainerKey
ToolHandle< IFitterTool > m_fitterTool
Gaudi::Property< int > m_cudaDeviceIndex
static Acts::SourceLink pack(const Ptr_t &measurement)
Pack the measurement type pointer to an Acts::SourceLink including the intermediate conversion into a...
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Acts::TrackContainer< Acts::VectorTrackContainer, Acts::VectorMultiTrajectory > RecoTrackContainer
Acts::GeometryIdentifier getSurfaceGeometryIdOfMeasurement(const DetectorElementToActsGeometryIdMap &detector_element_to_geoid, const xAOD::UncalibratedMeasurement &measurement)
int compute_overlap_SP_flag(const int &eta_module_cl1, const int &phi_module_cl1, const int &eta_module_cl2, const int &phi_module_cl2)
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
float j(const xAOD::IParticle &, const xAOD::TrackMeasurementValidation &hit, const Eigen::Matrix3d &jab_inv)
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
timer(name, disabled=False)
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
DataModel_detail::iterator< DVL > remove_if(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end, Predicate pred)
Specialization of remove_if for DataVector/List.
StripCluster_v1 StripCluster
Define the version of the strip cluster class.
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.
Seed push_back(SpacePointRange spacePoints, float quality, float vertexZ)

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 89 of file AthCommonAlgorithm.cxx.

54{
55 // If we didn't find any symlinks to add, just return the collection
56 // from the base class. Otherwise, return the extended collection.
57 if (!m_extendedExtraObjects.empty()) {
59 }
61}
Common base class for algorithms.

◆ filterPassed()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Get filter decision:

Definition at line 93 of file AthCommonAlgorithm.h.

93 {
94 return execState( ctx ).filterPassed();
95 }
virtual bool filterPassed(const EventContext &ctx) const
Get filter decision:

◆ initialize()

StatusCode ActsTrk::TrackFindingGNNAlg::initialize ( )
overridevirtual

Definition at line 83 of file TrackFindingGNNAlg.cxx.

83 {
84 // Athena tools
85 m_logger = makeActsAthenaLogger(this, "Acts GNN Algorithm");
86 ACTS_DEBUG("TrackFindingGNNAlg::initialize() - begin");
88 ATH_CHECK(m_trackContainerKey.initialize());
89 ATH_CHECK(m_ctxProvider.initialize());
93 ATH_CHECK(m_trackContainerKey.initialize());
94 ATH_CHECK(m_chronoSvc.retrieve());
96 ATH_CHECK(m_fitterTool.retrieve());
97
99 detail::xAODUncalibMeasSurfAcc{m_trackingGeometrySvc.get()};
103
104 // ACTS tools
105 ActsPlugins::ModuleMapCuda::Config gcCfg;
106 gcCfg.rScale = 1000.f;
107 gcCfg.zScale = 1000.f;
108 gcCfg.phiScale = std::numbers::pi_v<float>;
109 gcCfg.moduleMapPath = m_moduleMapPath.value();
110 gcCfg.gpuBlocks = 512;
111 std::shared_ptr<ActsPlugins::GraphConstructionBase> gc =
112 std::make_shared<ActsPlugins::ModuleMapCuda>(
113 gcCfg, m_logger->cloneWithSuffix("ModuleMap"));
114
115 std::shared_ptr<ActsPlugins::EdgeClassificationBase> gnn;
116 if (m_gnnPath.value().find(".onnx") != std::string::npos) {
117#ifdef ACTS_GNN_ONNX_BACKEND
118 ActsPlugins::OnnxEdgeClassifier::Config gnnCfg;
119 gnnCfg.modelPath = m_gnnPath.value();
120 gnnCfg.cut = m_edgeCut.value();
121 gnn = std::make_shared<ActsPlugins::OnnxEdgeClassifier>(
122 gnnCfg, m_logger->cloneWithSuffix("GNN"));
123#else
124 ATH_MSG_ERROR("GNN .onnx selected but build lacks ONNX backend");
125 return StatusCode::FAILURE;
126#endif
127 } else if (m_gnnPath.value().find(".pt") != std::string::npos) {
128#ifdef ACTS_GNN_TORCH_BACKEND
129 ActsPlugins::TorchEdgeClassifier::Config gnnCfg;
130 gnnCfg.modelPath = m_gnnPath.value();
131 gnnCfg.cut = m_edgeCut.value();
132 gnnCfg.useEdgeFeatures = true;
133 gnn = std::make_shared<ActsPlugins::TorchEdgeClassifier>(
134 gnnCfg, m_logger->cloneWithSuffix("GNN"));
135#else
136 ATH_MSG_ERROR("GNN .pt selected but build lacks libtorch backend");
137 return StatusCode::FAILURE;
138#endif
139 } else if (m_gnnPath.value().find(".engine") != std::string::npos) {
140#ifdef ACTS_GNN_WITH_TENSORRT
141 ActsPlugins::TensorRTEdgeClassifier::Config gnnCfg;
142 gnnCfg.cut = m_edgeCut.value();
143 gnnCfg.modelPath = m_gnnPath.value();
144 gnnCfg.numExecutionContexts = m_numTrtContexts.value();
145 gnn = std::make_shared<ActsPlugins::TensorRTEdgeClassifier>(
146 gnnCfg, m_logger->cloneWithSuffix("GNN"));
147#else
148 ATH_MSG_ERROR("GNN .engine selected but build lacks TensorRT backend");
149 return StatusCode::FAILURE;
150#endif
151 } else {
152 ATH_MSG_ERROR("Unknown GNN model extension: " << m_gnnPath.value());
153 return StatusCode::FAILURE;
154 }
155
156 ActsPlugins::CudaTrackBuilding::Config tbCfg;
157 tbCfg.doJunctionRemoval = true;
158 std::shared_ptr<ActsPlugins::TrackBuildingBase> tb =
159 std::make_shared<ActsPlugins::CudaTrackBuilding>(
160 tbCfg, m_logger->cloneWithSuffix("GraphSeg"));
161
162 m_gnnPipeline = std::make_unique<ActsPlugins::GnnPipeline>(
163 gc, std::vector{gnn}, tb, m_logger->cloneWithSuffix("Pipeline"));
164
165 // Limit the total number of instances on the GPU to avoid out of memory
166 m_gpuInstanceCount.emplace(m_maxGpuInstances.value());
167
168 // Parameter estimation and fitter come from Athena tools now
169
170 ATH_CHECK(detStore()->retrieve(m_stripIdHelper, "SCT_ID"));
171 ACTS_INFO("Use phi overlap spacepoints: " << std::boolalpha
172 << m_usePhiOverlapSps.value());
173
174 using TSC = Acts::TrackSelector::Config;
175 m_trackSelectorConfig = Acts::TrackSelector::EtaBinnedConfig(0.0);
176
177 auto commonConfig = [&](TSC &config) {
178 config.requireReferenceSurface = true;
179 config.loc1Min = m_offlineZ0Sel.value() ? -200_mm : -150_mm; // z0 min
180 config.loc1Max = m_offlineZ0Sel.value() ? 200_mm : 150_mm; // z0 max
181 };
182
184 .addCuts(2.0,
185 [&](TSC &config) {
186 commonConfig(config);
187 config.maxHoles = m_relaxCentralHoleSel.value() ? 4 : 2;
188 config.minMeasurements = m_relaxMeasurementSel.value() ? 7 : 9;
189 config.ptMin = 900_MeV;
190 config.loc0Max = 2_mm; // d0 max
191 config.loc0Min = -2_mm; // d0 min
192 })
193 .addCuts(2.6,
194 [&](TSC &config) {
195 commonConfig(config);
196 config.maxHoles = m_relaxCentralHoleSel.value() ? 4 : 2;
197 config.minMeasurements = m_relaxMeasurementSel.value() ? 7 : 8;
198 config.ptMin = 400_MeV;
199 config.loc0Max = 2_mm; // d0 max
200 config.loc0Min = -2_mm; // d0 min
201 })
202 .addCuts([&](TSC &config) {
203 commonConfig(config);
204 config.maxHoles = 2;
205 config.minMeasurements = 7;
206 config.ptMin = 400_MeV;
207 config.loc0Max = 10_mm; // d0 max
208 config.loc0Min = -10_mm; // d0 min
209 });
210
211 ACTS_INFO("Track selector config:\n" << m_trackSelectorConfig);
212
213 ACTS_DEBUG("TrackFindingGNNAlg::initialize() - end");
214 return StatusCode::SUCCESS;
215}
#define ATH_MSG_ERROR(x)
std::unique_ptr< const Acts::Logger > makeActsAthenaLogger(IMessageSvc *svc, const std::string &name, int level, std::optional< std::string > parent_name)
Gaudi::Property< std::string > m_moduleMapPath
Gaudi::Property< std::string > m_gnnPath
Gaudi::Property< bool > m_relaxCentralHoleSel
std::unique_ptr< const Acts::Logger > m_logger
logging instance
detail::OnTrackCalibrator< MutableTrackStateBackend > m_uncalibMeasCalibrator
Gaudi::Property< unsigned int > m_numTrtContexts
Gaudi::Property< double > m_edgeCut
Gaudi::Property< bool > m_relaxMeasurementSel
Gaudi::Property< bool > m_offlineZ0Sel
Gaudi::Property< unsigned int > m_maxGpuInstances
Gaudi::Property< bool > m_usePhiOverlapSps
detail::xAODUncalibMeasSurfAcc m_uncalibMeasSurfAccessor
static OnTrackCalibrator NoCalibration(const ActsTrk::ITrackingGeometrySvc *trackGeoSvc)
Constructs a calibrator which copies the local position & covariance of the ITk measurements onto the...
const ServiceHandle< StoreGateSvc > & detStore() const

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::isClonable ( ) const
inlineoverridevirtualinherited

Specify if the algorithm is clonable.

Only relevant for non-reentrant algorithms. Actual number of clones needs to be set via the "Cardinality" property.

Reimplemented in AFP_DigiTop, AlgB, AlgT, BCM_Digitization, CscDigitBuilder, CscDigitToCscRDO, G4AtlasAlg, G4RunAlg, HGTD_Digitization, HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ISF::SimKernelMT, ITk::StripDigitization, ITkPixelCablingAlg, ITkStripCablingAlg, LArHitEMapMaker, LArTTL1Maker, LUCID_DigiTop, LVL1::L1TopoSimulation, MergeCalibHits, MergeGenericMuonSimHitColl, MergeHijingPars, MergeMcEventCollection, MergeTrackRecordCollection, MergeTruthJets, MergeTruthParticles, MuonDigitizer, PileUpMTAlg, PixelDigitization, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_Digitization, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, SGInputLoader, Simulation::BeamEffectsAlg, TileHitVecToCnt, TileMuonFitter, TilePulseForTileMuonReceiver, TileRawChannelMaker, TRTDigitization, and ZDC_DigiTop.

Definition at line 68 of file AthCommonAlgorithm.h.

68 {
69 return true;
70 }

◆ logger()

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

Private access to the logger.

Definition at line 166 of file TrackFindingGNNAlg.h.

166{ return *m_logger; }

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Set filter decision:

Reimplemented in AthFilterAlgorithm.

Definition at line 99 of file AthCommonAlgorithm.h.

99 {
101 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const
Set filter decision:

◆ sysExecute()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Reimplemented in AthAnalysisAlgorithm.

Definition at line 80 of file AthCommonAlgorithm.cxx.

41{
42 return BaseAlg::sysExecute (ctx);
43}

◆ sysInitialize()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, HypoBase, InputMakerBase, and PyAthena::Alg.

Definition at line 60 of file AthCommonAlgorithm.cxx.

71 {
73
74 if (sc.isFailure()) {
75 return sc;
76 }
77
78 ServiceHandle<ICondSvc> cs("CondSvc",name());
79 for (auto h : outputHandles()) {
80 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
81 // do this inside the loop so we don't create the CondSvc until needed
82 if ( cs.retrieve().isFailure() ) {
83 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
85 }
86 if (cs->regHandle(this,*h).isFailure()) {
88 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
89 << " with CondSvc");
90 }
91 }
92 }
93 return sc;
94}
#define ATH_MSG_WARNING(x)
virtual StatusCode sysInitialize() override
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::optional<std::counting_semaphore<> > m_gpuInstanceCount ActsTrk::TrackFindingGNNAlg::ATLAS_THREAD_SAFE {}
mutableprivate

Definition at line 172 of file TrackFindingGNNAlg.h.

172{};

◆ m_chronoSvc

ServiceHandle<IChronoStatSvc> ActsTrk::TrackFindingGNNAlg::m_chronoSvc {"ChronoStatSvc", name()}
private

Definition at line 85 of file TrackFindingGNNAlg.h.

85{"ChronoStatSvc", name()};

◆ m_ctxProvider

ContextUtility ActsTrk::TrackFindingGNNAlg::m_ctxProvider {this}
private

Utility to fetch the geometry, magnetic field and calibration context in the event.

Definition at line 84 of file TrackFindingGNNAlg.h.

84{this};

◆ m_cudaDeviceIndex

Gaudi::Property<int> ActsTrk::TrackFindingGNNAlg::m_cudaDeviceIndex
private
Initial value:
{this, "cudaDeviceIndex", 0,
"CUDA device index for GNN inference"}

Definition at line 156 of file TrackFindingGNNAlg.h.

156 {this, "cudaDeviceIndex", 0,
157 "CUDA device index for GNN inference"};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_edgeCut

Gaudi::Property<double> ActsTrk::TrackFindingGNNAlg::m_edgeCut
private
Initial value:
{this, "edgeCut", 0.5,
"Edge cut to apply after the GNN"}

Definition at line 136 of file TrackFindingGNNAlg.h.

136 {this, "edgeCut", 0.5,
137 "Edge cut to apply after the GNN"};

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 108 of file AthCommonAlgorithm.h.

◆ m_fitterTool

ToolHandle<IFitterTool> ActsTrk::TrackFindingGNNAlg::m_fitterTool
private
Initial value:
{
this, "FitterTool", "", "Track fitting tool"}

Definition at line 80 of file TrackFindingGNNAlg.h.

80 {
81 this, "FitterTool", "", "Track fitting tool"};

◆ m_gnnPath

Gaudi::Property<std::string> ActsTrk::TrackFindingGNNAlg::m_gnnPath
private
Initial value:
{this, "gnnPath", "",
"Path to the gnn file"}

Definition at line 115 of file TrackFindingGNNAlg.h.

115 {this, "gnnPath", "",
116 "Path to the gnn file"};

◆ m_gnnPipeline

std::unique_ptr<ActsPlugins::GnnPipeline> ActsTrk::TrackFindingGNNAlg::m_gnnPipeline
private

Definition at line 159 of file TrackFindingGNNAlg.h.

◆ m_logger

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

logging instance

Definition at line 169 of file TrackFindingGNNAlg.h.

◆ m_maxGpuInstances

Gaudi::Property<unsigned int> ActsTrk::TrackFindingGNNAlg::m_maxGpuInstances
private
Initial value:
{
this, "maxGpuInstances", 1,
"Number of events that can be on GPU in parallel"}

Definition at line 121 of file TrackFindingGNNAlg.h.

121 {
122 this, "maxGpuInstances", 1,
123 "Number of events that can be on GPU in parallel"};

◆ m_maxPropagationStep

Gaudi::Property<unsigned int> ActsTrk::TrackFindingGNNAlg::m_maxPropagationStep
private
Initial value:
{
this, "maxPropagationStep", 1000,
"Maximum number of steps for one propagate call"}

Definition at line 108 of file TrackFindingGNNAlg.h.

108 {
109 this, "maxPropagationStep", 1000,
110 "Maximum number of steps for one propagate call"};

◆ m_minCandidateMeasurements

Gaudi::Property<unsigned int> ActsTrk::TrackFindingGNNAlg::m_minCandidateMeasurements
private
Initial value:
{
this, "minCandidateMeasurements", 7,
"Minimum number of spacepoints to cut for in the GNN candidates"}

Definition at line 139 of file TrackFindingGNNAlg.h.

139 {
140 this, "minCandidateMeasurements", 7,
141 "Minimum number of spacepoints to cut for in the GNN candidates"};

◆ m_minDeltaR

Gaudi::Property<double> ActsTrk::TrackFindingGNNAlg::m_minDeltaR
private
Initial value:
{
this, "minDeltaR", 10.0,
"Minimum difference in R to build the initial parameters"}

Definition at line 143 of file TrackFindingGNNAlg.h.

143 {
144 this, "minDeltaR", 10.0,
145 "Minimum difference in R to build the initial parameters"};

◆ m_moduleMapPath

Gaudi::Property<std::string> ActsTrk::TrackFindingGNNAlg::m_moduleMapPath
private
Initial value:
{this, "moduleMapPath", "",
"Path to the module map files"}

Definition at line 112 of file TrackFindingGNNAlg.h.

112 {this, "moduleMapPath", "",
113 "Path to the module map files"};

◆ m_monTool

ToolHandle<GenericMonitoringTool> ActsTrk::TrackFindingGNNAlg::m_monTool
private
Initial value:
{this, "MonTool", "",
"Monitoring tool"}

Definition at line 75 of file TrackFindingGNNAlg.h.

75 {this, "MonTool", "",
76 "Monitoring tool"};

◆ m_numTrtContexts

Gaudi::Property<unsigned int> ActsTrk::TrackFindingGNNAlg::m_numTrtContexts
private
Initial value:
{
this, "numTrtContexts", 1, "Number of TensorRT contexts to allocate"}

Definition at line 125 of file TrackFindingGNNAlg.h.

125 {
126 this, "numTrtContexts", 1, "Number of TensorRT contexts to allocate"};

◆ m_offlineZ0Sel

Gaudi::Property<bool> ActsTrk::TrackFindingGNNAlg::m_offlineZ0Sel
private
Initial value:
{
this, "offlineZ0Sel", false, "Apply offline z0 selection"}

Definition at line 153 of file TrackFindingGNNAlg.h.

153 {
154 this, "offlineZ0Sel", false, "Apply offline z0 selection"};

◆ m_paramEstimationTool

ToolHandle<ITrackParamsEstimationTool> ActsTrk::TrackFindingGNNAlg::m_paramEstimationTool
private
Initial value:
{
this, "TrackParamsEstimationTool", "", "Track Param Estimation from Seeds"}

Definition at line 78 of file TrackFindingGNNAlg.h.

78 {
79 this, "TrackParamsEstimationTool", "", "Track Param Estimation from Seeds"};

◆ m_relaxCentralHoleSel

Gaudi::Property<bool> ActsTrk::TrackFindingGNNAlg::m_relaxCentralHoleSel
private
Initial value:
{
this, "relaxCentralHoleSel", false, "Relax holes from 2 to 4 in central region"}

Definition at line 147 of file TrackFindingGNNAlg.h.

147 {
148 this, "relaxCentralHoleSel", false, "Relax holes from 2 to 4 in central region"};

◆ m_relaxMeasurementSel

Gaudi::Property<bool> ActsTrk::TrackFindingGNNAlg::m_relaxMeasurementSel
private
Initial value:
{
this, "relaxMeasurementSel", true, "Apply 7,7,7 measurement sel"}

Definition at line 150 of file TrackFindingGNNAlg.h.

150 {
151 this, "relaxMeasurementSel", true, "Apply 7,7,7 measurement sel"};

◆ m_stripIdHelper

const SCT_ID* ActsTrk::TrackFindingGNNAlg::m_stripIdHelper = nullptr
private

Definition at line 161 of file TrackFindingGNNAlg.h.

◆ m_tightSeeds

Gaudi::Property<bool> ActsTrk::TrackFindingGNNAlg::m_tightSeeds
private
Initial value:
{
this, "tightSeeds", false,
"Use tight seeds instead of spread seeds for param estimation"}

Definition at line 132 of file TrackFindingGNNAlg.h.

132 {
133 this, "tightSeeds", false,
134 "Use tight seeds instead of spread seeds for param estimation"};

◆ m_trackContainerKey

SG::WriteHandleKey<TrackContainer> ActsTrk::TrackFindingGNNAlg::m_trackContainerKey
private
Initial value:
{
this, "ACTSTracksLocation", "",
"Output track collection (ActsTrk variant)"}

Definition at line 103 of file TrackFindingGNNAlg.h.

103 {
104 this, "ACTSTracksLocation", "",
105 "Output track collection (ActsTrk variant)"};

◆ m_trackingGeometrySvc

ServiceHandle<ActsTrk::ITrackingGeometrySvc> ActsTrk::TrackFindingGNNAlg::m_trackingGeometrySvc {this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"}
private

Definition at line 77 of file TrackFindingGNNAlg.h.

77{this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"};

◆ m_trackSelectorConfig

Acts::TrackSelector::EtaBinnedConfig ActsTrk::TrackFindingGNNAlg::m_trackSelectorConfig
private

Definition at line 163 of file TrackFindingGNNAlg.h.

◆ m_uncalibMeasCalibrator

detail::OnTrackCalibrator<MutableTrackStateBackend> ActsTrk::TrackFindingGNNAlg::m_uncalibMeasCalibrator {}
private

Definition at line 89 of file TrackFindingGNNAlg.h.

89{};

◆ m_uncalibMeasSurfAccessor

detail::xAODUncalibMeasSurfAcc ActsTrk::TrackFindingGNNAlg::m_uncalibMeasSurfAccessor {}
private

Definition at line 87 of file TrackFindingGNNAlg.h.

87{};

◆ m_usePhiOverlapSps

Gaudi::Property<bool> ActsTrk::TrackFindingGNNAlg::m_usePhiOverlapSps
private
Initial value:
{
this, "usePhiOverlapSps", false, "Wether to use phi overlap spacepoints"}

Definition at line 118 of file TrackFindingGNNAlg.h.

118 {
119 this, "usePhiOverlapSps", false, "Wether to use phi overlap spacepoints"};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_varianceInflation

Gaudi::Property<double> ActsTrk::TrackFindingGNNAlg::m_varianceInflation
private
Initial value:
{
this, "varianceInflation", 1.0,
"Factor that is multiplied to all initial variances"}

Definition at line 128 of file TrackFindingGNNAlg.h.

128 {
129 this, "varianceInflation", 1.0,
130 "Factor that is multiplied to all initial variances"};

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.

◆ m_xaodPixelSpacePointContainerKey

SG::ReadHandleKey<xAOD::SpacePointContainer> ActsTrk::TrackFindingGNNAlg::m_xaodPixelSpacePointContainerKey
private
Initial value:
{this, "xAODInputPixelSpacePoints",
"ITkPixelSpacePoints"}

Definition at line 93 of file TrackFindingGNNAlg.h.

93 {this, "xAODInputPixelSpacePoints",
94 "ITkPixelSpacePoints"};

◆ m_xaodStripSpacePointContainerKey

SG::ReadHandleKey<xAOD::SpacePointContainer> ActsTrk::TrackFindingGNNAlg::m_xaodStripSpacePointContainerKey
private
Initial value:
{
this, "xAODInputSpacePointsContainerKey", "ITkStripSpacePoints"}

Definition at line 96 of file TrackFindingGNNAlg.h.

96 {
97 this, "xAODInputSpacePointsContainerKey", "ITkStripSpacePoints"};

◆ m_xaodStripSpacePointOverlapContainerKey

SG::ReadHandleKey<xAOD::SpacePointContainer> ActsTrk::TrackFindingGNNAlg::m_xaodStripSpacePointOverlapContainerKey
private
Initial value:
{
this, "xAODInputSpacePointsOverlapContainerKey",
"ITkStripOverlapSpacePoints"}

Definition at line 99 of file TrackFindingGNNAlg.h.

99 {
100 this, "xAODInputSpacePointsOverlapContainerKey",
101 "ITkStripOverlapSpacePoints"};

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