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

#include <TrackFindingAlg.h>

Inheritance diagram for ActsTrk::TrackFindingAlg:
Collaboration diagram for ActsTrk::TrackFindingAlg:

Public Types

using ExpectedLayerPattern = std::array<unsigned int, 4>

Public Member Functions

 TrackFindingAlg (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~TrackFindingAlg ()=default
virtual StatusCode initialize () override
virtual StatusCode finalize () 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 Types

enum  EStat : std::size_t {
  kNTotalSeeds , kNoTrackParam , kNUsedSeeds , kNoTrack ,
  kNDuplicateSeeds , kNNoEstimatedParams , kNOutputTracks , kNSeedRefitFailure ,
  kNRejectedRefinedSeeds , kNSelectedTracks , kNStoppedTracksMaxHoles , kMultipleBranches ,
  kNoSecond , kNStoppedTracksMinPt , kNStoppedTracksMaxEta , kNTotalSharedHits ,
  kNForcedSeedMeasurements , kNResolvedTracks , kNStat
}
using TrackFinderOptions = Acts::CombinatorialKalmanFilterOptions<detail::RecoTrackContainer>
using EventStats = std::vector<std::array<unsigned int, kNStat>>
using TrkProxy = detail::RecoTrackContainer::TrackProxy
using BranchStopperResult = Acts::CombinatorialKalmanFilterBranchStopperResult

Protected Member Functions

CKF_pimpl & trackFinder ()
const CKF_pimpl & trackFinder () const
StatusCode initializeMeasurementSelector ()
std::unique_ptr< ActsTrk::IMeasurementSelector > setMeasurementSelector (const EventContext &ctx, const detail::TrackFindingMeasurements &measurements, TrackFinderOptions &options) const
 Setup and attach measurement selector to KF options.
TrackFindingDefaultOptions getDefaultOptions (const EventContext &ctx, const DetectorContextHolder &detContext, const detail::TrackFindingMeasurements &measurements, const Acts::PerigeeSurface *pSurface) const
 Get CKF options for first and second pass + pointer to MeasurementSelector.
template<class HandleArrayKeyType, class ContainerType>
StatusCode getContainersFromKeys (const EventContext &ctx, HandleArrayKeyType &handleKeyArray, std::vector< const ContainerType * > &outputContainers, std::size_t &sum) const
 Take the array of handle keys and for each key retrieve containers, then append them to the output vector.
const Acts::TrackSelector::Config & getCuts (double eta) const
 Retrieves track selector configuration for given eta value.
std::vector< typename detail::RecoTrackContainer::TrackProxy > doTwoWayTrackFinding (const detail::RecoTrackStateContainerProxy &firstMeasurement, const TrkProxy &trackProxy, detail::RecoTrackContainer &tracksContainerTemp, const TrackFinderOptions &options) const
 Perform two-way track finding.
BranchStopperResult stopBranch (const detail::RecoTrackContainer::TrackProxy &track, const detail::RecoTrackContainer::TrackStateProxy &trackState, const Acts::TrackSelector::EtaBinnedConfig &trackSelectorCfg, const Acts::GeometryContext &tgContext, const detail::MeasurementIndex &measurementIndex, const std::size_t typeIndex, EventStats::value_type &event_stat_category_i) const
 Branch stopper.
void checkCounts (const detail::RecoTrackContainer::TrackProxy &track) const
std::array< bool, 3 > selectCounts (const detail::RecoTrackContainer::TrackProxy &track, double eta) const
bool selectCountsFinal (const detail::RecoTrackContainer::TrackProxy &track) const
const Acts::Logger & logger () const
 Private access to the logger.
void initStatTables ()
void copyStats (const EventStats &event_stat) const
void printStatTables () const
std::size_t nSeedCollections () const
std::size_t seedCollectionStride () const
std::size_t getStatCategory (std::size_t seed_collection, float eta) const
std::size_t computeStatSum (std::size_t seed_collection, EStat counter_i, const EventStats &stat) const
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.

Static Protected Member Functions

static xAOD::UncalibMeasType measurementType (const detail::RecoTrackContainer::TrackStateProxy &trackState)
static void addCountsAndProperties (detail::RecoTrackContainer &tracksContainer, bool add_counts)
static void initCounts (const detail::RecoTrackContainer::TrackProxy &track)
static void updateCounts (const detail::RecoTrackContainer::TrackProxy &track, Acts::ConstTrackStateTypeMap typeFlags, xAOD::UncalibMeasType detType)

Protected Attributes

struct ActsTrk::TrackFindingBaseAlg::MeasurementSelectorConfig m_measurementSelectorConfig
std::unique_ptr< CKF_pimpl > m_trackFinder
ToolHandle< GenericMonitoringTool > m_monTool {this, "MonTool", "", "Monitoring tool"}
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc {this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"}
ToolHandle< ActsTrk::TrackStatePrinterTool > m_trackStatePrinter {this, "TrackStatePrinter", "", "optional track state printer"}
ToolHandle< ActsTrk::IPixelOnTrackCalibratorTool< detail::RecoTrackStateContainer > > m_pixelCalibTool {this, "PixelCalibrator", "", "Opt. pixel measurement calibrator"}
ToolHandle< ActsTrk::IStripOnTrackCalibratorTool< detail::RecoTrackStateContainer > > m_stripCalibTool {this, "StripCalibrator", "", "Opt. strip measurement calibrator"}
ToolHandle< ActsTrk::IHGTDOnTrackCalibratorTool< detail::RecoTrackStateContainer > > m_hgtdCalibTool {this, "HGTDCalibrator", "", "Opt. HGTD measurement calibrator"}
SG::WriteHandleKey< ActsTrk::TrackContainer > m_trackContainerKey {this, "ACTSTracksLocation", "", "Output track collection (ActsTrk variant)"}
ActsTrk::MutableTrackContainerHandlesHelper m_tracksBackendHandlesHelper {this}
ContextUtility m_ctxProvider {this}
 Utility to fetch the geometry, magnetic field and calibration context in the event.
Gaudi::Property< unsigned int > m_maxPropagationStep {this, "maxPropagationStep", 1000, "Maximum number of steps for one propagate call"}
Gaudi::Property< std::vector< double > > m_etaBins {this, "etaBins", {}, "bins in |eta| to specify variable selections"}
Gaudi::Property< std::vector< double > > m_chi2CutOffSigma
Gaudi::Property< std::vector< double > > m_chi2OutlierCutOffSigma
Gaudi::Property< std::vector< size_t > > m_numMeasurementsCutOff {this, "numMeasurementsCutOff", {}, "MeasurementSelector: maximum number of associated measurements on a single surface"}
Gaudi::Property< double > m_edgeHoleBorderWidth {this,"EdgeHoleBorderWidth", 0. ,"Width of the border of surfaces (mm) within which holes are not counted as holes."}
Gaudi::Property< std::vector< std::size_t > > m_ptMinMeasurements {this, "ptMinMeasurements", {}, "if specified for the given seed collection, applies ptMin cut in branch stopper once ptMinMinMeasurements have been encountered"}
Gaudi::Property< std::vector< std::size_t > > m_absEtaMaxMeasurements {this, "absEtaMaxMeasurements", {}, "if specified for the given seed collection, applies absEtaMax cut in branch stopper once absEtaMaxMeasurements have been encountered"}
Gaudi::Property< bool > m_doBranchStopper {this, "doBranchStopper", true, "use branch stopper"}
Gaudi::Property< bool > m_doSecondPassBranchStopper {this, "doSecondPassBranchStopper", false, "run the branch stopper in the second pass, keeping instead of dropping"}
Gaudi::Property< bool > m_doTwoWay {this, "doTwoWay", true, "run CKF twice, first with forward propagation with smoothing, then with backward propagation"}
Gaudi::Property< bool > m_recordMaterialStates {this, "recordMaterialStates", false, "record track states on surfaces which have material but no measurement; keeping them off is faster, but they have to be on for the multi-component stepper and for anything downstream which needs the full track state sequence"}
Gaudi::Property< bool > m_inflateCovarianceTwoWay {this, "inflateCovarianceTwoWay", false, "inflate covariance matrix at the beginning of two-way track finding"}
Gaudi::Property< double > m_twoWayinflateCovarianceFactor {this, "twoWayinflateCovarianceFactor", 1.0, "factor to multiply the initial covariance matrix at the beginning of two-way track finding"}
Gaudi::Property< double > m_branchStopperPtMinFactor {this, "branchStopperPtMinFactor", 1.0, "factor to multiply ptMin cut when used in the branch stopper"}
Gaudi::Property< double > m_seedRefitPtMinFactor {this, "seedRefitPtMinFactor", 1.0, "factor to multiply ptMin cut when used in the seed refit"}
Gaudi::Property< double > m_branchStopperAbsEtaMaxExtra {this, "branchStopperAbsEtaMaxExtra", 0.0, "increase absEtaMax cut when used in the branch stopper"}
Gaudi::Property< double > m_branchStopperMeasCutReduce {this, "branchStopperMeasCutReduce", 2, "how much to reduce the minMeas requirement for the branch stopper"}
Gaudi::Property< double > m_branchStopperAbsEtaMeasCut {this, "branchStopperAbsEtaMeasCut", 1.2, "the minimum |eta| to apply the reduction to the minMeas requirement for the branch stopper"}
Gaudi::Property< std::vector< double > > m_phiMin {this, "phiMin", {}, "TrackSelector: phiMin"}
Gaudi::Property< std::vector< double > > m_phiMax {this, "phiMax", {}, "TrackSelector: phiMax"}
Gaudi::Property< std::vector< double > > m_etaMin {this, "etaMin", {}, "TrackSelector: etaMin"}
Gaudi::Property< std::vector< double > > m_etaMax {this, "etaMax", {}, "TrackSelector: etaMax"}
Gaudi::Property< double > m_absEtaMin {this, "absEtaMin", 0.0, "TrackSelector: absEtaMin"}
Gaudi::Property< double > m_absEtaMax {this, "absEtaMax", std::numeric_limits<double>::max(), "TrackSelector: absEtaMax"}
Gaudi::Property< std::vector< double > > m_ptMin {this, "ptMin", {}, "TrackSelector: ptMin"}
Gaudi::Property< std::vector< double > > m_ptMax {this, "ptMax", {}, "TrackSelector: ptMax"}
Gaudi::Property< std::vector< double > > m_d0Min {this, "d0Min", {}, "TrackSelector: d0Min"}
Gaudi::Property< std::vector< double > > m_d0Max {this, "d0Max", {}, "TrackSelector: d0Max"}
Gaudi::Property< std::vector< double > > m_z0Min {this, "z0Min", {}, "TrackSelector: z0Min"}
Gaudi::Property< std::vector< double > > m_z0Max {this, "z0Max", {}, "TrackSelector: z0Max"}
Gaudi::Property< std::vector< std::size_t > > m_minMeasurements {this, "minMeasurements", {}, "TrackSelector: minMeasurements"}
Gaudi::Property< std::vector< std::size_t > > m_maxHoles {this, "maxHoles", {}, "TrackSelector: maxHoles"}
Gaudi::Property< std::vector< std::size_t > > m_maxOutliers {this, "maxOutliers", {}, "TrackSelector: maxOutliers"}
Gaudi::Property< std::vector< std::size_t > > m_maxHolesAndOutliers {this, "maxHolesAndOutliers", {}, "TrackSelector: maximum number of holes and outliers together"}
Gaudi::Property< std::vector< std::size_t > > m_maxSharedHits {this, "maxSharedHits", {}, "TrackSelector: maxSharedHits"}
Gaudi::Property< std::vector< double > > m_maxChi2 {this, "maxChi2", {}, "TrackSelector: maxChi2"}
Gaudi::Property< bool > m_addCounts {this, "addCounts", true, "keep separate pixel, strip and hgtd counts and apply the following cuts"}
Gaudi::Property< bool > m_checkCounts {this, "checkCounts", false, "check consistency among track state counts"}
Gaudi::Property< std::vector< std::size_t > > m_minPixelHits {this, "minPixelHits", {}, "minimum number of pixel hits"}
Gaudi::Property< std::vector< std::size_t > > m_minStripHits {this, "minStripHits", {}, "minimum number of strip hits"}
Gaudi::Property< std::vector< std::size_t > > m_minHgtdHits {this, "minHgtdHits", {}, "minimum number of hgtd hits"}
Gaudi::Property< std::vector< std::size_t > > m_maxPixelHoles {this, "maxPixelHoles", {}, "maximum number of pixel holes"}
Gaudi::Property< std::vector< std::size_t > > m_maxStripHoles {this, "maxStripHoles", {}, "maximum number of strip holes"}
Gaudi::Property< std::vector< std::size_t > > m_maxHgtdHoles {this, "maxHgtdHoles", {}, "maximum number of hgtd holes"}
Gaudi::Property< std::vector< std::size_t > > m_maxPixelOutliers {this, "maxPixelOutliers", {}, "maximum number of pixel outliers"}
Gaudi::Property< std::vector< std::size_t > > m_maxStripOutliers {this, "maxStripOutliers", {}, "maximum number of strip outliers"}
Gaudi::Property< std::vector< std::size_t > > m_maxHgtdOutliers {this, "maxHgtdOutliers", {}, "maximum number of hgtd outliers"}
Gaudi::Property< std::uint32_t > m_envelopeConstraint
 Stop the propagation as soon as the envelope is left (Gen3 only).
Gaudi::Property< std::vector< std::uint32_t > > m_endOfWorldVolumeIds {this, "EndOfTheWorldVolumeIds", {}, ""}
Gaudi::Property< std::vector< float > > m_statEtaBins {this, "StatisticEtaBins", {-4, -2.6, -2, 0, 2., 2.6, 4}, "Gather statistics separately for these bins."}
Gaudi::Property< std::vector< std::string > > m_seedLabels {this, "SeedLabels", {}, "One label per seed key used in outputs"}
Gaudi::Property< bool > m_dumpAllStatEtaBins {this, "DumpEtaBinsForAll", false, "Dump eta bins of all statistics counter."}
std::unique_ptr< const Acts::Logger > m_logger
 logging instance
bool m_useAbsEtaForStat = false
bool m_showResolvedStats = false

Static Protected Attributes

static constexpr BranchState s_branchState {}

Private Types

enum  DestinyType : int { UNKNOWN =0 , SUCCEED , DUPLICATE , FAILURE }
typedef ServiceHandle< StoreGateSvc > StoreGateSvc_t

Private Member Functions

std::size_t getSeedCategory (std::size_t typeIndex, const ActsTrk::Seed &seed) const
void printSeed (unsigned int iseed, const DetectorContextHolder &detContext, const ActsTrk::SeedContainer &seeds, const Acts::BoundTrackParameters &seedParameters, const detail::MeasurementIndex &measurementIndex, std::size_t &nPrinted, const char *seedType, bool isKF=false) const
StatusCode addTrack (const DetectorContextHolder &detContext, detail::RecoTrackContainerProxy &track, const Acts::Surface &pSurface, const Acts::TrackExtrapolationStrategy &extrapolationStrategy, detail::SharedHitCounter &sharedHits, detail::RecoTrackContainer &actsTracksContainer, const detail::MeasurementIndex &measurementIndex, const detail::RecoTrackContainer &tracksContainerTemp, detail::DuplicateSeedDetector &duplicateSeedDetector, std::vector< int > *destiny, EventStats &event_stat, std::size_t &ntracks, std::size_t iseed, std::size_t category_i, const char *seedType, std::optional< std::vector< unsigned int > > &trackCategories) const
StatusCode storeTrackCollectionToStoreGate (const EventContext &ctx, Acts::VectorTrackContainer &&originalTrackBackend, Acts::VectorMultiTrajectory &&originalTrackStateBackend) const
StatusCode propagateDetectorElementStatusToMeasurements (const ActsTrk::ActsVolumeIdToDetectorElementCollectionMap &volume_id_to_det_el_coll, const std::vector< const InDet::SiDetectorElementStatus * > &det_el_status_arr, detail::TrackFindingMeasurements &measurements) const
Acts::Result< void > extrapolateTrackToReferenceSurface (const DetectorContextHolder &detContext, detail::RecoTrackContainerProxy &track, const Acts::Surface &referenceSurface, const detail::Extrapolator &propagator, Acts::TrackExtrapolationStrategy strategy, ExpectedLayerPattern &expectedLayerPattern) const
StatusCode findTracks (const EventContext &ctx, const DetectorContextHolder &detContext, const detail::TrackFindingMeasurements &measurements, const detail::MeasurementIndex &measurementIndex, detail::SharedHitCounter &sharedHits, detail::DuplicateSeedDetector &duplicateSeedDetector, const ActsTrk::SeedContainer &seeds, detail::RecoTrackContainer &actsTracksContainer, std::size_t seedCollectionIndex, const char *seedType, EventStats &event_stat, std::vector< int > *destiny, const Acts::PerigeeSurface &pSurface, std::optional< std::vector< unsigned int > > &trackCategories) const
 invoke track finding procedure
void storeSeedInfo (const detail::RecoTrackContainer &tracksContainer, const detail::RecoTrackContainerProxy &track, detail::DuplicateSeedDetector &duplicateSeedDetector, const detail::MeasurementIndex &measurementIndex) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

ToolHandleArray< ActsTrk::ITrackParamsEstimationTool > m_paramEstimationTool {this, "TrackParamsEstimationTool", {}, "Track Param Estimation from Seeds (one tool per seed type)"}
SG::ReadHandleKeyArray< ActsTrk::SeedContainer > m_seedContainerKeys {this, "SeedContainerKeys", {}, "Seed containers"}
SG::ReadHandleKeyArray< xAOD::UncalibratedMeasurementContainer > m_uncalibratedMeasurementContainerKeys {this, "UncalibratedMeasurementContainerKeys", {}, "input cluster collections"}
SG::ReadCondHandleKey< ActsTrk::ActsVolumeIdToDetectorElementCollectionMap > m_volumeIdToDetectorElementCollMapKey
SG::ReadHandleKeyArray< InDet::SiDetectorElementStatus > m_detElStatus {this, "DetElStatus", {}, "Keys for detector element status conditions data."}
bool m_storeDestinies {false}
SG::WriteHandleKeyArray< std::vector< int > > m_seedDestiny {this, "SeedDestiny", {}}
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey {this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot"}
Gaudi::Property< bool > m_skipDuplicateSeeds {this, "skipDuplicateSeeds", true, "skip duplicate seeds before calling CKF"}
Gaudi::Property< unsigned int > m_seedMeasOffset {this,"seedMeasOffset", 0, "Reduce the requirement on the space points on seed to mark a seed as duplicate, e.g seedMeasOffset=1, only N-1 measurements on seed are sufficient deduplicate the seed"}
Gaudi::Property< bool > m_countSharedHits {this, "countSharedHits", true, "add shared hit flags to tracks"}
Gaudi::Property< bool > m_forceTrackOnSeed {this, "forceTrackOnSeed", true, "force track to use measurements from the seed"}
Gaudi::Property< unsigned int > m_maximumSharedHits {this, "MaximumSharedHits", 3u, "Maximum number of shared hits per track."}
Gaudi::Property< unsigned int > m_maximumIterations {this, "MaximumIterations", 10000u, "Maximum number of iterations to resolve ambiguities among all tracks."}
Gaudi::Property< unsigned int > m_nMeasurementsMin {this, "NMeasurementsMin", 7u, "Minimum number of measurements per track."}
Gaudi::Property< std::size_t > m_ambiStrategy {this, "ambiStrategy", 0, "0 - Do ambiguity resolution outside track finding; 1 - Do ambiguity in track finding using GreedyAmbiguitySolver tool; 2 - Do shared hit cut during track candidate selection"}
std::optional< Acts::GreedyAmbiguityResolution > m_ambi
Gaudi::Property< float > m_memorySafetyMargin {this, "MemorySafetyMargin", 1.2}
std::size_t m_nTrackReserve ATLAS_THREAD_SAFE {0ul}
std::size_t m_nTrackStateReserve ATLAS_THREAD_SAFE {0ul}
std::mutex m_mutex 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 45 of file TrackFindingAlg.h.

Member Typedef Documentation

◆ BranchStopperResult

using ActsTrk::TrackFindingBaseAlg::BranchStopperResult = Acts::CombinatorialKalmanFilterBranchStopperResult
protectedinherited

Definition at line 269 of file TrackFindingBaseAlg.h.

◆ EventStats

using ActsTrk::TrackFindingBaseAlg::EventStats = std::vector<std::array<unsigned int, kNStat>>
protectedinherited

Definition at line 190 of file TrackFindingBaseAlg.h.

◆ ExpectedLayerPattern

using ActsTrk::TrackFindingAlg::ExpectedLayerPattern = std::array<unsigned int, 4>

Definition at line 57 of file TrackFindingAlg.h.

◆ StoreGateSvc_t

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

Definition at line 376 of file AthCommonDataStore.h.

◆ TrackFinderOptions

using ActsTrk::TrackFindingBaseAlg::TrackFinderOptions = Acts::CombinatorialKalmanFilterOptions<detail::RecoTrackContainer>
protectedinherited

Definition at line 52 of file TrackFindingBaseAlg.h.

◆ TrkProxy

using ActsTrk::TrackFindingBaseAlg::TrkProxy = detail::RecoTrackContainer::TrackProxy
protectedinherited

Definition at line 245 of file TrackFindingBaseAlg.h.

Member Enumeration Documentation

◆ DestinyType

Enumerator
UNKNOWN 
SUCCEED 
DUPLICATE 
FAILURE 

Definition at line 185 of file TrackFindingAlg.h.

◆ EStat

enum ActsTrk::TrackFindingBaseAlg::EStat : std::size_t
protectedinherited
Enumerator
kNTotalSeeds 
kNoTrackParam 
kNUsedSeeds 
kNoTrack 
kNDuplicateSeeds 
kNNoEstimatedParams 
kNOutputTracks 
kNSeedRefitFailure 
kNRejectedRefinedSeeds 
kNSelectedTracks 
kNStoppedTracksMaxHoles 
kMultipleBranches 
kNoSecond 
kNStoppedTracksMinPt 
kNStoppedTracksMaxEta 
kNTotalSharedHits 
kNForcedSeedMeasurements 
kNResolvedTracks 
kNStat 

Definition at line 167 of file TrackFindingBaseAlg.h.

168 {
172 kNoTrack,
181 kNoSecond,
187 kNStat
188 };

Constructor & Destructor Documentation

◆ TrackFindingAlg()

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

Definition at line 65 of file TrackFindingAlg.cxx.

66 : TrackFindingBaseAlg(name, pSvcLocator) {}
TrackFindingBaseAlg(const std::string &name, ISvcLocator *pSvcLocator)

◆ ~TrackFindingAlg()

virtual ActsTrk::TrackFindingAlg::~TrackFindingAlg ( )
virtualdefault

Member Function Documentation

◆ addCountsAndProperties()

void ActsTrk::TrackFindingBaseAlg::addCountsAndProperties ( detail::RecoTrackContainer & tracksContainer,
bool add_counts )
staticprotectedinherited

Definition at line 436 of file TrackFindingBaseAlg.cxx.

437 {
438 if (addCounts) {
439 tracksContainer.addColumn<unsigned int>("nPixelHits");
440 tracksContainer.addColumn<unsigned int>("nStripHits");
441 tracksContainer.addColumn<unsigned int>("nHgtdHits");
442 tracksContainer.addColumn<unsigned int>("nPixelHoles");
443 tracksContainer.addColumn<unsigned int>("nStripHoles");
444 tracksContainer.addColumn<unsigned int>("nHgtdHoles");
445 tracksContainer.addColumn<unsigned int>("nPixelOutliers");
446 tracksContainer.addColumn<unsigned int>("nStripOutliers");
447 tracksContainer.addColumn<unsigned int>("nHgtdOutliers");
448 }
450 }
static void addFitterTypeProperty(track_container_t &tracksContainer)
add fitter column to the track container

◆ addTrack()

StatusCode ActsTrk::TrackFindingAlg::addTrack ( const DetectorContextHolder & detContext,
detail::RecoTrackContainerProxy & track,
const Acts::Surface & pSurface,
const Acts::TrackExtrapolationStrategy & extrapolationStrategy,
detail::SharedHitCounter & sharedHits,
detail::RecoTrackContainer & actsTracksContainer,
const detail::MeasurementIndex & measurementIndex,
const detail::RecoTrackContainer & tracksContainerTemp,
detail::DuplicateSeedDetector & duplicateSeedDetector,
std::vector< int > * destiny,
EventStats & event_stat,
std::size_t & ntracks,
std::size_t iseed,
std::size_t category_i,
const char * seedType,
std::optional< std::vector< unsigned int > > & trackCategories ) const
private

Definition at line 893 of file TrackFindingAlg.cxx.

909 {
910
911 std::array<unsigned int, 4> expectedLayerPattern{};
912
913 // if the the perigeeSurface was not hit (in particular the case for the inside-out pass,
914 // the track has no reference surface and the extrapolation to the perigee has not been done
915 // yet.
916 if (not track.hasReferenceSurface()) {
917 auto extrapolationResult =
918 extrapolateTrackToReferenceSurface(detContext, track,
919 pSurface,
920 trackFinder().extrapolator,
921 extrapolationStrategy,
922 expectedLayerPattern);
923
924 if (not extrapolationResult.ok()) {
925 ATH_MSG_WARNING("Extrapolation for seed "
926 << iseed << " and " << track.index()
927 << " failed with error " << extrapolationResult.error()
928 << " dropping track candidate.");
929 if (m_storeDestinies) destiny->at(iseed) = DestinyType::FAILURE;
930 return StatusCode::SUCCESS;
931 }
932 }
933
934 // Before trimming, inspect encountered surfaces from all track states
935 for(const auto ts : track.trackStatesReversed()) {
936 const auto* detElem = getActsDetectorElement(ts.referenceSurface());
937 if(detElem != nullptr) {
938 detail::addToExpectedLayerPattern(expectedLayerPattern, *detElem);
939 }
940 }
941
942 // Trim tracks
943 // - trimHoles
944 // - trimOutliers
945 // - trimMaterial
946 // - trimOtherNoneMeasurement
947 Acts::trimTrack(track, true, true, true, true);
948 Acts::calculateTrackQuantities(track);
949 if (m_addCounts) {
950 initCounts(track);
951 for (const auto trackState : track.trackStatesReversed()) {
952 updateCounts(track, trackState.typeFlags(), measurementType(trackState));
953 }
954 if (m_checkCounts) {
955 checkCounts(track);
956 }
957 }
958
959 ++ntracks;
960 ++event_stat[category_i][kNOutputTracks];
961
962 if ( not trackFinder().trackSelector.isValidTrack(track) or
963 not selectCountsFinal(track)) {
964 ATH_MSG_DEBUG("Track " << ntracks << " from " << seedType << " seed " << iseed << " failed track selection");
965 if ( m_trackStatePrinter.isSet() ) {
966 m_trackStatePrinter->printTrack(detContext.geometry, tracksContainerTemp, track, measurementIndex, true);
967 }
968 return StatusCode::SUCCESS;
969 }
970
971 ++event_stat[category_i][kNSelectedTracks];
972
973 // Fill the track infos into the duplicate seed detector
975 storeSeedInfo(tracksContainerTemp, track, duplicateSeedDetector, measurementIndex);
976 }
977
978 auto actsDestProxy = actsTracksContainer.makeTrack();
979 actsDestProxy.copyFrom(track); // make sure we copy track states!
980
981 detail::ExpectedLayerPatternHelper::set(actsDestProxy, expectedLayerPattern);
982
983 auto setTrackCategory = [&]() {
984 if (!trackCategories) return;
985 if (!(actsDestProxy.index() < trackCategories->size())) trackCategories->resize(actsDestProxy.index()+1);
986 trackCategories->at(actsDestProxy.index()) = category_i;
987 };
988
989 if (not m_countSharedHits) {
990 return StatusCode::SUCCESS;
991 }
992
993 auto [nShared, nBadTrackMeasurements] = sharedHits.computeSharedHits(actsDestProxy, actsTracksContainer, measurementIndex);
994
995 if (nBadTrackMeasurements > 0) {
996 ATH_MSG_ERROR("computeSharedHits: " << nBadTrackMeasurements << " track measurements not found in input for " << seedType << " seed " << iseed << " track");
997 }
998
999 ATH_MSG_DEBUG("found " << actsDestProxy.nSharedHits() << " shared hits in " << seedType << " seed " << iseed << " track");
1000
1001 event_stat[category_i][kNTotalSharedHits] += nShared;
1002
1003 if (m_ambiStrategy == 2u) { // run the ambiguity during track selection
1004
1005 if (actsDestProxy.nSharedHits() <= m_maximumSharedHits) {
1006 setTrackCategory();
1007 ++event_stat[category_i][kNResolvedTracks];
1008 }
1009 else { // track fails the shared hit selection
1010
1011 ATH_MSG_DEBUG("found " << actsDestProxy.nSharedHits() << " shared hits in " << seedType << " seed " << iseed << " track");
1012 // Reset the original track shared hits by running coumputeSharedHits
1013 // with removeSharedHits flag to true
1014 // nSharedRemoved contains the total shared hits that will be removed
1015 auto [nSharedRemoved, nRemoveBadTrackMeasurements] = sharedHits.computeSharedHits(actsDestProxy, actsTracksContainer, measurementIndex, true);
1016
1017 ATH_MSG_DEBUG("Removed " << nSharedRemoved << " shared hits in " << seedType << " seed " << iseed << " track and the matching track");
1018
1019 if (nRemoveBadTrackMeasurements > 0) {
1020 ATH_MSG_ERROR("computeSharedHits with remove flag ON: " << nRemoveBadTrackMeasurements <<
1021 " track measurements not found in input for " << seedType << " seed " << iseed << " track");
1022 }
1023
1024 if (actsDestProxy.nSharedHits() != 0) {
1025 ATH_MSG_ERROR("computeSharedHits with remove flag ON returned " <<
1026 actsDestProxy.nSharedHits()<< " while expecting 0 for" <<
1027 seedType << " seed " << iseed << " track");
1028 }
1029
1030 // Remove the track from the container
1031 actsTracksContainer.removeTrack(actsDestProxy.index());
1032 ATH_MSG_DEBUG("Track " << ntracks << " from " << seedType << " seed " << iseed << " failed shared hit selection");
1033 }
1034 }
1035 else {
1036 // run ambi later
1037 setTrackCategory();
1038 if (m_trackStatePrinter.isSet()) {
1039 m_trackStatePrinter->printTrack(detContext.geometry, actsTracksContainer, actsDestProxy, measurementIndex);
1040 }
1041 }
1042
1043 return StatusCode::SUCCESS;
1044 }
const ActsDetectorElement * getActsDetectorElement(const Acts::Surface &surf)
Attempts to retrieve the ActsDetectorElement associated to the passed ActsSurface.
#define ATH_MSG_DEBUG(x,...)
#define ATH_MSG_ERROR(x,...)
#define ATH_MSG_WARNING(x,...)
Gaudi::Property< bool > m_countSharedHits
Gaudi::Property< unsigned int > m_maximumSharedHits
void storeSeedInfo(const detail::RecoTrackContainer &tracksContainer, const detail::RecoTrackContainerProxy &track, detail::DuplicateSeedDetector &duplicateSeedDetector, const detail::MeasurementIndex &measurementIndex) const
Acts::Result< void > extrapolateTrackToReferenceSurface(const DetectorContextHolder &detContext, detail::RecoTrackContainerProxy &track, const Acts::Surface &referenceSurface, const detail::Extrapolator &propagator, Acts::TrackExtrapolationStrategy strategy, ExpectedLayerPattern &expectedLayerPattern) const
Gaudi::Property< bool > m_skipDuplicateSeeds
Gaudi::Property< std::size_t > m_ambiStrategy
static xAOD::UncalibMeasType measurementType(const detail::RecoTrackContainer::TrackStateProxy &trackState)
ToolHandle< ActsTrk::TrackStatePrinterTool > m_trackStatePrinter
void checkCounts(const detail::RecoTrackContainer::TrackProxy &track) const
static void initCounts(const detail::RecoTrackContainer::TrackProxy &track)
Gaudi::Property< bool > m_checkCounts
static void updateCounts(const detail::RecoTrackContainer::TrackProxy &track, Acts::ConstTrackStateTypeMap typeFlags, xAOD::UncalibMeasType detType)
Gaudi::Property< bool > m_addCounts
bool selectCountsFinal(const detail::RecoTrackContainer::TrackProxy &track) const
int ts
Definition globals.cxx:24
std::array< unsigned int, 4 > expectedLayerPattern(const EventContext &ctx, const ActsTrk::IExtrapolationTool &extrapolator, const Acts::BoundTrackParameters &perigee_parameters, double pathLimit)
Extrapolate from the perigee outwards and gather information which detector layers should have hits.
void addToExpectedLayerPattern(std::array< unsigned int, 4 > &pattern, const ActsDetectorElement &detElement)
static void set(track_proxy_t &track, std::array< unsigned int, 4 > values)

◆ checkCounts()

void ActsTrk::TrackFindingBaseAlg::checkCounts ( const detail::RecoTrackContainer::TrackProxy & track) const
protectedinherited

Definition at line 495 of file TrackFindingBaseAlg.cxx.

495 {
496 // This check will fail if there are other types (HGTD, MS?) of hits, holes, or outliers.
497 // The check can be removed when it is no longer appropriate.
498 if (track.nMeasurements() != s_branchState.nPixelHits(track) + s_branchState.nStripHits(track) + s_branchState.nHgtdHits(track))
499 ATH_MSG_WARNING("mismatched hit count: total (" << track.nMeasurements()
500 << ") != pixel (" << s_branchState.nPixelHits(track)
501 << ") + strip (" << s_branchState.nStripHits(track)
502 << ") + hgtd (" << s_branchState.nHgtdHits(track)
503 << ")");
504 if (track.nHoles() != s_branchState.nPixelHoles(track) + s_branchState.nStripHoles(track) + s_branchState.nHgtdHoles(track))
505 ATH_MSG_WARNING("mismatched hole count: total (" << track.nHoles()
506 << ") < pixel (" << s_branchState.nPixelHoles(track)
507 << ") + strip (" << s_branchState.nStripHoles(track)
508 << ") + hgtd (" << s_branchState.nHgtdHoles(track)
509 << ")");
510 if (track.nOutliers() != s_branchState.nPixelOutliers(track) + s_branchState.nStripOutliers(track) + s_branchState.nHgtdOutliers(track))
511 ATH_MSG_WARNING("mismatched outlier count: total (" << track.nOutliers()
512 << ") != pixel (" << s_branchState.nPixelOutliers(track)
513 << ") + strip (" << s_branchState.nStripOutliers(track)
514 << ") + hgtd (" << s_branchState.nHgtdOutliers(track)
515 << ")");
516 };
static constexpr BranchState s_branchState

◆ computeStatSum()

std::size_t ActsTrk::TrackFindingBaseAlg::computeStatSum ( std::size_t seed_collection,
EStat counter_i,
const EventStats & stat ) const
protectedinherited

Definition at line 825 of file TrackFindingBaseAlg.cxx.

825 {
826 std::size_t out = 0u;
827 for (std::size_t category_i = seed_collection * seedCollectionStride();
828 category_i < (seed_collection + 1) * seedCollectionStride();
829 ++category_i)
830 {
831 assert(category_i < stat.size());
832 out += stat[category_i][counter_i];
833 }
834 return out;
835 }
std::size_t seedCollectionStride() const
@ u
Enums for curvilinear frames.
Definition ParamDefs.h:77

◆ copyStats()

void ActsTrk::TrackFindingBaseAlg::copyStats ( const EventStats & event_stat) const
protectedinherited

Definition at line 611 of file TrackFindingBaseAlg.cxx.

611 {
612 std::lock_guard<std::mutex> lock(m_mutex);
613 std::size_t category_i = 0;
614 for (const std::array<unsigned int, kNStat> &src_stat : event_stat)
615 {
616 std::array<std::size_t, kNStat> &dest_stat = m_stat[category_i++];
617 for (std::size_t i = 0; i < src_stat.size(); ++i)
618 {
619 assert(i < dest_stat.size());
620 dest_stat[i] += src_stat[i];
621 }
622 }
623 }
virtual void lock()=0
Interface to allow an object to lock itself when made const in SG.

◆ 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.

◆ doTwoWayTrackFinding()

std::vector< typename detail::RecoTrackContainer::TrackProxy > ActsTrk::TrackFindingBaseAlg::doTwoWayTrackFinding ( const detail::RecoTrackStateContainerProxy & firstMeasurement,
const TrkProxy & trackProxy,
detail::RecoTrackContainer & tracksContainerTemp,
const TrackFinderOptions & options ) const
protectedinherited

Perform two-way track finding.

Parameters
addTrackFunction or lambda which adds newly found track to container
trackProxyTrack proxy object
tracksContainerTempTrack proxy container
optionsFit options
tgContextGeometry context
seedTypeSeed type (only used for warnings/debug printouts)
iseedSeed number (only used for warnings/debug printouts)
itrackTrack number (only used for warnings/debug printouts)
Returns
Number of found tracks

Definition at line 267 of file TrackFindingBaseAlg.cxx.

270 {
271 if (not m_doTwoWay) return {};
272
273 // Create initial parameters for the propagation
274 Acts::BoundTrackParameters secondInitialParameters = trackProxy.createParametersFromState(detail::RecoConstTrackStateContainerProxy{firstMeasurement});
275 if (!secondInitialParameters.referenceSurface().insideBounds(secondInitialParameters.localPosition())) { // #3751
276 return {};
277 }
278
279 // First, inflate the covariance matrix if configured
281 ATH_MSG_DEBUG("Inflating covariance matrix for second track finding with factor = " << m_twoWayinflateCovarianceFactor.value());
282 ATH_MSG_VERBOSE("Original parameters before inflation: \n" << secondInitialParameters);
283
284 auto inflatedCovariance = secondInitialParameters.covariance().value();
285 inflatedCovariance *= m_twoWayinflateCovarianceFactor;
286
287 const auto& origSurface = secondInitialParameters.referenceSurface();
288 auto surfacePtr = const_cast<Acts::Surface&>(origSurface).shared_from_this();
289
290 Acts::BoundTrackParameters newParams(
291 std::static_pointer_cast<const Acts::Surface>(std::move(surfacePtr)),
292 secondInitialParameters.parameters(),
293 std::make_optional(inflatedCovariance),
294 secondInitialParameters.particleHypothesis());
295 secondInitialParameters = std::move(newParams);
296
297 ATH_MSG_VERBOSE("Inflated covariance matrix : \n" << secondInitialParameters.covariance().value());
298 }
299
300 auto rootBranch = tracksContainerTemp.makeTrack();
301 rootBranch.copyFromWithoutStates(trackProxy); // #3534
302
303 // perform track finding
304 auto secondResult =
305 trackFinder().ckf.findTracks(secondInitialParameters, options, tracksContainerTemp, rootBranch);
306 if (not secondResult.ok()) {
307 return {};
308 }
309 return secondResult.value();
310 }
#define ATH_MSG_VERBOSE(x,...)
Gaudi::Property< bool > m_doTwoWay
Gaudi::Property< double > m_twoWayinflateCovarianceFactor
Gaudi::Property< bool > m_inflateCovarianceTwoWay
RecoTrackStateContainer::ConstTrackStateProxy RecoConstTrackStateContainerProxy
const xAOD::UncalibratedMeasurement * firstMeasurement(const xAOD::MuonSegment &segment, const bool skipOutlier=true)
Retrieves the first measurement associated with the segment.

◆ 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::TrackFindingAlg::execute ( const EventContext & ctx) const
overridevirtual

Reimplemented from ActsTrk::TrackFindingBaseAlg.

Definition at line 127 of file TrackFindingAlg.cxx.

128 {
129 ATH_MSG_DEBUG("Executing " << name() << " ... ");
130
131 auto timer = Monitored::Timer<std::chrono::milliseconds>("TIME_execute");
132 auto mon_nTracks = Monitored::Scalar<int>("nTracks");
133 auto mon = Monitored::Group(m_monTool, timer, mon_nTracks);
134
135 // ================================================== //
136 // ===================== INPUTS ===================== //
137 // ================================================== //
138
139 // SEED TRIPLETS
140 std::vector<const ActsTrk::SeedContainer *> seedContainers;
141 std::size_t total_seeds = 0;
142 ATH_CHECK(getContainersFromKeys(ctx, m_seedContainerKeys, seedContainers, total_seeds));
143
144 // DESTINIES
145 std::vector< std::unique_ptr< std::vector<int> > > destinies {};
146 if (m_storeDestinies) {
147 destinies.reserve( seedContainers.size() );
148 for (std::size_t i(0); i<seedContainers.size(); ++i) {
149 destinies.push_back( std::make_unique< std::vector<int> >( seedContainers.at(i)->size(), DestinyType::UNKNOWN) );
150 }
151 }
152
153 // MEASUREMENTS
154 std::vector<const xAOD::UncalibratedMeasurementContainer *> uncalibratedMeasurementContainers;
155 std::size_t total_measurements = 0;
156 ATH_CHECK(getContainersFromKeys(ctx, m_uncalibratedMeasurementContainerKeys, uncalibratedMeasurementContainers, total_measurements));
157
158 // map detector element status to volume ids
159 SG::ReadCondHandle<ActsTrk::ActsVolumeIdToDetectorElementCollectionMap>
160 volumeIdToDetectorElementCollMap(m_volumeIdToDetectorElementCollMapKey,ctx);
161 ATH_CHECK(volumeIdToDetectorElementCollMap.isValid());
162 std::vector< const InDet::SiDetectorElementStatus *> det_el_status_arr;
163 const std::vector<const InDetDD::SiDetectorElementCollection*> &det_el_collections =volumeIdToDetectorElementCollMap->collections();
164 det_el_status_arr.resize( det_el_collections.size(), nullptr);
165 for (const SG::ReadHandleKey<InDet::SiDetectorElementStatus> &det_el_status_key : m_detElStatus) {
166 SG::ReadHandle<InDet::SiDetectorElementStatus> det_el_status(det_el_status_key,ctx);
167 ATH_CHECK( det_el_status.isValid());
168 const std::vector<const InDetDD::SiDetectorElementCollection*>::const_iterator
169 det_el_col_iter = std::find(det_el_collections.begin(),
170 det_el_collections.end(),
171 &det_el_status->getDetectorElements());
172 det_el_status_arr.at(det_el_col_iter - det_el_collections.begin()) = det_el_status.cptr();
173 }
174
175 detail::MeasurementIndex measurementIndex(uncalibratedMeasurementContainers.size());
176 for (std::size_t icontainer = 0; icontainer < uncalibratedMeasurementContainers.size(); ++icontainer) {
177 measurementIndex.addMeasurements(*uncalibratedMeasurementContainers[icontainer]);
178 }
179
180 detail::TrackFindingMeasurements measurements(uncalibratedMeasurementContainers.size());
181 for (std::size_t icontainer = 0; icontainer < uncalibratedMeasurementContainers.size(); ++icontainer) {
182 ATH_MSG_DEBUG("Create " << uncalibratedMeasurementContainers[icontainer]->size() << " source links from measurements in " << m_uncalibratedMeasurementContainerKeys[icontainer].key());
183 measurements.addMeasurements(icontainer,
184 *uncalibratedMeasurementContainers[icontainer],
185 *m_trackingGeometrySvc->surfaceIdMap(),
186 m_forceTrackOnSeed ? &measurementIndex : nullptr);
187 }
188
189 ATH_MSG_DEBUG("measurement index size = " << measurementIndex.size());
190
191 ATH_CHECK( propagateDetectorElementStatusToMeasurements(*(volumeIdToDetectorElementCollMap.cptr()), det_el_status_arr, measurements) );
192
193 if (m_trackStatePrinter.isSet()) {
194 m_trackStatePrinter->printMeasurements(ctx, uncalibratedMeasurementContainers, measurements.measurementOffsets());
195 }
196
197 detail::DuplicateSeedDetector duplicateSeedDetector(total_seeds,
198 m_seedMeasOffset.value(),
200 for (std::size_t icontainer = 0; icontainer < seedContainers.size(); ++icontainer)
201 {
202 duplicateSeedDetector.addSeeds(icontainer, *seedContainers[icontainer], measurementIndex,
203 m_paramEstimationTool[icontainer]->spacePointIndicesFun());
204 }
205
206 // Get Beam pos and make pSurface
207 SG::ReadCondHandle<InDet::BeamSpotData> beamSpotHandle = SG::makeHandle( m_beamSpotKey, ctx );
208 ATH_CHECK( beamSpotHandle.isValid() );
209 const InDet::BeamSpotData* beamSpotData = beamSpotHandle.cptr();
210
211 // Beam Spot Position
212 Acts::Vector3 beamPos( beamSpotData->beamPos().x() * Acts::UnitConstants::mm,
213 beamSpotData->beamPos().y() * Acts::UnitConstants::mm,
214 0 );
215
216 // Construct a perigee surface as the target surface
217 std::shared_ptr<Acts::PerigeeSurface> pSurface = Acts::Surface::makeShared<Acts::PerigeeSurface>(beamPos);
218
219 // ================================================== //
220 // ===================== CONDS ====================== //
221 // ================================================== //
222
223
224 // ================================================== //
225 // ===================== COMPUTATION ================ //
226 // ================================================== //
227 Acts::VectorTrackContainer actsTrackBackend;
228 Acts::VectorMultiTrajectory actsTrackStateBackend;
229 {
230 std::lock_guard<std::mutex> lock( m_mutex );
231 actsTrackBackend.reserve(m_nTrackReserve);
232 actsTrackStateBackend.reserve(m_nTrackStateReserve);
233 }
234 detail::RecoTrackContainer actsTracksContainer(actsTrackBackend,
235 actsTrackStateBackend);
236
237 addCountsAndProperties(actsTracksContainer, m_addCounts.value());
238
239 detail::ExpectedLayerPatternHelper::add(actsTracksContainer);
240
241 EventStats event_stat;
242 event_stat.resize(m_stat.size());
243
244 DetectorContextHolder detContext {
245 .geometry = m_ctxProvider.getGeometryContext(ctx),
246 .magField = m_ctxProvider.getMagneticFieldContext(ctx),
247 // CalibrationContext converter not implemented yet.
248 .calib = m_ctxProvider.getCalibrationContext(ctx)
249 };
250
251 detail::SharedHitCounter sharedHits;
252 std::optional<std::vector<unsigned int>> trackCategories;
253 if (m_ambi) trackCategories.emplace(); // only needed if m_ambiStrategy == END_OF_TF
254
255 // Perform the track finding for all initial parameters.
256 for (std::size_t icontainer = 0; icontainer < seedContainers.size(); ++icontainer)
257 {
259 detContext,
260 measurements,
261 measurementIndex,
262 sharedHits,
263 duplicateSeedDetector,
264 *seedContainers.at(icontainer),
265 actsTracksContainer,
266 icontainer,
267 icontainer < m_seedLabels.size() ? m_seedLabels[icontainer].c_str() : m_seedContainerKeys[icontainer].key().c_str(),
268 event_stat,
269 m_storeDestinies ? destinies.at(icontainer).get() : nullptr,
270 *pSurface.get(),
271 trackCategories));
272 }
273
274 ATH_MSG_DEBUG(" \\__ Created " << actsTracksContainer.size() << " tracks");
275
276 mon_nTracks = actsTracksContainer.size();
277
278
279 // ================================================== //
280 // ===================== OUTPUTS ==================== //
281 // ================================================== //
282
283 // Save the seed destinies
284 if (m_storeDestinies) {
285 for (std::size_t i(0); i<destinies.size(); ++i) {
286 const SG::WriteHandleKey< std::vector<int> >& writeKey = m_seedDestiny.at(i);
287 // make the handle and record
288 SG::WriteHandle< std::vector<int> > destinyHandle = SG::makeHandle( writeKey, ctx );
289 ATH_CHECK( destinyHandle.record( std::move( destinies.at(i) ) ) );
290 }
291 }
292
293 {
294 std::lock_guard<std::mutex> lock( m_mutex );
295 // update the reserve space
296 if (actsTrackBackend.size() > m_nTrackReserve) {
297 m_nTrackReserve = static_cast<std::size_t>( std::ceil(m_memorySafetyMargin * actsTrackBackend.size()) );
298 }
299 if (actsTrackStateBackend.size() > m_nTrackStateReserve) {
300 m_nTrackStateReserve = static_cast<std::size_t>( std::ceil(m_memorySafetyMargin * actsTrackStateBackend.size()) );
301 }
302 }
303
304 // handle the ambiguity
305 // we potentially need to short list the track candidates and make some copies
306 if (not m_ambi) {
307 copyStats(event_stat);
308 // no need to shortlist anything. just use the actsTracksContainer
309 ATH_MSG_DEBUG(" \\__ Created " << actsTracksContainer.size() << " resolved tracks");
311 std::move(actsTrackBackend),
312 std::move(actsTrackStateBackend) ) );
313 return StatusCode::SUCCESS;
314 }
315
316 // we have asked for the ambi
317 // we start by shortlisting the container
318 Acts::VectorTrackContainer resolvedTrackBackend;
319 Acts::VectorMultiTrajectory resolvedTrackStateBackend;
320 resolvedTrackBackend.reserve( actsTrackBackend.size() );
321 resolvedTrackStateBackend.reserve( actsTrackStateBackend.size() );
322 detail::RecoTrackContainer resolvedTracksContainer(resolvedTrackBackend, resolvedTrackStateBackend);
323 detail::ExpectedLayerPatternHelper::add(resolvedTracksContainer);
324
325 addCountsAndProperties(resolvedTracksContainer, m_addCounts.value());
326
327 // Start ambiguity resolution
328 Acts::GreedyAmbiguityResolution::State state;
329 m_ambi->computeInitialState(actsTracksContainer, state, &detail::sourceLinkHash,
331 m_ambi->resolve(state);
332
333 // Copy the resolved tracks into the output container
334 // We need a different sharedHits counter here because it saves the track index
335 // and since I ran the resolving the track indices changed.
336 detail::SharedHitCounter sharedHits_forFinalAmbi;
337
338 // shotlist
339 for (auto iTrack : state.selectedTracks) {
340 int actsTrackIndex = state.trackTips.at(iTrack);
341 auto destProxy = resolvedTracksContainer.makeTrack();
342 destProxy.copyFrom(actsTracksContainer.getTrack(actsTrackIndex));
343
344 unsigned int category_i = trackCategories->at(actsTrackIndex);
345 ++event_stat[category_i][kNResolvedTracks];
346
347 if (m_countSharedHits) {
348 auto [nShared, nBadTrackMeasurements] = sharedHits_forFinalAmbi.computeSharedHits(destProxy, resolvedTracksContainer, measurementIndex);
349 if (nBadTrackMeasurements > 0)
350 ATH_MSG_ERROR("computeSharedHits: " << nBadTrackMeasurements << " track measurements not found in input track");
351 }
352 } // loop on tracks
353
354 ATH_MSG_DEBUG(" \\__ Created " << resolvedTracksContainer.size() << " resolved tracks");
355 copyStats(event_stat);
356
358 std::move(resolvedTrackBackend),
359 std::move(resolvedTrackStateBackend)) );
360
361 return StatusCode::SUCCESS;
362 }
#define ATH_CHECK
Evaluate an expression and check for errors.
size_t size() const
Number of registered mappings.
SG::WriteHandleKeyArray< std::vector< int > > m_seedDestiny
StatusCode findTracks(const EventContext &ctx, const DetectorContextHolder &detContext, const detail::TrackFindingMeasurements &measurements, const detail::MeasurementIndex &measurementIndex, detail::SharedHitCounter &sharedHits, detail::DuplicateSeedDetector &duplicateSeedDetector, const ActsTrk::SeedContainer &seeds, detail::RecoTrackContainer &actsTracksContainer, std::size_t seedCollectionIndex, const char *seedType, EventStats &event_stat, std::vector< int > *destiny, const Acts::PerigeeSurface &pSurface, std::optional< std::vector< unsigned int > > &trackCategories) const
invoke track finding procedure
Gaudi::Property< float > m_memorySafetyMargin
SG::ReadHandleKeyArray< xAOD::UncalibratedMeasurementContainer > m_uncalibratedMeasurementContainerKeys
SG::ReadHandleKeyArray< ActsTrk::SeedContainer > m_seedContainerKeys
SG::ReadCondHandleKey< ActsTrk::ActsVolumeIdToDetectorElementCollectionMap > m_volumeIdToDetectorElementCollMapKey
std::optional< Acts::GreedyAmbiguityResolution > m_ambi
StatusCode propagateDetectorElementStatusToMeasurements(const ActsTrk::ActsVolumeIdToDetectorElementCollectionMap &volume_id_to_det_el_coll, const std::vector< const InDet::SiDetectorElementStatus * > &det_el_status_arr, detail::TrackFindingMeasurements &measurements) const
Gaudi::Property< unsigned int > m_seedMeasOffset
StatusCode storeTrackCollectionToStoreGate(const EventContext &ctx, Acts::VectorTrackContainer &&originalTrackBackend, Acts::VectorMultiTrajectory &&originalTrackStateBackend) const
Gaudi::Property< bool > m_forceTrackOnSeed
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
ToolHandleArray< ActsTrk::ITrackParamsEstimationTool > m_paramEstimationTool
SG::ReadHandleKeyArray< InDet::SiDetectorElementStatus > m_detElStatus
void copyStats(const EventStats &event_stat) const
ToolHandle< GenericMonitoringTool > m_monTool
StatusCode getContainersFromKeys(const EventContext &ctx, HandleArrayKeyType &handleKeyArray, std::vector< const ContainerType * > &outputContainers, std::size_t &sum) const
Take the array of handle keys and for each key retrieve containers, then append them to the output ve...
static void addCountsAndProperties(detail::RecoTrackContainer &tracksContainer, bool add_counts)
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc
ContextUtility m_ctxProvider
Utility to fetch the geometry, magnetic field and calibration context in the event.
std::vector< std::array< unsigned int, kNStat > > EventStats
Gaudi::Property< std::vector< std::string > > m_seedLabels
const Amg::Vector3D & beamPos() const noexcept
const_pointer_type cptr()
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
bool sourceLinkEquality(const Acts::SourceLink &a, const Acts::SourceLink &b)
Returns whether two source links are equal.
std::size_t sourceLinkHash(const Acts::SourceLink &sl)
Calculates the source link hash which is evaluated to be the identifier of the underlying sourcelink.
Acts::TrackContainer< Acts::VectorTrackContainer, Acts::VectorMultiTrajectory > RecoTrackContainer
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
timer(name, disabled=False)
static void add(track_container_t &trackContainer)

◆ 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.

◆ extrapolateTrackToReferenceSurface()

Acts::Result< void > ActsTrk::TrackFindingAlg::extrapolateTrackToReferenceSurface ( const DetectorContextHolder & detContext,
detail::RecoTrackContainerProxy & track,
const Acts::Surface & referenceSurface,
const detail::Extrapolator & propagator,
Acts::TrackExtrapolationStrategy strategy,
ExpectedLayerPattern & expectedLayerPattern ) const
private

Definition at line 828 of file TrackFindingAlg.cxx.

834 {
835
836 Acts::PropagatorOptions<detail::Stepper::Options, detail::Navigator::Options,
837 Acts::ActorList<Acts::MaterialInteractor, Collector>>
838 options(detContext.geometry, detContext.magField);
839
840 auto findResult = findTrackStateForExtrapolation(
841 options.geoContext, track, referenceSurface, strategy, logger());
842
843 if (!findResult.ok()) {
844 ATH_MSG_WARNING("Failed to find track state for extrapolation");
845 return findResult.error();
846 }
847
848 auto &[trackState, distance] = *findResult;
849
850 options.direction = Acts::Direction::fromScalarZeroAsPositive(distance);
851
852 Acts::BoundTrackParameters parameters = track.createParametersFromState(trackState);
853 ATH_MSG_VERBOSE("Extrapolating track to reference surface at distance "
854 << distance << " with direction " << options.direction
855 << " with starting parameters " << parameters);
856
857 auto state = propagator.makeState<decltype(options), Acts::ForcedSurfaceReached>(options);
858 ExpectedLayerPattern*& collectorResult = state.get<TrackFindingAlg::ExpectedLayerPattern*>();
859 collectorResult = &expectedLayerPattern;
860
861 auto initRes = propagator.initialize<decltype(state), Acts::ForcedSurfaceReached>(
862 state, parameters, &referenceSurface);
863 if(!initRes.ok()) {
864 ATH_MSG_WARNING("Failed to initialize propagation state: " << initRes.error().message());
865 return initRes.error();
866 }
867
868
869 auto propagateOnlyResult =
870 propagator.propagate(state);
871
872 if (!propagateOnlyResult.ok()) {
873 ATH_MSG_WARNING("Failed to extrapolate track: " << propagateOnlyResult.error().message());
874 return propagateOnlyResult.error();
875 }
876
877 auto propagateResult = propagator.makeResult(
878 std::move(state), propagateOnlyResult, options, true, &referenceSurface);
879
880 if (!propagateResult.ok()) {
881 ATH_MSG_WARNING("Failed to extrapolate track: " << propagateResult.error().message());
882 return propagateResult.error();
883 }
884
885 track.setReferenceSurface(referenceSurface.getSharedPtr());
886 track.parameters() = propagateResult->endParameters.value().parameters();
887 track.covariance() =
888 propagateResult->endParameters.value().covariance().value();
889
890 return Acts::Result<void>::success();
891 }
std::array< unsigned int, 4 > ExpectedLayerPattern
const Acts::Logger & logger() const
Private access to the logger.
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space

◆ 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:

◆ finalize()

StatusCode ActsTrk::TrackFindingAlg::finalize ( )
overridevirtual

Reimplemented from ActsTrk::TrackFindingBaseAlg.

Definition at line 120 of file TrackFindingAlg.cxx.

120 {
122 return StatusCode::SUCCESS;
123 }
virtual StatusCode finalize() override

◆ findTracks()

StatusCode ActsTrk::TrackFindingAlg::findTracks ( const EventContext & ctx,
const DetectorContextHolder & detContext,
const detail::TrackFindingMeasurements & measurements,
const detail::MeasurementIndex & measurementIndex,
detail::SharedHitCounter & sharedHits,
detail::DuplicateSeedDetector & duplicateSeedDetector,
const ActsTrk::SeedContainer & seeds,
detail::RecoTrackContainer & actsTracksContainer,
std::size_t seedCollectionIndex,
const char * seedType,
EventStats & event_stat,
std::vector< int > * destiny,
const Acts::PerigeeSurface & pSurface,
std::optional< std::vector< unsigned int > > & trackCategories ) const
private

invoke track finding procedure

Parameters
ctx- event context
detectorElementToGeoId- map Trk detector element to Acts Geometry id
measurements- measurements container used in MeasurementSelector
sharedHits- measurements container used for shared hit counting
duplicateSeedDetector- duplicate seed detector
seeds- spacepoint triplet seeds
detElements- Trk detector elements
actsTracksContainer- output tracks
seedCollectionIndex- index of this collection of seeds
seedType- name of type of seeds (strip or pixel) - only used for messages
event_stat- stats, just for this event

Definition at line 383 of file TrackFindingAlg.cxx.

397 {
398 ATH_MSG_DEBUG(name() << "::" << __FUNCTION__);
399
400 auto [options, secondOptions, measurementSelector] = getDefaultOptions(ctx, detContext, measurements, &pSurface);
401
402 // ActsTrk::MutableTrackContainer tracksContainerTemp;
403 Acts::VectorTrackContainer trackBackend;
404 Acts::VectorMultiTrajectory trackStateBackend;
405 detail::RecoTrackContainer tracksContainerTemp(trackBackend, trackStateBackend);
406
407 addCountsAndProperties(tracksContainerTemp, m_addCounts.value());
408
409 detail::ExpectedLayerPatternHelper::add(tracksContainerTemp);
410
411 std::size_t category_i = 0;
412 const auto &trackSelectorCfg = trackFinder().trackSelector.config();
413 auto stopBranchProxy = [&](const detail::RecoTrackContainer::TrackProxy &track,
414 const detail::RecoTrackContainer::TrackStateProxy &trackState) -> BranchStopperResult {
415 return stopBranch(track, trackState, trackSelectorCfg, detContext.geometry, measurementIndex, typeIndex, event_stat[category_i]);
416 };
417 options.extensions.branchStopper.connect(stopBranchProxy);
418
419 // Without a stopper the second pass runs past the last findable hit, and a
420 // stray hit beyond the gap turns the layers it skipped into interior holes
421 // that trimTrack cannot remove. Stop it there instead and let addTrack
422 // extrapolate to the perigee. It must not drop: the first pass already
423 // found this track.
424 auto stopSecondBranchProxy = [&](const detail::RecoTrackContainer::TrackProxy &track,
425 const detail::RecoTrackContainer::TrackStateProxy &trackState) -> BranchStopperResult {
427 stopBranch(track, trackState, trackSelectorCfg, detContext.geometry, measurementIndex, typeIndex, event_stat[category_i]);
428 return result == BranchStopperResult::StopAndDrop ? BranchStopperResult::StopAndKeep : result;
429 };
431 secondOptions.extensions.branchStopper.connect(stopSecondBranchProxy);
432 }
433
434 Acts::PropagatorOptions<detail::Stepper::Options, detail::Navigator::Options,
435 Acts::ActorList<Acts::MaterialInteractor>>
436 extrapolationOptions(detContext.geometry, detContext.magField);
437
438 Acts::TrackExtrapolationStrategy extrapolationStrategy =
439 Acts::TrackExtrapolationStrategy::first;
440
441 // Perform the track finding for all initial parameters
442 ATH_MSG_DEBUG("Invoke track finding with " << seeds.size() << ' ' << seedType << " seeds.");
443
444
445 std::size_t nPrinted = 0;
446
447 // Function for Estimate Track Parameters
448 auto retrieveSurfaceFunction =
449 [detectorElementToGeometryIdMapPtr=m_trackingGeometrySvc->surfaceIdMap(),
450 actsTrackingGeometryPtr=m_trackingGeometrySvc->trackingGeometry().get()] (const ActsTrk::Seed& seed) -> const Acts::Surface& {
451 const xAOD::SpacePoint* sp = seed.sp().front();
452 const xAOD::UncalibratedMeasurement* meas = sp->measurements().front();
453 const auto geoid_iter = detectorElementToGeometryIdMapPtr->find(ActsTrk::makeDetectorElementKey(meas->type(), meas->identifierHash()));
454 if (geoid_iter == detectorElementToGeometryIdMapPtr->end()) {
455 throw std::runtime_error("measurement not linked to Acts surface.");
456 }
457 const Acts::Surface *surface = DetectorElementToActsGeometryIdMap::getSurface(*geoid_iter);
458 if (surface == nullptr) {
459 surface = actsTrackingGeometryPtr->findSurface( DetectorElementToActsGeometryIdMap::getValue(*geoid_iter) );
460 }
461 assert(surface);
462 return *surface;
463 };
464
465
466
467 // Loop over the track finding results for all initial parameters
468 for (unsigned int iseed = 0; iseed < seeds.size(); ++iseed)
469 {
470 // Get the seed
471 const ActsTrk::Seed seed = seeds[iseed];
472
473 category_i = typeIndex * (m_statEtaBins.size() + 1);
474 tracksContainerTemp.clear();
475
476 // Check if the seed is a duplicate seed
477 const bool isDupSeed = duplicateSeedDetector.isDuplicate(typeIndex, iseed);
478 if (isDupSeed) {
479 ATH_MSG_DEBUG("skip " << seedType << " seed " << iseed << " - already found");
480 category_i = getSeedCategory(typeIndex, seed);
481 ++event_stat[category_i][kNTotalSeeds];
482 ++event_stat[category_i][kNDuplicateSeeds];
483 if (m_storeDestinies) destiny->at(iseed) = DestinyType::DUPLICATE;
484 if (!m_trackStatePrinter.isSet()) continue; // delay continue to estimate track parms for TrackStatePrinter?
485 }
486
487 // Get first estimate of parameters from the seed
488 const auto& [optTrackParams, estimationStatus] =
489 m_paramEstimationTool[typeIndex]->estimateTrackParameters(seed,
490 detContext.geometry,
491 detContext.magField,
492 detContext.calib,
493 retrieveSurfaceFunction);
494
495 if (!optTrackParams) {
496 ATH_MSG_DEBUG("Failed to estimate track parameters for seed " << iseed);
497 if (!isDupSeed) {
498 category_i = getSeedCategory(typeIndex, seed);
499 ++event_stat[category_i][kNTotalSeeds];
500 ++event_stat[category_i][kNNoEstimatedParams];
501 if (m_storeDestinies) destiny->at(iseed) = DestinyType::FAILURE;
502 }
503 continue;
504 }
505
506 printSeed(iseed, detContext, seeds, *optTrackParams, measurementIndex, nPrinted, seedType);
507 if (isDupSeed) continue; // skip now if not done before
508
509 double etaInitial = -std::log(std::tan(0.5 * optTrackParams->theta()));
510 category_i = getStatCategory(typeIndex, etaInitial);
511 ++event_stat[category_i][kNTotalSeeds]; // also updated for duplicate seeds
512 ++event_stat[category_i][kNUsedSeeds];
513
514 if (estimationStatus != ITrackParamsEstimationTool::kNoSeedRefit) {
515 if (estimationStatus == ITrackParamsEstimationTool::kSeedRefitFailed) {
516 ++event_stat[category_i][kNSeedRefitFailure];
517 } else {
518 // Check pTmin requirement
519 const auto &cutSet = getCuts(etaInitial);
520 if (optTrackParams->transverseMomentum() < cutSet.ptMin * m_seedRefitPtMinFactor) {
521 ATH_MSG_VERBOSE("min pt requirement not satisfied after param refinement: pt min is " << cutSet.ptMin << " but Refined params have pt of " << optTrackParams->transverseMomentum());
522 ++event_stat[category_i][kNRejectedRefinedSeeds];
523 if (m_storeDestinies) destiny->at(iseed) = DestinyType::FAILURE;
524 continue;
525 }
526 }
527 }
528
529 xAOD::TrackFitter current_fitter = xAOD::KalmanFitter;
530 // @TODO introduce additional enums to distinguish Acts CKF from other implementations?
531
532 auto measurementRangesForced =
533 m_forceTrackOnSeed ? measurements.createMeasurementRangesForced(seed, measurementIndex)
534 : std::unique_ptr<ActsTrk::detail::MeasurementRangeListFlat>();
535 measurementSelector->setMeasurementRangesForced(measurementRangesForced.get());
536 if (measurementRangesForced)
537 event_stat[category_i][kNForcedSeedMeasurements] += measurementRangesForced->size();
538
539 // Get the Acts tracks, given this seed
540 Acts::Result<std::vector<TrkProxy> > result =
541 trackFinder().ckf.findTracks(*optTrackParams, options, tracksContainerTemp);
542
543 // The result for this seed
544 if (not result.ok()) {
545 ATH_MSG_WARNING("Track finding failed for " << seedType << " seed " << iseed << " with error" << result.error());
546 if (m_storeDestinies) destiny->at(iseed) = DestinyType::FAILURE;
547 continue;
548 }
549 auto &tracksForSeed = result.value();
550
551
552
553 std::size_t ntracks = 0ul;
554
555 // loop on the tracks we have just found from the seed
556 std::size_t nfirst = 0;
557 for (TrkProxy &firstTrack : tracksForSeed) {
558 ActsTrk::TrackContainerUtils::setFitterType(firstTrack,current_fitter);
559 // smoothing
560 auto smoothingResult = Acts::smoothTrack(detContext.geometry, firstTrack, logger(), Acts::MbfSmoother());
561 if (!smoothingResult.ok()) {
562 ATH_MSG_DEBUG("Smoothing for seed "
563 << iseed << " and first track " << firstTrack.index()
564 << " failed with error " << smoothingResult.error());
565 continue;
566 }
567
568 // if no two way, just add the track and move on
569 if (not m_doTwoWay) {
570 // add the track to the collection
571 ATH_CHECK( addTrack(detContext,
572 firstTrack,
573 pSurface,
574 extrapolationStrategy,
575 sharedHits,
576 actsTracksContainer,
577 measurementIndex,
578 tracksContainerTemp,
579 duplicateSeedDetector,
580 destiny,
581 event_stat,
582 ntracks,
583 iseed,
584 category_i,
585 seedType,
586 trackCategories) );
587 ++nfirst;
588 continue;
589 }
590
591 // TWO WAY STARTS HERE
592 // We need the first measurement of the track
593 std::optional<detail::RecoTrackStateContainerProxy> firstMeas = getFirstMeasurementFromTrack(firstTrack);
594 // we are supposed to find a measurement
595 if (not firstMeas.has_value()) {
596 ATH_MSG_ERROR("Could not retrieve first measurement from track proxy. Is it ill-formed?");
597 return StatusCode::FAILURE;
598 }
600
601 // Get the tracks from the second track finding
602 std::vector<typename detail::RecoTrackContainer::TrackProxy> secondTracksForSeed =
603 doTwoWayTrackFinding(firstMeasurement,
604 firstTrack,
605 tracksContainerTemp,
606 secondOptions);
607
608 if ( secondTracksForSeed.empty() ) {
609 ATH_MSG_DEBUG("No viable result from second track finding for " << seedType << " seed " << iseed << " track " << nfirst);
610 ++event_stat[category_i][kNoSecond];
611 ATH_CHECK( addTrack(detContext,
612 firstTrack,
613 pSurface,
614 extrapolationStrategy,
615 sharedHits,
616 actsTracksContainer,
617 measurementIndex,
618 tracksContainerTemp,
619 duplicateSeedDetector,
620 destiny,
621 event_stat,
622 ntracks,
623 iseed,
624 category_i,
625 seedType,
626 trackCategories) );
627 }
628
629 // need to add tracks here
630 // do the stiching
631 // store the original previous state to restore it later
632 auto originalFirstMeasurementPrevious = firstMeasurement.previous();
633 for (auto &secondTrack : secondTracksForSeed) {
634 secondTrack.reverseTrackStates(true);
635
636 firstMeasurement.previous() = secondTrack.outermostTrackState().index();
637 secondTrack.tipIndex() = firstTrack.tipIndex();
638
639 // The second pass extrapolates to the perigee, and only the
640 // perigee holds every measurement once. Do not smooth the stitched
641 // track: the second pass starts from the smoothed first pass, so a
642 // smoother counts the first pass twice.
643
644 // Add track to collection
645 ATH_CHECK( addTrack(detContext,
646 secondTrack,
647 pSurface,
648 extrapolationStrategy,
649 sharedHits,
650 actsTracksContainer,
651 measurementIndex,
652 tracksContainerTemp,
653 duplicateSeedDetector,
654 destiny,
655 event_stat,
656 ntracks,
657 iseed,
658 category_i,
659 seedType,
660 trackCategories) );
661 } // loop on tracks
662
663 // finish the stiching
664 // restore the original previous state for the first track
665 firstMeasurement.previous() = originalFirstMeasurementPrevious;
666
667 nfirst++;
668 } // loop on tracks from seed
669
670 if (m_storeDestinies) {
671 if (ntracks == 0) {
672 destiny->at(iseed) = DestinyType::FAILURE;
673 } else {
674 destiny->at(iseed) = DestinyType::SUCCEED;
675 }
676 }
677
678 if (ntracks == 0) {
679 ATH_MSG_DEBUG("Track finding found no track candidates for " << seedType << " seed " << iseed);
680 ++event_stat[category_i][kNoTrack];
681 } else if (ntracks >= 2) {
682 ++event_stat[category_i][kMultipleBranches];
683 }
684
685 if (m_trackStatePrinter.isSet())
686 std::cout << std::flush;
687 } // loop on seeds
688
689 ATH_MSG_DEBUG("Completed " << seedType << " track finding with " << computeStatSum(typeIndex, kNOutputTracks, event_stat) << " track candidates.");
690
691 return StatusCode::SUCCESS;
692 }
static Double_t sp
void printSeed(unsigned int iseed, const DetectorContextHolder &detContext, const ActsTrk::SeedContainer &seeds, const Acts::BoundTrackParameters &seedParameters, const detail::MeasurementIndex &measurementIndex, std::size_t &nPrinted, const char *seedType, bool isKF=false) const
StatusCode addTrack(const DetectorContextHolder &detContext, detail::RecoTrackContainerProxy &track, const Acts::Surface &pSurface, const Acts::TrackExtrapolationStrategy &extrapolationStrategy, detail::SharedHitCounter &sharedHits, detail::RecoTrackContainer &actsTracksContainer, const detail::MeasurementIndex &measurementIndex, const detail::RecoTrackContainer &tracksContainerTemp, detail::DuplicateSeedDetector &duplicateSeedDetector, std::vector< int > *destiny, EventStats &event_stat, std::size_t &ntracks, std::size_t iseed, std::size_t category_i, const char *seedType, std::optional< std::vector< unsigned int > > &trackCategories) const
std::size_t getSeedCategory(std::size_t typeIndex, const ActsTrk::Seed &seed) const
Gaudi::Property< std::vector< float > > m_statEtaBins
Gaudi::Property< double > m_seedRefitPtMinFactor
detail::RecoTrackContainer::TrackProxy TrkProxy
std::size_t getStatCategory(std::size_t seed_collection, float eta) const
std::vector< typename detail::RecoTrackContainer::TrackProxy > doTwoWayTrackFinding(const detail::RecoTrackStateContainerProxy &firstMeasurement, const TrkProxy &trackProxy, detail::RecoTrackContainer &tracksContainerTemp, const TrackFinderOptions &options) const
Perform two-way track finding.
std::size_t computeStatSum(std::size_t seed_collection, EStat counter_i, const EventStats &stat) const
BranchStopperResult stopBranch(const detail::RecoTrackContainer::TrackProxy &track, const detail::RecoTrackContainer::TrackStateProxy &trackState, const Acts::TrackSelector::EtaBinnedConfig &trackSelectorCfg, const Acts::GeometryContext &tgContext, const detail::MeasurementIndex &measurementIndex, const std::size_t typeIndex, EventStats::value_type &event_stat_category_i) const
Branch stopper.
const Acts::TrackSelector::Config & getCuts(double eta) const
Retrieves track selector configuration for given eta value.
TrackFindingDefaultOptions getDefaultOptions(const EventContext &ctx, const DetectorContextHolder &detContext, const detail::TrackFindingMeasurements &measurements, const Acts::PerigeeSurface *pSurface) const
Get CKF options for first and second pass + pointer to MeasurementSelector.
Gaudi::Property< bool > m_doSecondPassBranchStopper
Acts::CombinatorialKalmanFilterBranchStopperResult BranchStopperResult
DetectorIDHashType identifierHash() const
Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash).
virtual xAOD::UncalibMeasType type() const =0
Returns the type of the measurement type as a simple enumeration.
RecoTrackStateContainer::TrackStateProxy RecoTrackStateContainerProxy
DetectorElementKey makeDetectorElementKey(xAOD::UncalibMeasType meas_type, unsigned int identifier_hash)
unsigned long ul
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.
TrackFitter
Enums to identify who created this track and which properties does it have.
@ KalmanFitter
tracks produced by the Kalman Fitter
static const Acts::GeometryIdentifier & getValue(const value_type &element)
static const Acts::Surface * getSurface(const value_type &element)
Surface of the detector element, or nullptr if none was stored.
std::size_t size() const noexcept
static void setFitterType(trackproxy_t &trackProxy, xAOD::TrackFitter fitterType)
set fitter type of a track

◆ getContainersFromKeys()

template<class HandleArrayKeyType, class ContainerType>
StatusCode ActsTrk::TrackFindingBaseAlg::getContainersFromKeys ( const EventContext & ctx,
HandleArrayKeyType & handleKeyArray,
std::vector< const ContainerType * > & outputContainers,
std::size_t & sum ) const
protectedinherited

Take the array of handle keys and for each key retrieve containers, then append them to the output vector.

Template Parameters
HandleArrayKeyTypeType of the list of handle keys
ContainerTypeType of the output container
Parameters
ctxEvent context
handleKeyArrayList of handle keys
outputContainersVector of output containers
sumNumber of total elements in all retrieved containers
Returns
Status code

◆ getCuts()

const Acts::TrackSelector::Config & ActsTrk::TrackFindingBaseAlg::getCuts ( double eta) const
protectedinherited

Retrieves track selector configuration for given eta value.

Parameters
etatrack candidate eta value

Definition at line 258 of file TrackFindingBaseAlg.cxx.

258 {
259 const auto &trackSelectorCfg = trackFinder().trackSelector.config();
260 // return the last bin for |eta|>=4 or nan
261 return (!(std::abs(eta) < trackSelectorCfg.absEtaEdges.back())) ? trackSelectorCfg.cutSets.back()
262 : (std::abs(eta) < trackSelectorCfg.absEtaEdges.front()) ? trackSelectorCfg.cutSets.front()
263 : trackSelectorCfg.getCuts(eta);
264 };
Scalar eta() const
pseudorapidity method

◆ getDefaultOptions()

TrackFindingBaseAlg::TrackFindingDefaultOptions ActsTrk::TrackFindingBaseAlg::getDefaultOptions ( const EventContext & ctx,
const DetectorContextHolder & detContext,
const detail::TrackFindingMeasurements & measurements,
const Acts::PerigeeSurface * pSurface ) const
protectedinherited

Get CKF options for first and second pass + pointer to MeasurementSelector.

Parameters
detContextObject holding detector-related context
measurements<easurements container used in MeasurementSelector
pSurfaceRaw pointer to perigee surface

Definition at line 227 of file TrackFindingBaseAlg.cxx.

231 {
232 Acts::PropagatorPlainOptions plainOptions{detContext.geometry, detContext.magField};
233 plainOptions.maxSteps = m_maxPropagationStep;
234 plainOptions.direction = Acts::Direction::Forward();
235 plainOptions.endOfWorldVolumeIds = m_endOfWorldVolumeIds;
236
237 // Set the CombinatorialKalmanFilter options
238 TrackFinderOptions options(detContext.geometry, detContext.magField, detContext.calib,
239 trackFinder().ckfExtensions, plainOptions);
240 options.recordMaterialStates = m_recordMaterialStates;
241
242 std::unique_ptr<ActsTrk::IMeasurementSelector> measurementSelector = setMeasurementSelector(ctx, measurements, options);
243
244 Acts::PropagatorPlainOptions plainSecondOptions{detContext.geometry, detContext.magField};
245 plainSecondOptions.maxSteps = m_maxPropagationStep;
246 plainSecondOptions.direction = plainOptions.direction.invert();
247 plainSecondOptions.endOfWorldVolumeIds = m_endOfWorldVolumeIds;
248
249 TrackFinderOptions secondOptions(detContext.geometry, detContext.magField, detContext.calib,
250 options.extensions, plainSecondOptions);
251 secondOptions.targetSurface = pSurface;
252 secondOptions.skipPrePropagationUpdate = true;
253 secondOptions.recordMaterialStates = m_recordMaterialStates;
254
255 return {std::move(options), std::move(secondOptions), std::move(measurementSelector)};
256 };
Gaudi::Property< unsigned int > m_maxPropagationStep
Gaudi::Property< std::vector< std::uint32_t > > m_endOfWorldVolumeIds
Gaudi::Property< bool > m_recordMaterialStates
Acts::CombinatorialKalmanFilterOptions< detail::RecoTrackContainer > TrackFinderOptions
std::unique_ptr< ActsTrk::IMeasurementSelector > setMeasurementSelector(const EventContext &ctx, const detail::TrackFindingMeasurements &measurements, TrackFinderOptions &options) const
Setup and attach measurement selector to KF options.

◆ getSeedCategory()

std::size_t ActsTrk::TrackFindingAlg::getSeedCategory ( std::size_t typeIndex,
const ActsTrk::Seed & seed ) const
private

Definition at line 775 of file TrackFindingAlg.cxx.

777 {
778 const xAOD::SpacePoint* sp = seed.sp().front();
779 const xAOD::SpacePoint::ConstVectorMap pos = sp->globalPosition();
780 double etaSeed = std::atanh(pos[2] / pos.norm());
781 return getStatCategory(typeIndex, etaSeed);
782 }
Eigen::Map< const Eigen::Matrix< float, 3, 1 > > ConstVectorMap

◆ getStatCategory()

std::size_t ActsTrk::TrackFindingBaseAlg::getStatCategory ( std::size_t seed_collection,
float eta ) const
protectedinherited

Definition at line 816 of file TrackFindingBaseAlg.cxx.

816 {
817 std::vector<float>::const_iterator bin_iter = std::upper_bound(m_statEtaBins.begin(),
818 m_statEtaBins.end(),
819 m_useAbsEtaForStat ? std::abs(eta) : eta);
820 std::size_t category_i = seed_collection * seedCollectionStride() + static_cast<std::size_t>(bin_iter - m_statEtaBins.begin());
821 assert(category_i < m_stat.size());
822 return category_i;
823 }

◆ initCounts()

void ActsTrk::TrackFindingBaseAlg::initCounts ( const detail::RecoTrackContainer::TrackProxy & track)
staticprotectedinherited

Definition at line 452 of file TrackFindingBaseAlg.cxx.

453 {
454 s_branchState.nPixelHits(track) = 0;
455 s_branchState.nStripHits(track) = 0;
456 s_branchState.nHgtdHits(track) = 0;
457 s_branchState.nPixelHoles(track) = 0;
458 s_branchState.nStripHoles(track) = 0;
459 s_branchState.nHgtdHoles(track) = 0;
460 s_branchState.nPixelOutliers(track) = 0;
461 s_branchState.nStripOutliers(track) = 0;
462 s_branchState.nHgtdOutliers(track) = 0;
463 }

◆ initialize()

StatusCode ActsTrk::TrackFindingAlg::initialize ( )
overridevirtual

Reimplemented from ActsTrk::TrackFindingBaseAlg.

Definition at line 70 of file TrackFindingAlg.cxx.

71 {
72 ATH_MSG_INFO("Initializing " << name() << " ... ");
73
83
85 ATH_CHECK(m_seedContainerKeys.initialize());
88 ATH_CHECK(m_detElStatus.initialize());
89 ATH_CHECK(m_beamSpotKey.initialize());
90
91 m_storeDestinies = not m_seedDestiny.empty();
93
94 if (m_paramEstimationTool.size() != m_seedContainerKeys.size()) {
95 ATH_MSG_FATAL("There are " << m_seedContainerKeys.size() << " SeedContainerKeys. Each needs its own TrackParamsEstimationTool, but there are " << m_paramEstimationTool.size());
96 }
97
98 if (m_ambiStrategy != 0u /* OUTSIDE_TF */) m_showResolvedStats = true;
99 if (m_ambiStrategy == 1u /* END_OF_TF */) {
100 Acts::GreedyAmbiguityResolution::Config cfg;
101 cfg.maximumSharedHits = m_maximumSharedHits;
102 cfg.maximumIterations = m_maximumIterations;
103 cfg.nMeasurementsMin = m_nMeasurementsMin;
104
105 m_ambi.emplace(std::move(cfg), makeActsAthenaLogger(this, "Acts"));
106 }
107
108 if (m_storeDestinies) {
109 if (m_seedDestiny.size() != m_seedContainerKeys.size()) {
110 ATH_MSG_ERROR("There are " << m_seedDestiny.size() << " seed destiny collections, but " << m_seedContainerKeys.size() << " seed collections");
111 return StatusCode::FAILURE;
112 }
113 }
114
115 return StatusCode::SUCCESS;
116 }
#define ATH_MSG_INFO(x,...)
#define ATH_MSG_FATAL(x,...)
std::unique_ptr< const Acts::Logger > makeActsAthenaLogger(IMessageSvc *svc, const std::string &name, int level, std::optional< std::string > parent_name)
Definition Logger.cxx:64
Gaudi::Property< unsigned int > m_nMeasurementsMin
Gaudi::Property< unsigned int > m_maximumIterations
Gaudi::Property< bool > m_dumpAllStatEtaBins
virtual StatusCode initialize() override

◆ initializeMeasurementSelector()

StatusCode ActsTrk::TrackFindingBaseAlg::initializeMeasurementSelector ( )
protectedinherited

Definition at line 544 of file TrackFindingBaseAlg.cxx.

544 {
545 // the cuts for each eta bin are (measurement, outlier) pairs for each measurement dimension
546 auto &chi2CutOffOutlier = m_measurementSelectorConfig.m_chi2CutOffOutlier;
547 const std::vector<double> &cutOff = m_chi2CutOffSigma.value();
548 const std::vector<double> &outlierCutOff = m_chi2OutlierCutOffSigma.value();
549 chi2CutOffOutlier.reserve( cutOff.size() );
550 if (!outlierCutOff.empty()) {
551 if (cutOff.size() != outlierCutOff.size()) {
552 ATH_MSG_ERROR("Outlier chi2 cut off provided but number of elements does not agree with"
553 " chi2 cut off for measurements which however is required: "
554 << cutOff.size() << " != " << outlierCutOff.size());
555 return StatusCode::FAILURE;
556 }
557 }
558 // A cut at n sigma of a 1D Gaussian (two-sided) has the p-value erfc(n/sqrt(2)). The chi2 cut for
559 // a measurement of dimension DIM is the chi2 value with this p-value for DIM degrees of freedom.
560 // For DIM=1 this is n^2.
561 auto chi2Cut = [](double cut, std::size_t dim) -> float {
562 const double pValue = std::erfc(cut / std::numbers::sqrt2);
563 return static_cast<float>(boost::math::quantile(
564 boost::math::complement(boost::math::chi_squared_distribution<double>(dim), pValue)));
565 };
566 for (std::size_t idx = 0; idx < cutOff.size(); ++idx) {
567 std::array<std::pair<float, float>, 4> cuts{};
568 for (std::size_t dim = 1; dim < cuts.size(); ++dim) {
569 cuts[dim] = std::make_pair(chi2Cut(cutOff[idx], dim),
570 idx < outlierCutOff.size()
571 ? chi2Cut(outlierCutOff[idx], dim)
572 : std::numeric_limits<float>::max());
573 }
574 cuts[0] = cuts[1];
575 chi2CutOffOutlier.push_back(cuts);
576 ATH_MSG_DEBUG("Measurement selector eta bin " << idx << ": chi2 cuts for "
577 << cutOff[idx] << " / "
578 << (idx < outlierCutOff.size() ? outlierCutOff[idx] : std::numeric_limits<double>::infinity())
579 << " sigma: 1D " << cuts[1].first << " / " << cuts[1].second
580 << ", 2D " << cuts[2].first << " / " << cuts[2].second
581 << ", 3D " << cuts[3].first << " / " << cuts[3].second);
582 }
583 if (m_etaBins.size() > 2) {
584 std::vector<float> &etaBinsf = m_measurementSelectorConfig.m_etaBins;
585 etaBinsf.assign(m_etaBins.begin() + 1, m_etaBins.end() - 1);
586 }
587
588 return /*m_measurementSelector ?*/ StatusCode::SUCCESS /*: StatusCode::FAILURE*/;
589 }
Gaudi::Property< std::vector< double > > m_etaBins
Gaudi::Property< std::vector< double > > m_chi2CutOffSigma
Gaudi::Property< std::vector< double > > m_chi2OutlierCutOffSigma
struct ActsTrk::TrackFindingBaseAlg::MeasurementSelectorConfig m_measurementSelectorConfig

◆ initStatTables()

void ActsTrk::TrackFindingBaseAlg::initStatTables ( )
protectedinherited

Definition at line 593 of file TrackFindingBaseAlg.cxx.

593 {
594 if (!m_statEtaBins.empty())
595 {
597 float last_eta = m_statEtaBins[0];
598 for (float eta : m_statEtaBins)
599 {
600 if (eta < last_eta)
601 {
602 ATH_MSG_FATAL("Eta bins for statistics counter not in ascending order.");
603 }
604 last_eta = eta;
605 }
606 }
607 m_stat.resize(nSeedCollections() * seedCollectionStride());
608 }

◆ 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::TrackFindingBaseAlg::logger ( ) const
inlineprotectedinherited

Private access to the logger.

Definition at line 316 of file TrackFindingBaseAlg.h.

317 {
318 return *m_logger;
319 }
std::unique_ptr< const Acts::Logger > m_logger
logging instance

◆ measurementType()

xAOD::UncalibMeasType ActsTrk::TrackFindingBaseAlg::measurementType ( const detail::RecoTrackContainer::TrackStateProxy & trackState)
staticprotectedinherited

Definition at line 312 of file TrackFindingBaseAlg.cxx.

312 {
313 if (trackState.hasReferenceSurface()) {
314 if (const auto *actsDetElem = dynamic_cast<const ISurfacePlacement*>(trackState.referenceSurface().surfacePlacement())) {
315 switch (actsDetElem->detectorType()) {
322 default:
323 break;
324 }
325 }
326 }
328 }
@ Pixel
Inner detector legacy.

◆ 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 }

◆ nSeedCollections()

std::size_t ActsTrk::TrackFindingBaseAlg::nSeedCollections ( ) const
inlineprotectedinherited

Definition at line 329 of file TrackFindingBaseAlg.h.

329 {
330 return m_seedLabels.size();
331 }

◆ 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.

◆ printSeed()

void ActsTrk::TrackFindingAlg::printSeed ( unsigned int iseed,
const DetectorContextHolder & detContext,
const ActsTrk::SeedContainer & seeds,
const Acts::BoundTrackParameters & seedParameters,
const detail::MeasurementIndex & measurementIndex,
std::size_t & nPrinted,
const char * seedType,
bool isKF = false ) const
private

Definition at line 784 of file TrackFindingAlg.cxx.

792 {
793 if (not m_trackStatePrinter.isSet()) return;
794
795 if (nPrinted == 0) {
796 ATH_MSG_INFO("CKF results for " << seeds.size() << ' ' << seedType << " seeds:");
797 }
798 ++nPrinted;
799 m_trackStatePrinter->printSeed(detContext.geometry, seeds[iseed], seedParameters, measurementIndex, iseed, isKF);
800 }

◆ printStatTables()

void ActsTrk::TrackFindingBaseAlg::printStatTables ( ) const
protectedinherited

Definition at line 626 of file TrackFindingBaseAlg.cxx.

626 {
627 if (msgLvl(MSG::INFO))
628 {
629 std::vector<std::string> stat_labels =
631 {
632 std::make_pair(kNTotalSeeds, "Input seeds"),
633 std::make_pair(kNoTrackParam, "No track parameters"),
634 std::make_pair(kNUsedSeeds, "Used seeds"),
635 std::make_pair(kNoTrack, "Cannot find track"),
636 std::make_pair(kNDuplicateSeeds, "Duplicate seeds"),
637 std::make_pair(kNNoEstimatedParams, "Initial param estimation failed"),
638 std::make_pair(kNRejectedRefinedSeeds, "Rejected refined parameters"),
639 std::make_pair(kNSeedRefitFailure, "Seed refit Kalman fit failure"),
640 std::make_pair(kNOutputTracks, "CKF tracks"),
641 std::make_pair(kNSelectedTracks, "selected tracks"),
642 std::make_pair(kNResolvedTracks, "resolved tracks"),
643 std::make_pair(kNStoppedTracksMaxHoles, "Stopped tracks reaching max holes"),
644 std::make_pair(kMultipleBranches, "Seeds with more than one branch"),
645 std::make_pair(kNoSecond, "Tracks failing second CKF"),
646 std::make_pair(kNStoppedTracksMinPt, "Stopped tracks below pT cut"),
647 std::make_pair(kNStoppedTracksMaxEta, "Stopped tracks above max eta"),
648 std::make_pair(kNTotalSharedHits, "Total shared hits"),
649 std::make_pair(kNForcedSeedMeasurements, "Total forced measurements")
650 });
651 assert(stat_labels.size() == kNStat);
652 std::vector<std::string> categories;
653 categories.reserve(m_seedLabels.size() + 1);
654 categories.insert(categories.end(), m_seedLabels.begin(), m_seedLabels.end());
655 categories.push_back("ALL");
656
657 std::vector<std::string> eta_labels;
658 eta_labels.reserve(m_statEtaBins.size() + 2);
659 for (std::size_t eta_bin_i = 0; eta_bin_i < m_statEtaBins.size() + 2; ++eta_bin_i)
660 {
661 eta_labels.push_back(TableUtils::makeEtaBinLabel(m_statEtaBins, eta_bin_i, m_useAbsEtaForStat));
662 }
663
664 // vector used as 3D array stat[ eta_bin ][ stat_i ][ seed_type]
665 // stat_i = [0, kNStat)
666 // eta_bin = [0, m_statEtaBins.size()+2 ); eta_bin == m_statEtaBinsSize()+1 means sum of all etaBins
667 // seed_type = [0, nSeedCollections()+1) seed_type == nSeedCollections() means sum of all seed collections
668 std::vector<std::size_t> stat =
670 m_statEtaBins.size() + 1,
671 m_stat);
672
673 // the extra columns and rows for the projections are addeded internally:
674 std::size_t stat_stride =
676 m_statEtaBins.size() + 1,
677 kNStat);
678 std::size_t eta_stride =
680 m_statEtaBins.size() + 1,
681 kNStat);
682 std::stringstream table_out;
683
684 if (m_dumpAllStatEtaBins.value())
685 {
686 // dump for each counter a table with one row per eta bin
687 std::size_t max_label_width = TableUtils::maxLabelWidth(stat_labels) + TableUtils::maxLabelWidth(eta_labels);
688 for (std::size_t stat_i = 0; stat_i < kNStat; ++stat_i)
689 {
690 std::size_t dest_idx_offset = stat_i * stat_stride;
691 table_out << makeTable(stat, dest_idx_offset, eta_stride,
692 eta_labels,
693 categories)
694 .columnWidth(10)
695 // only dump the footer for the last eta bin i.e. total
696 .dumpHeader(stat_i == 0)
697 .dumpFooter(stat_i + 1 == kNStat)
698 .separateLastRow(true) // separate the sum of all eta bins
699 .minLabelWidth(max_label_width)
700 .labelPrefix(stat_labels.at(stat_i));
701 }
702 }
703 else
704 {
705 // dump one table with one row per counter showing the total eta range
706 for (std::size_t eta_bin_i = (m_dumpAllStatEtaBins.value() ? 0 : m_statEtaBins.size() + 1);
707 eta_bin_i < m_statEtaBins.size() + 2;
708 ++eta_bin_i)
709 {
710 std::size_t dest_idx_offset = eta_bin_i * eta_stride;
711 table_out << makeTable(stat, dest_idx_offset, stat_stride,
712 stat_labels,
713 categories,
714 eta_labels.at(eta_bin_i))
715 .columnWidth(10)
716 // only dump the footer for the last eta bin i.e. total
717 .dumpFooter(!m_dumpAllStatEtaBins.value() || eta_bin_i == m_statEtaBins.size() + 1);
718 }
719 }
720 ATH_MSG_INFO("statistics:\n"
721 << table_out.str());
722 table_out.str("");
723
724 // define retios first element numerator, second element denominator
725 // each element contains a vector of counter and a multiplier e.g. +- 1
726 // ratios are computed as (sum_i stat[stat_i] * multiplier_i ) / (sum_j stat[stat_j] * multiplier_j )
727 auto [ratio_labels, ratio_def] =
729 std::vector<TableUtils::SummandDefinition>{
733 // no track counted as used but want to include it as failed
735 }, // failed seeds i.e. seeds which are not duplicates but did not produce a track
736 std::vector<TableUtils::SummandDefinition>{TableUtils::defineSummand(kNTotalSeeds, 1)}),
738 TableUtils::defineSimpleRatio("Rejected refined params / seeds", kNRejectedRefinedSeeds, kNTotalSeeds),
740 TableUtils::defineSimpleRatio("selected tracks / used seeds", kNSelectedTracks, kNUsedSeeds),
742 TableUtils::defineSimpleRatio("resolved tracks / used seeds", kNResolvedTracks, kNUsedSeeds),
743 TableUtils::defineSimpleRatio("branched tracks / used seeds", kMultipleBranches, kNUsedSeeds),
744 TableUtils::defineSimpleRatio("no 2nd CKF / CKF tracks", kNoSecond, kNOutputTracks),
746 TableUtils::defineSimpleRatio("forced measurements / used seeds", kNForcedSeedMeasurements, kNUsedSeeds)});
747
748 std::vector<float> ratio = TableUtils::computeRatios(ratio_def,
749 nSeedCollections() + 1,
750 m_statEtaBins.size() + 2,
751 stat);
752
753 // the extra columns and rows for the projections are _not_ added internally
754 std::size_t ratio_stride = TableUtils::ratioStride(nSeedCollections() + 1,
755 m_statEtaBins.size() + 2,
756 ratio_def);
757 std::size_t ratio_eta_stride = TableUtils::subCategoryStride(nSeedCollections() + 1,
758 m_statEtaBins.size() + 2,
759 ratio_def);
760
761 std::size_t max_label_width = TableUtils::maxLabelWidth(ratio_labels) + TableUtils::maxLabelWidth(eta_labels);
762 if (m_dumpAllStatEtaBins.value())
763 {
764 // show for each ratio a table with one row per eta bin
765 for (std::size_t ratio_i = 0; ratio_i < ratio_labels.size(); ++ratio_i)
766 {
767 table_out << makeTable(ratio,
768 ratio_i * ratio_stride,
769 ratio_eta_stride,
770 eta_labels,
771 categories)
772 .columnWidth(10)
773 // only dump the footer for the last eta bin i.e. total
774 .dumpHeader(ratio_i == 0)
775 .dumpFooter(ratio_i + 1 == ratio_labels.size())
776 .separateLastRow(true) // separate the sum of las
777 .minLabelWidth(max_label_width)
778 .labelPrefix(ratio_labels.at(ratio_i));
779 }
780 }
781 else
782 {
783 // dump one table with one row per ratio showing the total eta range
784 table_out << makeTable(ratio,
785 (m_statEtaBins.size() + 1) * ratio_eta_stride + 0 * ratio_stride,
786 ratio_stride,
787 ratio_labels,
788 categories)
789 .columnWidth(10)
790 // only dump the footer for the last eta bin i.e. total
791 .minLabelWidth(max_label_width)
792 .dumpFooter(false);
793
794 // also dump a table for final tracks over used seeds (ratio_i==6 or 4) showing one row per eta bin
795 eta_labels.erase(eta_labels.end() - 1); // drop last line of table which shows again all eta bins summed.
796 std::size_t ratio_i = m_showResolvedStats ? 6 : 4;
797 table_out << makeTable(ratio,
798 ratio_i * ratio_stride,
799 ratio_eta_stride,
800 eta_labels,
801 categories)
802 .columnWidth(10)
803 .dumpHeader(false)
804 // only dump the footer for the last eta bin i.e. total
805 .dumpFooter(!m_dumpAllStatEtaBins.value() || ratio_i + 1 == ratio_labels.size())
806 .separateLastRow(false)
807 .minLabelWidth(max_label_width)
808 .labelPrefix(ratio_labels.at(ratio_i));
809 }
810
811 ATH_MSG_INFO("Ratios:\n"
812 << table_out.str());
813 }
814 }
TableUtils::StatTable< T > makeTable(const std::array< T, N > &counter, const std::array< std::string, N > &label)
Definition TableUtils.h:544
bool msgLvl(const MSG::Level lvl) const
std::tuple< std::vector< std::string >, std::vector< RatioDefinition > > splitRatioDefinitionsAndLabels(std::initializer_list< std::tuple< std::string, RatioDefinition > > a_ratio_list)
Definition TableUtils.h:469
SummandDefinition defineSummand(T counter_idx, int multiplier)
Definition TableUtils.h:423
std::size_t maxLabelWidth(const T_Collection &col)
Definition TableUtils.h:311
RatioDefinition defineSimpleRatio(T numerator, T denominator)
Definition TableUtils.h:405
std::vector< std::string > makeLabelVector(T_index n_entries, std::initializer_list< std::pair< T_index, T_string > > a_list)
Definition TableUtils.h:296
constexpr std::size_t subCategoryStride(const std::size_t categories, const std::size_t sub_categories, const std::size_t n_counter)
Definition TableUtils.h:325
constexpr std::size_t counterStride(const std::size_t categories, const std::size_t sub_categories, const std::size_t n_counter)
Definition TableUtils.h:330
std::string makeEtaBinLabel(const std::vector< float > &eta_bins, std::size_t eta_bin_i, bool abs_eta=false)
Definition TableUtils.h:535
std::tuple< std::string, RatioDefinition > makeRatioDefinition(std::string &&name, std::vector< SummandDefinition > &&numerator, std::vector< SummandDefinition > &&denominator)
Definition TableUtils.h:459
std::vector< float > computeRatios(const std::vector< RatioDefinition > &ratio_def, const std::size_t categories, const std::size_t sub_categories, const std::vector< std::size_t > &counter)
constexpr std::size_t ratioStride(const std::size_t categories, const std::size_t sub_categories, const std::vector< RatioDefinition > &ratio_def)
Definition TableUtils.h:494
std::vector< T_Output > createCounterArrayWithProjections(const std::size_t categories, const std::size_t sub_categories, const std::vector< std::array< T_Input, N > > &input_counts)
Definition TableUtils.h:343

◆ propagateDetectorElementStatusToMeasurements()

StatusCode ActsTrk::TrackFindingAlg::propagateDetectorElementStatusToMeasurements ( const ActsTrk::ActsVolumeIdToDetectorElementCollectionMap & volume_id_to_det_el_coll,
const std::vector< const InDet::SiDetectorElementStatus * > & det_el_status_arr,
detail::TrackFindingMeasurements & measurements ) const
private

Definition at line 717 of file TrackFindingAlg.cxx.

719 {
720 const Acts::TrackingGeometry *
721 acts_tracking_geometry = m_trackingGeometrySvc->trackingGeometry().get();
722 ATH_CHECK(acts_tracking_geometry != nullptr);
723
724 using Counter = struct { unsigned int n_volumes, n_volumes_with_status, n_missing_detector_elements, n_detector_elements, n_disabled_detector_elements;};
725 Counter counter {0u,0u,0u,0u,0u};
726 acts_tracking_geometry->visitVolumes([&counter,
727 &volume_id_to_det_el_coll,
728 &det_el_status_arr,
729 &measurements,
730 this](const Acts::TrackingVolume *volume_ptr) {
731 ++counter.n_volumes;
732 if (!volume_ptr) return;
733
734 const InDet::SiDetectorElementStatus*
735 det_el_status = det_el_status_arr.at(volume_id_to_det_el_coll.collecionMap().at(volume_ptr->geometryId().volume()));
736 if (det_el_status) {
737 ++counter.n_volumes_with_status;
738 volume_ptr->visitSurfaces([&counter, det_el_status, &measurements,this](const Acts::Surface *surface_ptr) {
739
740 const auto* acts_detector_element = getActsDetectorElement(surface_ptr);
741 if (!acts_detector_element) {
742 return;
743 }
744 ++counter.n_detector_elements;
745
746 if (!det_el_status->isGood( acts_detector_element->identifyHash() )) {
747 ActsTrk::detail::MeasurementRange old_range = measurements.markSurfaceInsensitive(surface_ptr->geometryId());
748 if (!old_range.empty()) {
749 auto geoid_to_string = [](const Acts::GeometryIdentifier &id) -> std::string {
750 std::stringstream amsg;
751 amsg << id;
752 return amsg.str();
753 };
754 std::string a_msg ( geoid_to_string(surface_ptr->geometryId()));
755 ATH_MSG_WARNING("Reject " << (old_range.elementEndIndex() - old_range.elementBeginIndex())
756 << " measurements because surface " << a_msg);
757 }
758 ++counter.n_disabled_detector_elements;
759 }
760
761 }, true /*only sensitive surfaces*/);
762 }
763 else {
764 ++counter.n_missing_detector_elements;
765 }
766 });
767 ATH_MSG_DEBUG("Volumes with detector element status " << counter.n_volumes_with_status << " / " << counter.n_volumes
768 << " disabled detector elements " << counter.n_disabled_detector_elements
769 << " / " << counter.n_detector_elements
770 << " missing detector elements "
771 << counter.n_missing_detector_elements);
772 return StatusCode::SUCCESS;
773 }
bool isGood(IdentifierHash hash) const

◆ 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 368 of file AthCommonDataStore.h.

369 {
370 h.renounce();
372 }
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 352 of file AthCommonDataStore.h.

352 {
354 }

◆ seedCollectionStride()

std::size_t ActsTrk::TrackFindingBaseAlg::seedCollectionStride ( ) const
inlineprotectedinherited

Definition at line 332 of file TrackFindingBaseAlg.h.

332 {
333 return m_statEtaBins.size() + 1;
334 }

◆ selectCounts()

std::array< bool, 3 > ActsTrk::TrackFindingBaseAlg::selectCounts ( const detail::RecoTrackContainer::TrackProxy & track,
double eta ) const
protectedinherited

Definition at line 518 of file TrackFindingBaseAlg.cxx.

518 {
519 bool enoughMeasurements = true, tooManyHoles = false, tooManyOutliers = false;
520 const auto &trackSelectorCfg = trackFinder().trackSelector.config();
521 std::size_t etaBin = (std::abs(eta) < trackSelectorCfg.absEtaEdges.front()) ? 0
522 : (std::abs(eta) >= trackSelectorCfg.absEtaEdges.back()) ? trackSelectorCfg.absEtaEdges.size() - 1
523 : trackSelectorCfg.binIndex(eta);
524 auto cutMin = [etaBin](std::size_t val, const std::vector<std::size_t> &cutSet) {
525 return !cutSet.empty() && (val < (etaBin < cutSet.size() ? cutSet[etaBin] : cutSet.back()));
526 };
527 auto cutMax = [etaBin](std::size_t val, const std::vector<std::size_t> &cutSet) {
528 return !cutSet.empty() && (val > (etaBin < cutSet.size() ? cutSet[etaBin] : cutSet.back()));
529 };
530
531 enoughMeasurements = enoughMeasurements && !cutMin(s_branchState.nPixelHits(track), m_minPixelHits);
532 enoughMeasurements = enoughMeasurements && !cutMin(s_branchState.nStripHits(track), m_minStripHits);
533 enoughMeasurements = enoughMeasurements && !cutMin(s_branchState.nHgtdHits(track), m_minHgtdHits);
534 tooManyHoles = tooManyHoles || cutMax(s_branchState.nPixelHoles(track), m_maxPixelHoles);
535 tooManyHoles = tooManyHoles || cutMax(s_branchState.nStripHoles(track), m_maxStripHoles);
536 tooManyHoles = tooManyHoles || cutMax(s_branchState.nHgtdHoles(track), m_maxHgtdHoles);
537 tooManyOutliers = tooManyOutliers || cutMax(s_branchState.nPixelOutliers(track), m_maxPixelOutliers);
538 tooManyOutliers = tooManyOutliers || cutMax(s_branchState.nStripOutliers(track), m_maxStripOutliers);
539 tooManyOutliers = tooManyOutliers || cutMax(s_branchState.nHgtdOutliers(track), m_maxHgtdOutliers);
540
541 return {enoughMeasurements, tooManyHoles, tooManyOutliers};
542 }
Gaudi::Property< std::vector< std::size_t > > m_maxStripHoles
Gaudi::Property< std::vector< std::size_t > > m_maxHgtdHoles
Gaudi::Property< std::vector< std::size_t > > m_minPixelHits
Gaudi::Property< std::vector< std::size_t > > m_maxStripOutliers
Gaudi::Property< std::vector< std::size_t > > m_maxPixelHoles
Gaudi::Property< std::vector< std::size_t > > m_minStripHits
Gaudi::Property< std::vector< std::size_t > > m_maxHgtdOutliers
Gaudi::Property< std::vector< std::size_t > > m_maxPixelOutliers
Gaudi::Property< std::vector< std::size_t > > m_minHgtdHits
return m_collEvts back().back().max_entries
unsigned int binIndex(const T &val, const std::vector< T > &partitions)
general utility function to return bin index given a value and the upper endpoints of each bin
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap etaBin

◆ selectCountsFinal()

bool ActsTrk::TrackFindingBaseAlg::selectCountsFinal ( const detail::RecoTrackContainer::TrackProxy & track) const
protectedinherited

Definition at line 837 of file TrackFindingBaseAlg.cxx.

837 {
838 if (not m_addCounts) return true;
839 double eta = -std::log(std::tan(0.5 * track.theta()));
840 auto [enoughMeasurementsPS, tooManyHolesPS, tooManyOutliersPS] = selectCounts(track, eta);
841 return enoughMeasurementsPS && !tooManyHolesPS && !tooManyOutliersPS;
842 }
std::array< bool, 3 > selectCounts(const detail::RecoTrackContainer::TrackProxy &track, double eta) const

◆ setFilterPassed()

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

Set filter decision:

Definition at line 99 of file AthCommonAlgorithm.h.

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

◆ setMeasurementSelector()

std::unique_ptr< ActsTrk::IMeasurementSelector > ActsTrk::TrackFindingBaseAlg::setMeasurementSelector ( const EventContext & ctx,
const detail::TrackFindingMeasurements & measurements,
TrackFinderOptions & options ) const
nodiscardprotectedinherited

Setup and attach measurement selector to KF options.

Parameters
ctxthe current event context
measurementsmeasurements container used in MeasurementSelector
optionsKalman filter options
Returns
unique_ptr to MeasurementSelector

Definition at line 206 of file TrackFindingBaseAlg.cxx.

209 {
210
211 std::unique_ptr<ActsTrk::IMeasurementSelector> measurementSelector = ActsTrk::detail::getMeasurementSelector(
212 ctx,
213 m_pixelCalibTool.isEnabled() ? &(*m_pixelCalibTool) : nullptr,
214 m_stripCalibTool.isEnabled() ? &(*m_stripCalibTool) : nullptr,
215 m_hgtdCalibTool.isEnabled() ? &(*m_hgtdCalibTool) : nullptr,
216 measurements.measurementRanges(),
218 m_measurementSelectorConfig.m_chi2CutOffOutlier,
220 m_edgeHoleBorderWidth.value());
221
222 measurementSelector->connect(&options.extensions.createTrackStates);
223
224 return measurementSelector;
225 }
Gaudi::Property< std::vector< size_t > > m_numMeasurementsCutOff
Gaudi::Property< double > m_edgeHoleBorderWidth
ToolHandle< ActsTrk::IPixelOnTrackCalibratorTool< detail::RecoTrackStateContainer > > m_pixelCalibTool
ToolHandle< ActsTrk::IStripOnTrackCalibratorTool< detail::RecoTrackStateContainer > > m_stripCalibTool
ToolHandle< ActsTrk::IHGTDOnTrackCalibratorTool< detail::RecoTrackStateContainer > > m_hgtdCalibTool
std::unique_ptr< ActsTrk::IMeasurementSelector > getMeasurementSelector(const EventContext &ctx, const ActsTrk::IPixelOnTrackCalibratorTool< detail::RecoTrackStateContainer > *pixelOnTrackCalibratorTool, const ActsTrk::IStripOnTrackCalibratorTool< detail::RecoTrackStateContainer > *stripOnTrackCalibratorTool, const ActsTrk::IHGTDOnTrackCalibratorTool< detail::RecoTrackStateContainer > *hgtdOnTrackCalibratorTool, const ActsTrk::detail::MeasurementRangeList &measurementRanges, const std::vector< float > &etaBinsf, const std::vector< std::array< std::pair< float, float >, 4 > > &chi2CutOffOutlier, const std::vector< size_t > &numMeasurementsCutOff, double edge_hole_border_width)

◆ stopBranch()

TrackFindingBaseAlg::BranchStopperResult ActsTrk::TrackFindingBaseAlg::stopBranch ( const detail::RecoTrackContainer::TrackProxy & track,
const detail::RecoTrackContainer::TrackStateProxy & trackState,
const Acts::TrackSelector::EtaBinnedConfig & trackSelectorCfg,
const Acts::GeometryContext & tgContext,
const detail::MeasurementIndex & measurementIndex,
const std::size_t typeIndex,
EventStats::value_type & event_stat_category_i ) const
protectedinherited

Branch stopper.

Parameters
trackTrack proxy object
trackStateTrack state proxy object
trackSelectorCfgTrack selector configuration
tgContextGeometry context
measurementIndexMeasurement index
typeIndexType index
event_stat_category_iEvent statistics for current category
Returns
BranchStopperResult

Definition at line 330 of file TrackFindingBaseAlg.cxx.

337 {
338 if (m_addCounts) {
339 updateCounts(track, trackState.typeFlags(),
340 measurementType(trackState));
341 if (m_checkCounts) {
342 checkCounts(track);
343 }
344 }
345
346 if (m_trackStatePrinter.isSet()) {
347 m_trackStatePrinter->printTrackState(tgContext, trackState,
348 measurementIndex, true);
349 }
350
351 if (!m_doBranchStopper) {
352 return BranchStopperResult::Continue;
353 }
354
355 const auto &parameters = trackState.hasFiltered() ? trackState.filtered()
356 : trackState.predicted();
357 double eta = -std::log(std::tan(0.5 * parameters[Acts::eBoundTheta]));
358 const auto &cutSet = getCuts(eta);
359
360 if (typeIndex < m_ptMinMeasurements.size() &&
361 !(track.nMeasurements() < m_ptMinMeasurements[typeIndex])) {
362 double pT = std::sin(parameters[Acts::eBoundTheta]) /
363 parameters[Acts::eBoundQOverP];
364 if (std::abs(pT) < cutSet.ptMin * m_branchStopperPtMinFactor) {
365 ++event_stat_category_i[kNStoppedTracksMinPt];
366 ATH_MSG_DEBUG("CkfBranchStopper: drop branch with q*pT="
367 << pT << " after " << track.nMeasurements()
368 << " measurements");
369 return BranchStopperResult::StopAndDrop;
370 }
371 }
372
373 if (typeIndex < m_absEtaMaxMeasurements.size() &&
374 !(track.nMeasurements() < m_absEtaMaxMeasurements[typeIndex]) &&
375 !(std::abs(eta) < trackSelectorCfg.absEtaEdges.back() +
377 ++event_stat_category_i[kNStoppedTracksMaxEta];
378 ATH_MSG_DEBUG("CkfBranchStopper: drop branch with eta="
379 << eta << " after " << track.nMeasurements()
380 << " measurements");
381 return BranchStopperResult::StopAndDrop;
382 }
383
384
385 // In the pixel endcap regions relax the requirement for minMeasurements before cutting the branch off
386 auto minMeasurementsBranchStop = std::abs(eta) > m_branchStopperAbsEtaMeasCut ? cutSet.minMeasurements - m_branchStopperMeasCutReduce : cutSet.minMeasurements;
387 bool enoughMeasurements = (track.nMeasurements() >= minMeasurementsBranchStop);
388 bool tooManyHoles = (track.nHoles() > cutSet.maxHoles);
389 bool tooManyOutliers = (track.nOutliers() > cutSet.maxOutliers);
390 bool tooManyHolesAndOutliers = (track.nHoles() + track.nOutliers() > cutSet.maxHolesAndOutliers);
391
392 if (m_addCounts) {
393 auto [enoughMeasurementsPS, tooManyHolesPS, tooManyOutliersPS] =
394 selectCounts(track, eta);
395 enoughMeasurements = enoughMeasurements && enoughMeasurementsPS;
396 tooManyHoles = tooManyHoles || tooManyHolesPS;
397 tooManyOutliers = tooManyOutliers || tooManyOutliersPS;
398 }
399
400 if (!(tooManyHoles || tooManyOutliers || tooManyHolesAndOutliers)) {
401 return BranchStopperResult::Continue;
402 }
403
404 if (!enoughMeasurements) {
405 ++event_stat_category_i[kNStoppedTracksMaxHoles];
406 }
407
408 if (m_addCounts) {
409 ATH_MSG_DEBUG("CkfBranchStopper: stop and "
410 << (enoughMeasurements ? "keep" : "drop")
411 << " branch with nHoles=" << track.nHoles() << " ("
412 << s_branchState.nPixelHoles(track) << " pixel+"
413 << s_branchState.nStripHoles(track) << " strip+"
414 << s_branchState.nHgtdHoles(track)
415 << " hgtd), nOutliers=" << track.nOutliers() << " ("
416 << s_branchState.nPixelOutliers(track) << "+"
417 << s_branchState.nStripOutliers(track) << "+"
418 << s_branchState.nHgtdOutliers(track)
419 << "), nMeasurements=" << track.nMeasurements() << " ("
420 << s_branchState.nPixelHits(track) << "+"
421 << s_branchState.nStripHits(track) << "+"
422 << s_branchState.nHgtdHits(track) << ")");
423 } else {
424 ATH_MSG_DEBUG("CkfBranchStopper: stop and "
425 << (enoughMeasurements ? "keep" : "drop")
426 << " branch with nHoles=" << track.nHoles()
427 << ", nOutliers=" << track.nOutliers()
428 << ", nMeasurements=" << track.nMeasurements());
429 }
430
431 return enoughMeasurements ? BranchStopperResult::StopAndKeep
432 : BranchStopperResult::StopAndDrop;
433 }
Gaudi::Property< double > m_branchStopperAbsEtaMeasCut
Gaudi::Property< double > m_branchStopperPtMinFactor
Gaudi::Property< double > m_branchStopperMeasCutReduce
Gaudi::Property< double > m_branchStopperAbsEtaMaxExtra
Gaudi::Property< std::vector< std::size_t > > m_absEtaMaxMeasurements
Gaudi::Property< bool > m_doBranchStopper
Gaudi::Property< std::vector< std::size_t > > m_ptMinMeasurements

◆ storeSeedInfo()

void ActsTrk::TrackFindingAlg::storeSeedInfo ( const detail::RecoTrackContainer & tracksContainer,
const detail::RecoTrackContainerProxy & track,
detail::DuplicateSeedDetector & duplicateSeedDetector,
const detail::MeasurementIndex & measurementIndex ) const
private

Definition at line 695 of file TrackFindingAlg.cxx.

698 {
699
700 const auto lastMeasurementIndex = track.tipIndex();
701 duplicateSeedDetector.newTrajectory();
702
703 tracksContainer.trackStateContainer().visitBackwards(
704 lastMeasurementIndex,
705 [&duplicateSeedDetector,&measurementIndex](const detail::RecoTrackStateContainer::ConstTrackStateProxy &state) -> void
706 {
707 // Check there is a source link
708 if (not state.hasUncalibratedSourceLink())
709 return;
710
711 // Fill the duplicate selector
712 auto sl = detail::xAODUncalibMeasCalibrator::unpack(state.getUncalibratedSourceLink());;
713 duplicateSeedDetector.addMeasurement(sl, measurementIndex);
714 }); // end visitBackwards
715 }
static const xAOD::UncalibratedMeasurement * unpack(const Acts::SourceLink &sl)
Helper method to unpack an Acts source link to an uncalibrated measurement.

◆ storeTrackCollectionToStoreGate()

StatusCode ActsTrk::TrackFindingAlg::storeTrackCollectionToStoreGate ( const EventContext & ctx,
Acts::VectorTrackContainer && originalTrackBackend,
Acts::VectorMultiTrajectory && originalTrackStateBackend ) const
private

Definition at line 364 of file TrackFindingAlg.cxx.

367 {
368 // convert to const
369 Acts::ConstVectorTrackContainer constTrackBackend( std::move(originalTrackBackend) );
370 Acts::ConstVectorMultiTrajectory constTrackStateBackend( std::move(originalTrackStateBackend) );
371 std::unique_ptr< ActsTrk::TrackContainer> constTracksContainer = std::make_unique< ActsTrk::TrackContainer >( std::move(constTrackBackend),
372 std::move(constTrackStateBackend) );
373
374 SG::WriteHandle<ActsTrk::TrackContainer> trackContainerHandle = SG::makeHandle(m_trackContainerKey, ctx);
375 ATH_MSG_DEBUG(" \\__ Tracks Container `" << m_trackContainerKey.key() << "` created ...");
376 ATH_CHECK(trackContainerHandle.record(std::move(constTracksContainer)));
377 return StatusCode::SUCCESS;
378 }
SG::WriteHandleKey< ActsTrk::TrackContainer > m_trackContainerKey

◆ 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, 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}
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.

◆ trackFinder() [1/2]

TrackFindingBaseAlg::CKF_pimpl & ActsTrk::TrackFindingBaseAlg::trackFinder ( )
protectedinherited

Definition at line 25 of file TrackFindingBaseAlg.cxx.

25{ return *m_trackFinder; }
std::unique_ptr< CKF_pimpl > m_trackFinder

◆ trackFinder() [2/2]

const TrackFindingBaseAlg::CKF_pimpl & ActsTrk::TrackFindingBaseAlg::trackFinder ( ) const
protectedinherited

Definition at line 26 of file TrackFindingBaseAlg.cxx.

26{ return *m_trackFinder; }

◆ updateCounts()

void ActsTrk::TrackFindingBaseAlg::updateCounts ( const detail::RecoTrackContainer::TrackProxy & track,
Acts::ConstTrackStateTypeMap typeFlags,
xAOD::UncalibMeasType detType )
staticprotectedinherited

Definition at line 465 of file TrackFindingBaseAlg.cxx.

467 {
469 if (typeFlags.isHole()) {
470 s_branchState.nPixelHoles(track)++;
471 } else if (typeFlags.isOutlier()) {
472 s_branchState.nPixelOutliers(track)++;
473 } else if (typeFlags.isMeasurement()) {
474 s_branchState.nPixelHits(track)++;
475 }
476 } else if (detType == xAOD::UncalibMeasType::StripClusterType) {
477 if (typeFlags.isHole()) {
478 s_branchState.nStripHoles(track)++;
479 } else if (typeFlags.isOutlier()) {
480 s_branchState.nStripOutliers(track)++;
481 } else if (typeFlags.isMeasurement()) {
482 s_branchState.nStripHits(track)++;
483 }
484 } else if (detType == xAOD::UncalibMeasType::HGTDClusterType) {
485 if (typeFlags.isHole()) {
486 s_branchState.nHgtdHoles(track)++;
487 } else if (typeFlags.isOutlier()) {
488 s_branchState.nHgtdOutliers(track)++;
489 } else if (typeFlags.isMeasurement()) {
490 s_branchState.nHgtdHits(track)++;
491 }
492 }
493 }

◆ updateVHKA()

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

Definition at line 298 of file AthCommonDataStore.h.

298 {
299 for (auto &a : m_vhka) {
301 for (auto k : keys) {
302 k->setOwner(this);
303 }
304 }
305 }

Member Data Documentation

◆ ATLAS_THREAD_SAFE [1/3]

std::mutex m_mutex ActsTrk::TrackFindingAlg::ATLAS_THREAD_SAFE {}
mutableprivate

Definition at line 190 of file TrackFindingAlg.h.

190{};

◆ ATLAS_THREAD_SAFE [2/3]

std::size_t m_nTrackStateReserve ActsTrk::TrackFindingAlg::ATLAS_THREAD_SAFE {0ul}
mutableprivate

Definition at line 189 of file TrackFindingAlg.h.

189{0ul};

◆ ATLAS_THREAD_SAFE [3/3]

std::size_t m_nTrackReserve ActsTrk::TrackFindingAlg::ATLAS_THREAD_SAFE {0ul}
mutableprivate

Definition at line 188 of file TrackFindingAlg.h.

188{0ul};

◆ m_absEtaMax

Gaudi::Property<double> ActsTrk::TrackFindingBaseAlg::m_absEtaMax {this, "absEtaMax", std::numeric_limits<double>::max(), "TrackSelector: absEtaMax"}
protectedinherited

Definition at line 129 of file TrackFindingBaseAlg.h.

129{this, "absEtaMax", std::numeric_limits<double>::max(), "TrackSelector: absEtaMax"};

◆ m_absEtaMaxMeasurements

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_absEtaMaxMeasurements {this, "absEtaMaxMeasurements", {}, "if specified for the given seed collection, applies absEtaMax cut in branch stopper once absEtaMaxMeasurements have been encountered"}
protectedinherited

Definition at line 107 of file TrackFindingBaseAlg.h.

107{this, "absEtaMaxMeasurements", {}, "if specified for the given seed collection, applies absEtaMax cut in branch stopper once absEtaMaxMeasurements have been encountered"};

◆ m_absEtaMin

Gaudi::Property<double> ActsTrk::TrackFindingBaseAlg::m_absEtaMin {this, "absEtaMin", 0.0, "TrackSelector: absEtaMin"}
protectedinherited

Definition at line 128 of file TrackFindingBaseAlg.h.

128{this, "absEtaMin", 0.0, "TrackSelector: absEtaMin"};

◆ m_addCounts

Gaudi::Property<bool> ActsTrk::TrackFindingBaseAlg::m_addCounts {this, "addCounts", true, "keep separate pixel, strip and hgtd counts and apply the following cuts"}
protectedinherited

Definition at line 144 of file TrackFindingBaseAlg.h.

144{this, "addCounts", true, "keep separate pixel, strip and hgtd counts and apply the following cuts"};

◆ m_ambi

std::optional<Acts::GreedyAmbiguityResolution> ActsTrk::TrackFindingAlg::m_ambi
private

Definition at line 135 of file TrackFindingAlg.h.

◆ m_ambiStrategy

Gaudi::Property<std::size_t> ActsTrk::TrackFindingAlg::m_ambiStrategy {this, "ambiStrategy", 0, "0 - Do ambiguity resolution outside track finding; 1 - Do ambiguity in track finding using GreedyAmbiguitySolver tool; 2 - Do shared hit cut during track candidate selection"}
private

Definition at line 128 of file TrackFindingAlg.h.

128{this, "ambiStrategy", 0, "0 - Do ambiguity resolution outside track finding; 1 - Do ambiguity in track finding using GreedyAmbiguitySolver tool; 2 - Do shared hit cut during track candidate selection"};

◆ m_beamSpotKey

SG::ReadCondHandleKey< InDet::BeamSpotData > ActsTrk::TrackFindingAlg::m_beamSpotKey {this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot"}
private

Definition at line 112 of file TrackFindingAlg.h.

112{this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot"};

◆ m_branchStopperAbsEtaMaxExtra

Gaudi::Property<double> ActsTrk::TrackFindingBaseAlg::m_branchStopperAbsEtaMaxExtra {this, "branchStopperAbsEtaMaxExtra", 0.0, "increase absEtaMax cut when used in the branch stopper"}
protectedinherited

Definition at line 118 of file TrackFindingBaseAlg.h.

118{this, "branchStopperAbsEtaMaxExtra", 0.0, "increase absEtaMax cut when used in the branch stopper"};

◆ m_branchStopperAbsEtaMeasCut

Gaudi::Property<double> ActsTrk::TrackFindingBaseAlg::m_branchStopperAbsEtaMeasCut {this, "branchStopperAbsEtaMeasCut", 1.2, "the minimum |eta| to apply the reduction to the minMeas requirement for the branch stopper"}
protectedinherited

Definition at line 120 of file TrackFindingBaseAlg.h.

120{this, "branchStopperAbsEtaMeasCut", 1.2, "the minimum |eta| to apply the reduction to the minMeas requirement for the branch stopper"};

◆ m_branchStopperMeasCutReduce

Gaudi::Property<double> ActsTrk::TrackFindingBaseAlg::m_branchStopperMeasCutReduce {this, "branchStopperMeasCutReduce", 2, "how much to reduce the minMeas requirement for the branch stopper"}
protectedinherited

Definition at line 119 of file TrackFindingBaseAlg.h.

119{this, "branchStopperMeasCutReduce", 2, "how much to reduce the minMeas requirement for the branch stopper"};

◆ m_branchStopperPtMinFactor

Gaudi::Property<double> ActsTrk::TrackFindingBaseAlg::m_branchStopperPtMinFactor {this, "branchStopperPtMinFactor", 1.0, "factor to multiply ptMin cut when used in the branch stopper"}
protectedinherited

Definition at line 116 of file TrackFindingBaseAlg.h.

116{this, "branchStopperPtMinFactor", 1.0, "factor to multiply ptMin cut when used in the branch stopper"};

◆ m_checkCounts

Gaudi::Property<bool> ActsTrk::TrackFindingBaseAlg::m_checkCounts {this, "checkCounts", false, "check consistency among track state counts"}
protectedinherited

Definition at line 145 of file TrackFindingBaseAlg.h.

145{this, "checkCounts", false, "check consistency among track state counts"};

◆ m_chi2CutOffSigma

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_chi2CutOffSigma
protectedinherited
Initial value:
{this, "chi2CutOffSigma", {},
"MeasurementSelector: maximum local chi2 contribution for each eta bin, in sigma of a 1D Gaussian. The p-value of a two-sided cut at this number of sigma gives the chi2 cut for each measurement dimension."}

Definition at line 100 of file TrackFindingBaseAlg.h.

100 {this, "chi2CutOffSigma", {},
101 "MeasurementSelector: maximum local chi2 contribution for each eta bin, in sigma of a 1D Gaussian. The p-value of a two-sided cut at this number of sigma gives the chi2 cut for each measurement dimension."};

◆ m_chi2OutlierCutOffSigma

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_chi2OutlierCutOffSigma
protectedinherited
Initial value:
{this, "chi2OutlierCutOffSigma", {},
"MeasurementSelector: maximum local chi2 contribution for outliers for each eta bin, in sigma, see chi2CutOffSigma. If empty, there is no cut."}

Definition at line 102 of file TrackFindingBaseAlg.h.

102 {this, "chi2OutlierCutOffSigma", {},
103 "MeasurementSelector: maximum local chi2 contribution for outliers for each eta bin, in sigma, see chi2CutOffSigma. If empty, there is no cut."};

◆ m_countSharedHits

Gaudi::Property<bool> ActsTrk::TrackFindingAlg::m_countSharedHits {this, "countSharedHits", true, "add shared hit flags to tracks"}
private

Definition at line 117 of file TrackFindingAlg.h.

117{this, "countSharedHits", true, "add shared hit flags to tracks"};

◆ m_ctxProvider

ContextUtility ActsTrk::TrackFindingBaseAlg::m_ctxProvider {this}
protectedinherited

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

Definition at line 95 of file TrackFindingBaseAlg.h.

95{this};

◆ m_d0Max

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_d0Max {this, "d0Max", {}, "TrackSelector: d0Max"}
protectedinherited

Definition at line 133 of file TrackFindingBaseAlg.h.

133{this, "d0Max", {}, "TrackSelector: d0Max"};

◆ m_d0Min

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_d0Min {this, "d0Min", {}, "TrackSelector: d0Min"}
protectedinherited

Definition at line 132 of file TrackFindingBaseAlg.h.

132{this, "d0Min", {}, "TrackSelector: d0Min"};

◆ m_detElStatus

SG::ReadHandleKeyArray<InDet::SiDetectorElementStatus> ActsTrk::TrackFindingAlg::m_detElStatus {this, "DetElStatus", {}, "Keys for detector element status conditions data."}
private

Definition at line 107 of file TrackFindingAlg.h.

108{this, "DetElStatus", {}, "Keys for detector element status conditions data."};

◆ m_detStore

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

Pointer to StoreGate (detector store by default).

Definition at line 381 of file AthCommonDataStore.h.

◆ m_doBranchStopper

Gaudi::Property<bool> ActsTrk::TrackFindingBaseAlg::m_doBranchStopper {this, "doBranchStopper", true, "use branch stopper"}
protectedinherited

Definition at line 108 of file TrackFindingBaseAlg.h.

108{this, "doBranchStopper", true, "use branch stopper"};

◆ m_doSecondPassBranchStopper

Gaudi::Property<bool> ActsTrk::TrackFindingBaseAlg::m_doSecondPassBranchStopper {this, "doSecondPassBranchStopper", false, "run the branch stopper in the second pass, keeping instead of dropping"}
protectedinherited

Definition at line 111 of file TrackFindingBaseAlg.h.

111{this, "doSecondPassBranchStopper", false, "run the branch stopper in the second pass, keeping instead of dropping"};

◆ m_doTwoWay

Gaudi::Property<bool> ActsTrk::TrackFindingBaseAlg::m_doTwoWay {this, "doTwoWay", true, "run CKF twice, first with forward propagation with smoothing, then with backward propagation"}
protectedinherited

Definition at line 112 of file TrackFindingBaseAlg.h.

112{this, "doTwoWay", true, "run CKF twice, first with forward propagation with smoothing, then with backward propagation"};

◆ m_dumpAllStatEtaBins

Gaudi::Property<bool> ActsTrk::TrackFindingBaseAlg::m_dumpAllStatEtaBins {this, "DumpEtaBinsForAll", false, "Dump eta bins of all statistics counter."}
protectedinherited

Definition at line 165 of file TrackFindingBaseAlg.h.

165{this, "DumpEtaBinsForAll", false, "Dump eta bins of all statistics counter."};

◆ m_edgeHoleBorderWidth

Gaudi::Property<double> ActsTrk::TrackFindingBaseAlg::m_edgeHoleBorderWidth {this,"EdgeHoleBorderWidth", 0. ,"Width of the border of surfaces (mm) within which holes are not counted as holes."}
protectedinherited

Definition at line 105 of file TrackFindingBaseAlg.h.

105{this,"EdgeHoleBorderWidth", 0. ,"Width of the border of surfaces (mm) within which holes are not counted as holes."};

◆ m_endOfWorldVolumeIds

Gaudi::Property<std::vector<std::uint32_t> > ActsTrk::TrackFindingBaseAlg::m_endOfWorldVolumeIds {this, "EndOfTheWorldVolumeIds", {}, ""}
protectedinherited

Definition at line 160 of file TrackFindingBaseAlg.h.

160{this, "EndOfTheWorldVolumeIds", {}, ""};

◆ m_envelopeConstraint

Gaudi::Property<std::uint32_t> ActsTrk::TrackFindingBaseAlg::m_envelopeConstraint
protectedinherited
Initial value:
{this, "EnvelopeConstaint",
Acts::toUnderlying(ActsTrk::SystemEnvelope::ITkExit)}

Stop the propagation as soon as the envelope is left (Gen3 only).

Definition at line 157 of file TrackFindingBaseAlg.h.

157 {this, "EnvelopeConstaint",
158 Acts::toUnderlying(ActsTrk::SystemEnvelope::ITkExit)};

◆ m_etaBins

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_etaBins {this, "etaBins", {}, "bins in |eta| to specify variable selections"}
protectedinherited

Definition at line 98 of file TrackFindingBaseAlg.h.

98{this, "etaBins", {}, "bins in |eta| to specify variable selections"};

◆ m_etaMax

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_etaMax {this, "etaMax", {}, "TrackSelector: etaMax"}
protectedinherited

Definition at line 127 of file TrackFindingBaseAlg.h.

127{this, "etaMax", {}, "TrackSelector: etaMax"};

◆ m_etaMin

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_etaMin {this, "etaMin", {}, "TrackSelector: etaMin"}
protectedinherited

Definition at line 126 of file TrackFindingBaseAlg.h.

126{this, "etaMin", {}, "TrackSelector: etaMin"};

◆ m_evtStore

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

Pointer to StoreGate (event store by default).

Definition at line 378 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_forceTrackOnSeed

Gaudi::Property<bool> ActsTrk::TrackFindingAlg::m_forceTrackOnSeed {this, "forceTrackOnSeed", true, "force track to use measurements from the seed"}
private

Definition at line 118 of file TrackFindingAlg.h.

118{this, "forceTrackOnSeed", true, "force track to use measurements from the seed"};

◆ m_hgtdCalibTool

ToolHandle<ActsTrk::IHGTDOnTrackCalibratorTool<detail::RecoTrackStateContainer> > ActsTrk::TrackFindingBaseAlg::m_hgtdCalibTool {this, "HGTDCalibrator", "", "Opt. HGTD measurement calibrator"}
protectedinherited

Definition at line 89 of file TrackFindingBaseAlg.h.

89{this, "HGTDCalibrator", "", "Opt. HGTD measurement calibrator"};

◆ m_inflateCovarianceTwoWay

Gaudi::Property<bool> ActsTrk::TrackFindingBaseAlg::m_inflateCovarianceTwoWay {this, "inflateCovarianceTwoWay", false, "inflate covariance matrix at the beginning of two-way track finding"}
protectedinherited

Definition at line 114 of file TrackFindingBaseAlg.h.

114{this, "inflateCovarianceTwoWay", false, "inflate covariance matrix at the beginning of two-way track finding"};

◆ m_logger

std::unique_ptr<const Acts::Logger> ActsTrk::TrackFindingBaseAlg::m_logger
protectedinherited

logging instance

Definition at line 322 of file TrackFindingBaseAlg.h.

◆ m_maxChi2

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_maxChi2 {this, "maxChi2", {}, "TrackSelector: maxChi2"}
protectedinherited

Definition at line 142 of file TrackFindingBaseAlg.h.

142{this, "maxChi2", {}, "TrackSelector: maxChi2"};

◆ m_maxHgtdHoles

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_maxHgtdHoles {this, "maxHgtdHoles", {}, "maximum number of hgtd holes"}
protectedinherited

Definition at line 151 of file TrackFindingBaseAlg.h.

151{this, "maxHgtdHoles", {}, "maximum number of hgtd holes"};

◆ m_maxHgtdOutliers

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_maxHgtdOutliers {this, "maxHgtdOutliers", {}, "maximum number of hgtd outliers"}
protectedinherited

Definition at line 154 of file TrackFindingBaseAlg.h.

154{this, "maxHgtdOutliers", {}, "maximum number of hgtd outliers"};

◆ m_maxHoles

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_maxHoles {this, "maxHoles", {}, "TrackSelector: maxHoles"}
protectedinherited

Definition at line 138 of file TrackFindingBaseAlg.h.

138{this, "maxHoles", {}, "TrackSelector: maxHoles"};

◆ m_maxHolesAndOutliers

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_maxHolesAndOutliers {this, "maxHolesAndOutliers", {}, "TrackSelector: maximum number of holes and outliers together"}
protectedinherited

Definition at line 140 of file TrackFindingBaseAlg.h.

140{this, "maxHolesAndOutliers", {}, "TrackSelector: maximum number of holes and outliers together"};

◆ m_maximumIterations

Gaudi::Property<unsigned int> ActsTrk::TrackFindingAlg::m_maximumIterations {this, "MaximumIterations", 10000u, "Maximum number of iterations to resolve ambiguities among all tracks."}
private

Definition at line 124 of file TrackFindingAlg.h.

125{this, "MaximumIterations", 10000u, "Maximum number of iterations to resolve ambiguities among all tracks."};

◆ m_maximumSharedHits

Gaudi::Property<unsigned int> ActsTrk::TrackFindingAlg::m_maximumSharedHits {this, "MaximumSharedHits", 3u, "Maximum number of shared hits per track."}
private

Definition at line 122 of file TrackFindingAlg.h.

123{this, "MaximumSharedHits", 3u, "Maximum number of shared hits per track."};

◆ m_maxOutliers

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_maxOutliers {this, "maxOutliers", {}, "TrackSelector: maxOutliers"}
protectedinherited

Definition at line 139 of file TrackFindingBaseAlg.h.

139{this, "maxOutliers", {}, "TrackSelector: maxOutliers"};

◆ m_maxPixelHoles

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_maxPixelHoles {this, "maxPixelHoles", {}, "maximum number of pixel holes"}
protectedinherited

Definition at line 149 of file TrackFindingBaseAlg.h.

149{this, "maxPixelHoles", {}, "maximum number of pixel holes"};

◆ m_maxPixelOutliers

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_maxPixelOutliers {this, "maxPixelOutliers", {}, "maximum number of pixel outliers"}
protectedinherited

Definition at line 152 of file TrackFindingBaseAlg.h.

152{this, "maxPixelOutliers", {}, "maximum number of pixel outliers"};

◆ m_maxPropagationStep

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

Definition at line 97 of file TrackFindingBaseAlg.h.

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

◆ m_maxSharedHits

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_maxSharedHits {this, "maxSharedHits", {}, "TrackSelector: maxSharedHits"}
protectedinherited

Definition at line 141 of file TrackFindingBaseAlg.h.

141{this, "maxSharedHits", {}, "TrackSelector: maxSharedHits"};

◆ m_maxStripHoles

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_maxStripHoles {this, "maxStripHoles", {}, "maximum number of strip holes"}
protectedinherited

Definition at line 150 of file TrackFindingBaseAlg.h.

150{this, "maxStripHoles", {}, "maximum number of strip holes"};

◆ m_maxStripOutliers

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_maxStripOutliers {this, "maxStripOutliers", {}, "maximum number of strip outliers"}
protectedinherited

Definition at line 153 of file TrackFindingBaseAlg.h.

153{this, "maxStripOutliers", {}, "maximum number of strip outliers"};

◆ m_measurementSelectorConfig

struct ActsTrk::TrackFindingBaseAlg::MeasurementSelectorConfig ActsTrk::TrackFindingBaseAlg::m_measurementSelectorConfig
protectedinherited

◆ m_memorySafetyMargin

Gaudi::Property< float > ActsTrk::TrackFindingAlg::m_memorySafetyMargin {this, "MemorySafetyMargin", 1.2}
private

Definition at line 187 of file TrackFindingAlg.h.

187{this, "MemorySafetyMargin", 1.2};

◆ m_minHgtdHits

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_minHgtdHits {this, "minHgtdHits", {}, "minimum number of hgtd hits"}
protectedinherited

Definition at line 148 of file TrackFindingBaseAlg.h.

148{this, "minHgtdHits", {}, "minimum number of hgtd hits"};

◆ m_minMeasurements

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_minMeasurements {this, "minMeasurements", {}, "TrackSelector: minMeasurements"}
protectedinherited

Definition at line 137 of file TrackFindingBaseAlg.h.

137{this, "minMeasurements", {}, "TrackSelector: minMeasurements"};

◆ m_minPixelHits

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_minPixelHits {this, "minPixelHits", {}, "minimum number of pixel hits"}
protectedinherited

Definition at line 146 of file TrackFindingBaseAlg.h.

146{this, "minPixelHits", {}, "minimum number of pixel hits"};

◆ m_minStripHits

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_minStripHits {this, "minStripHits", {}, "minimum number of strip hits"}
protectedinherited

Definition at line 147 of file TrackFindingBaseAlg.h.

147{this, "minStripHits", {}, "minimum number of strip hits"};

◆ m_monTool

ToolHandle<GenericMonitoringTool> ActsTrk::TrackFindingBaseAlg::m_monTool {this, "MonTool", "", "Monitoring tool"}
protectedinherited

Definition at line 84 of file TrackFindingBaseAlg.h.

84{this, "MonTool", "", "Monitoring tool"};

◆ m_nMeasurementsMin

Gaudi::Property<unsigned int> ActsTrk::TrackFindingAlg::m_nMeasurementsMin {this, "NMeasurementsMin", 7u, "Minimum number of measurements per track."}
private

Definition at line 126 of file TrackFindingAlg.h.

127{this, "NMeasurementsMin", 7u, "Minimum number of measurements per track."};

◆ m_numMeasurementsCutOff

Gaudi::Property<std::vector<size_t> > ActsTrk::TrackFindingBaseAlg::m_numMeasurementsCutOff {this, "numMeasurementsCutOff", {}, "MeasurementSelector: maximum number of associated measurements on a single surface"}
protectedinherited

Definition at line 104 of file TrackFindingBaseAlg.h.

104{this, "numMeasurementsCutOff", {}, "MeasurementSelector: maximum number of associated measurements on a single surface"};

◆ m_paramEstimationTool

ToolHandleArray<ActsTrk::ITrackParamsEstimationTool> ActsTrk::TrackFindingAlg::m_paramEstimationTool {this, "TrackParamsEstimationTool", {}, "Track Param Estimation from Seeds (one tool per seed type)"}
private

Definition at line 95 of file TrackFindingAlg.h.

95{this, "TrackParamsEstimationTool", {}, "Track Param Estimation from Seeds (one tool per seed type)"};

◆ m_phiMax

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_phiMax {this, "phiMax", {}, "TrackSelector: phiMax"}
protectedinherited

Definition at line 125 of file TrackFindingBaseAlg.h.

125{this, "phiMax", {}, "TrackSelector: phiMax"};

◆ m_phiMin

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_phiMin {this, "phiMin", {}, "TrackSelector: phiMin"}
protectedinherited

Definition at line 124 of file TrackFindingBaseAlg.h.

124{this, "phiMin", {}, "TrackSelector: phiMin"};

◆ m_pixelCalibTool

ToolHandle<ActsTrk::IPixelOnTrackCalibratorTool<detail::RecoTrackStateContainer> > ActsTrk::TrackFindingBaseAlg::m_pixelCalibTool {this, "PixelCalibrator", "", "Opt. pixel measurement calibrator"}
protectedinherited

Definition at line 87 of file TrackFindingBaseAlg.h.

87{this, "PixelCalibrator", "", "Opt. pixel measurement calibrator"};

◆ m_ptMax

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_ptMax {this, "ptMax", {}, "TrackSelector: ptMax"}
protectedinherited

Definition at line 131 of file TrackFindingBaseAlg.h.

131{this, "ptMax", {}, "TrackSelector: ptMax"};

◆ m_ptMin

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_ptMin {this, "ptMin", {}, "TrackSelector: ptMin"}
protectedinherited

Definition at line 130 of file TrackFindingBaseAlg.h.

130{this, "ptMin", {}, "TrackSelector: ptMin"};

◆ m_ptMinMeasurements

Gaudi::Property<std::vector<std::size_t> > ActsTrk::TrackFindingBaseAlg::m_ptMinMeasurements {this, "ptMinMeasurements", {}, "if specified for the given seed collection, applies ptMin cut in branch stopper once ptMinMinMeasurements have been encountered"}
protectedinherited

Definition at line 106 of file TrackFindingBaseAlg.h.

106{this, "ptMinMeasurements", {}, "if specified for the given seed collection, applies ptMin cut in branch stopper once ptMinMinMeasurements have been encountered"};

◆ m_recordMaterialStates

Gaudi::Property<bool> ActsTrk::TrackFindingBaseAlg::m_recordMaterialStates {this, "recordMaterialStates", false, "record track states on surfaces which have material but no measurement; keeping them off is faster, but they have to be on for the multi-component stepper and for anything downstream which needs the full track state sequence"}
protectedinherited

Definition at line 113 of file TrackFindingBaseAlg.h.

113{this, "recordMaterialStates", false, "record track states on surfaces which have material but no measurement; keeping them off is faster, but they have to be on for the multi-component stepper and for anything downstream which needs the full track state sequence"};

◆ m_seedContainerKeys

SG::ReadHandleKeyArray<ActsTrk::SeedContainer> ActsTrk::TrackFindingAlg::m_seedContainerKeys {this, "SeedContainerKeys", {}, "Seed containers"}
private

Definition at line 99 of file TrackFindingAlg.h.

99{this, "SeedContainerKeys", {}, "Seed containers"};

◆ m_seedDestiny

SG::WriteHandleKeyArray< std::vector<int> > ActsTrk::TrackFindingAlg::m_seedDestiny {this, "SeedDestiny", {}}
private

Definition at line 111 of file TrackFindingAlg.h.

111{this, "SeedDestiny", {}};

◆ m_seedLabels

Gaudi::Property<std::vector<std::string> > ActsTrk::TrackFindingBaseAlg::m_seedLabels {this, "SeedLabels", {}, "One label per seed key used in outputs"}
protectedinherited

Definition at line 164 of file TrackFindingBaseAlg.h.

164{this, "SeedLabels", {}, "One label per seed key used in outputs"};

◆ m_seedMeasOffset

Gaudi::Property<unsigned int> ActsTrk::TrackFindingAlg::m_seedMeasOffset {this,"seedMeasOffset", 0, "Reduce the requirement on the space points on seed to mark a seed as duplicate, e.g seedMeasOffset=1, only N-1 measurements on seed are sufficient deduplicate the seed"}
private

Definition at line 116 of file TrackFindingAlg.h.

116{this,"seedMeasOffset", 0, "Reduce the requirement on the space points on seed to mark a seed as duplicate, e.g seedMeasOffset=1, only N-1 measurements on seed are sufficient deduplicate the seed"};

◆ m_seedRefitPtMinFactor

Gaudi::Property<double> ActsTrk::TrackFindingBaseAlg::m_seedRefitPtMinFactor {this, "seedRefitPtMinFactor", 1.0, "factor to multiply ptMin cut when used in the seed refit"}
protectedinherited

Definition at line 117 of file TrackFindingBaseAlg.h.

117{this, "seedRefitPtMinFactor", 1.0, "factor to multiply ptMin cut when used in the seed refit"};

◆ m_showResolvedStats

bool ActsTrk::TrackFindingBaseAlg::m_showResolvedStats = false
protectedinherited

Definition at line 339 of file TrackFindingBaseAlg.h.

◆ m_skipDuplicateSeeds

Gaudi::Property<bool> ActsTrk::TrackFindingAlg::m_skipDuplicateSeeds {this, "skipDuplicateSeeds", true, "skip duplicate seeds before calling CKF"}
private

Definition at line 115 of file TrackFindingAlg.h.

115{this, "skipDuplicateSeeds", true, "skip duplicate seeds before calling CKF"};

◆ m_statEtaBins

Gaudi::Property<std::vector<float> > ActsTrk::TrackFindingBaseAlg::m_statEtaBins {this, "StatisticEtaBins", {-4, -2.6, -2, 0, 2., 2.6, 4}, "Gather statistics separately for these bins."}
protectedinherited

Definition at line 163 of file TrackFindingBaseAlg.h.

163{this, "StatisticEtaBins", {-4, -2.6, -2, 0, 2., 2.6, 4}, "Gather statistics separately for these bins."};

◆ m_storeDestinies

bool ActsTrk::TrackFindingAlg::m_storeDestinies {false}
private

Definition at line 110 of file TrackFindingAlg.h.

110{false};

◆ m_stripCalibTool

ToolHandle<ActsTrk::IStripOnTrackCalibratorTool<detail::RecoTrackStateContainer> > ActsTrk::TrackFindingBaseAlg::m_stripCalibTool {this, "StripCalibrator", "", "Opt. strip measurement calibrator"}
protectedinherited

Definition at line 88 of file TrackFindingBaseAlg.h.

88{this, "StripCalibrator", "", "Opt. strip measurement calibrator"};

◆ m_trackContainerKey

SG::WriteHandleKey<ActsTrk::TrackContainer> ActsTrk::TrackFindingBaseAlg::m_trackContainerKey {this, "ACTSTracksLocation", "", "Output track collection (ActsTrk variant)"}
protectedinherited

Definition at line 91 of file TrackFindingBaseAlg.h.

91{this, "ACTSTracksLocation", "", "Output track collection (ActsTrk variant)"};

◆ m_trackFinder

std::unique_ptr<CKF_pimpl> ActsTrk::TrackFindingBaseAlg::m_trackFinder
protectedinherited

Definition at line 80 of file TrackFindingBaseAlg.h.

◆ m_trackingGeometrySvc

ServiceHandle<ActsTrk::ITrackingGeometrySvc> ActsTrk::TrackFindingBaseAlg::m_trackingGeometrySvc {this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"}
protectedinherited

Definition at line 85 of file TrackFindingBaseAlg.h.

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

◆ m_tracksBackendHandlesHelper

ActsTrk::MutableTrackContainerHandlesHelper ActsTrk::TrackFindingBaseAlg::m_tracksBackendHandlesHelper {this}
protectedinherited

Definition at line 92 of file TrackFindingBaseAlg.h.

92{this};

◆ m_trackStatePrinter

ToolHandle<ActsTrk::TrackStatePrinterTool> ActsTrk::TrackFindingBaseAlg::m_trackStatePrinter {this, "TrackStatePrinter", "", "optional track state printer"}
protectedinherited

Definition at line 86 of file TrackFindingBaseAlg.h.

86{this, "TrackStatePrinter", "", "optional track state printer"};

◆ m_twoWayinflateCovarianceFactor

Gaudi::Property<double> ActsTrk::TrackFindingBaseAlg::m_twoWayinflateCovarianceFactor {this, "twoWayinflateCovarianceFactor", 1.0, "factor to multiply the initial covariance matrix at the beginning of two-way track finding"}
protectedinherited

Definition at line 115 of file TrackFindingBaseAlg.h.

115{this, "twoWayinflateCovarianceFactor", 1.0, "factor to multiply the initial covariance matrix at the beginning of two-way track finding"};

◆ m_uncalibratedMeasurementContainerKeys

SG::ReadHandleKeyArray<xAOD::UncalibratedMeasurementContainer> ActsTrk::TrackFindingAlg::m_uncalibratedMeasurementContainerKeys {this, "UncalibratedMeasurementContainerKeys", {}, "input cluster collections"}
private

Definition at line 102 of file TrackFindingAlg.h.

102{this, "UncalibratedMeasurementContainerKeys", {}, "input cluster collections"};

◆ m_useAbsEtaForStat

bool ActsTrk::TrackFindingBaseAlg::m_useAbsEtaForStat = false
protectedinherited

Definition at line 338 of file TrackFindingBaseAlg.h.

◆ m_varHandleArraysDeclared

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

Definition at line 387 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 386 of file AthCommonDataStore.h.

◆ m_volumeIdToDetectorElementCollMapKey

SG::ReadCondHandleKey<ActsTrk::ActsVolumeIdToDetectorElementCollectionMap> ActsTrk::TrackFindingAlg::m_volumeIdToDetectorElementCollMapKey
private
Initial value:
{this, "ActsVolumeIdToDetectorElementCollectionMapKey", "ActsVolumeIdToDetectorElementCollectionMap",
"Map which associates Acts geometry volume IDs to detector element collections."}

Definition at line 103 of file TrackFindingAlg.h.

104 {this, "ActsVolumeIdToDetectorElementCollectionMapKey", "ActsVolumeIdToDetectorElementCollectionMap",
105 "Map which associates Acts geometry volume IDs to detector element collections."};

◆ m_z0Max

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_z0Max {this, "z0Max", {}, "TrackSelector: z0Max"}
protectedinherited

Definition at line 135 of file TrackFindingBaseAlg.h.

135{this, "z0Max", {}, "TrackSelector: z0Max"};

◆ m_z0Min

Gaudi::Property<std::vector<double> > ActsTrk::TrackFindingBaseAlg::m_z0Min {this, "z0Min", {}, "TrackSelector: z0Min"}
protectedinherited

Definition at line 134 of file TrackFindingBaseAlg.h.

134{this, "z0Min", {}, "TrackSelector: z0Min"};

◆ s_branchState

BranchState ActsTrk::TrackFindingBaseAlg::s_branchState {}
staticconstexprprotectedinherited

Definition at line 303 of file TrackFindingBaseAlg.h.

303{};

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