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

#include <ScoreBasedAmbiguityResolutionAlg.h>

Inheritance diagram for ActsTrk::ScoreBasedAmbiguityResolutionAlg:
Collaboration diagram for ActsTrk::ScoreBasedAmbiguityResolutionAlg:

Public Types

enum  EStat { kNInputTracks , kNResolvedTracks , kNSharedHits , kNStat }

Public Member Functions

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 Member Functions

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

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

ToolHandle< GenericMonitoringToolm_monTool
SG::ReadHandleKey< ActsTrk::TrackContainerm_tracksKey
SG::WriteHandleKey< ActsTrk::TrackContainerm_resolvedTracksKey
Gaudi::Property< double > m_minScore
Gaudi::Property< double > m_minScoreSharedTracks
Gaudi::Property< std::size_t > m_maxSharedTracksPerMeasurement
Gaudi::Property< std::size_t > m_maxShared
Gaudi::Property< std::size_t > m_minUnshared
Gaudi::Property< bool > m_useAmbiguityScoring
Gaudi::Property< std::string > m_jsonFileName
Gaudi::Property< bool > m_countSharedHits {this, "countSharedHits", true, "add shared hit flags to tracks"}
std::unique_ptr< Acts::ScoreBasedAmbiguityResolution > m_ambi {nullptr}
ServiceHandle< InDet::IInDetEtaDependentCutsSvcm_etaDependentCutsSvc
 ITk eta-dependent cuts.
std::array< std::atomic< unsigned int >, kNStat > m_stat 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 29 of file ScoreBasedAmbiguityResolutionAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ EStat

Member Function Documentation

◆ declareGaudiProperty()

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

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

Definition at line 156 of file AthCommonDataStore.h.

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

◆ declareProperty()

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

Definition at line 145 of file AthCommonDataStore.h.

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

◆ detStore()

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

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

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

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

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

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

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

Definition at line 83 of file ScoreBasedAmbiguityResolutionAlg.cxx.

84 {
85 auto timer = Monitored::Timer<std::chrono::milliseconds>("TIME_execute");
86 auto mon = Monitored::Group(m_monTool, timer);
87
88 SG::ReadHandle<ActsTrk::TrackContainer> trackHandle =
90 ATH_CHECK(trackHandle.isValid());
91 const ActsTrk::TrackContainer* trackContainer = trackHandle.cptr();
92 m_stat[kNInputTracks] += trackContainer->size();
93
94 // creates mutable tracks from the input tracks to add summary information
95 // NOTE: this operation likely needs to moved outside ambiguity resolution
96 auto updatedTracks =
98
99 // create the optional cuts for the ambiguity resolution
100 Acts::ScoreBasedAmbiguityResolution::Optionals<
101 typename decltype(updatedTracks)::ConstTrackProxy>
102 Optionals;
103
104 // Adding optional cuts
105 Optionals.cuts.push_back(ScoreBasedSolverCutsImpl::etaDependentCuts);
106
107 // Adding optional Score Modifiers
108 Optionals.scores.push_back(ScoreBasedSolverCutsImpl::doubleHolesScore);
109 Optionals.scores.push_back(ScoreBasedSolverCutsImpl::nSCTPixelHitsScore);
110 Optionals.scores.push_back(
112 Optionals.scores.push_back(ScoreBasedSolverCutsImpl::ContribPixelLayersScore);
113
114 // Call the ambiguity resolution algorithm with the optional cuts on the
115 // updated tracks
116 std::vector<int> goodTracks = m_ambi->solveAmbiguity(
117 updatedTracks, &detail::sourceLinkHash, &detail::sourceLinkEquality, Optionals);
118
119 ATH_MSG_DEBUG("Resolved to " << goodTracks.size() << " tracks from "
120 << updatedTracks.size());
121 m_stat[kNResolvedTracks] += goodTracks.size();
122
123
124 // we start shortlisting the container
125 Acts::VectorTrackContainer resolvedTrackBackend;
126 Acts::VectorMultiTrajectory resolvedTrackStateBackend;
127 detail::RecoTrackContainer resolvedTracksContainer(resolvedTrackBackend, resolvedTrackStateBackend);
128
129 resolvedTracksContainer.ensureDynamicColumns(updatedTracks);
130
131 detail::MeasurementIndex measurementIndex;
132 detail::SharedHitCounter sharedHits;
133
134 std::size_t totalShared = 0;
135 for (auto iTrack : goodTracks) {
136 auto destProxy = resolvedTracksContainer.getTrack(resolvedTracksContainer.addTrack());
137 destProxy.copyFrom(updatedTracks.getTrack(iTrack));
138
139 if (m_countSharedHits) {
140 auto [nShared, nBadTrackMeasurements] = sharedHits.computeSharedHitsDynamic(destProxy, resolvedTracksContainer, measurementIndex);
141 if (nBadTrackMeasurements > 0) {
142 ATH_MSG_ERROR("computeSharedHits: " << nBadTrackMeasurements << " track measurements not found in input track");
143 }
144 totalShared += nShared;
145 }
146 }
147
148 if (m_countSharedHits) {
149 ATH_MSG_DEBUG("total number of shared hits = " << totalShared);
150 m_stat[kNSharedHits] += totalShared;
151 }
152
153 // make const collection
154 Acts::ConstVectorTrackContainer storableTrackBackend( std::move(resolvedTrackBackend) );
155 Acts::ConstVectorMultiTrajectory storableTrackStateBackend( std::move(resolvedTrackStateBackend) );
156 std::unique_ptr< ActsTrk::TrackContainer > storableTracksContainer = std::make_unique< ActsTrk::TrackContainer >( std::move(storableTrackBackend),
157 std::move(storableTrackStateBackend) );
158 SG::WriteHandle<ActsTrk::TrackContainer> resolvedTrackHandle = SG::makeHandle( m_resolvedTracksKey, ctx );
159 if (resolvedTrackHandle.record( std::move(storableTracksContainer)).isFailure()) {
160 ATH_MSG_ERROR("Failed to record resolved ACTS tracks with key " << m_resolvedTracksKey.key() );
161 return StatusCode::FAILURE;
162 }
163
164 return StatusCode::SUCCESS;
165}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x)
#define ATH_MSG_DEBUG(x)
std::unique_ptr< Acts::ScoreBasedAmbiguityResolution > m_ambi
SG::ReadHandleKey< ActsTrk::TrackContainer > m_tracksKey
SG::WriteHandleKey< ActsTrk::TrackContainer > m_resolvedTracksKey
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
void innermostPixelLayerHitsScore(const trackProxy_t &track, double &score)
Score modifier for tracks based on innermost pixel layer hits.
bool etaDependentCuts(const trackProxy_t &track)
Filter for tracks based on eta dependent cuts.
void nSCTPixelHitsScore(const trackProxy_t &track, double &score)
Score modifier for tracks based on number of SCT and pixel hits.
void doubleHolesScore(const trackProxy_t &track, double &score)
Filter for tracks based on double holes.
void ContribPixelLayersScore(const trackProxy_t &track, double &score)
Score modifier for tracks based on number of contributing pixel layers.
trackContainer_t addSummaryInformation(const ActsTrk::TrackContainer &trackContainer)
Adds summary information to the track container.
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)

◆ extraDeps_update_handler()

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

Add StoreName to extra input/output deps as needed.

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

◆ extraOutputDeps()

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

Return the list of extra output dependencies.

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

Definition at line 89 of file AthCommonAlgorithm.cxx.

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

◆ filterPassed()

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

Get filter decision:

Definition at line 93 of file AthCommonAlgorithm.h.

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

◆ finalize()

StatusCode ActsTrk::ScoreBasedAmbiguityResolutionAlg::finalize ( )
overridevirtual

Definition at line 73 of file ScoreBasedAmbiguityResolutionAlg.cxx.

73 {
74 ATH_MSG_INFO("Score-based Ambiguity Resolution statistics" << std::endl
75 << makeTable(m_stat,
76 std::array<std::string, kNStat>{
77 "Input tracks",
78 "Resolved tracks",
79 "Total shared hits"}).columnWidth(10));
80 return StatusCode::SUCCESS;
81}
#define ATH_MSG_INFO(x)
TableUtils::StatTable< T > makeTable(const std::array< T, N > &counter, const std::array< std::string, N > &label)
Definition TableUtils.h:543

◆ initialize()

StatusCode ActsTrk::ScoreBasedAmbiguityResolutionAlg::initialize ( )
overridevirtual

Definition at line 33 of file ScoreBasedAmbiguityResolutionAlg.cxx.

33 {
34 {
35 Acts::ScoreBasedAmbiguityResolution::Config cfg;
36 Acts::ConfigPair configPair;
37 nlohmann::json json_file;
38
40 "ActsConfig/ActsAmbiguityConfig.json", "DATAPATH");
41
42 std::ifstream file(fileName.c_str());
43 if (!file.is_open()) {
44 std::cerr << "Error opening file: " << fileName << std::endl;
45 return {};
46 }
47 file >> json_file;
48 file.close();
49
50 Acts::from_json(json_file, configPair);
51
52 cfg.volumeMap = configPair.first;
53 cfg.detectorConfigs = configPair.second;
54 cfg.minScore = m_minScore;
55 cfg.minScoreSharedTracks = m_minScoreSharedTracks;
56 cfg.maxSharedTracksPerMeasurement = m_maxSharedTracksPerMeasurement;
57 cfg.maxShared = m_maxShared;
58 cfg.minUnshared = m_minUnshared;
59 cfg.useAmbiguityScoring = m_useAmbiguityScoring;
60
61 m_ambi = std::make_unique<Acts::ScoreBasedAmbiguityResolution>(
62 std::move(cfg), makeActsAthenaLogger(this, "Acts"));
63 assert(m_ambi);
64 }
65
66 ATH_CHECK(m_monTool.retrieve(EnableTool{not m_monTool.empty()}));
67 ATH_CHECK(m_tracksKey.initialize());
68 ATH_CHECK(m_resolvedTracksKey.initialize());
69
70 return StatusCode::SUCCESS;
71}
std::unique_ptr< const Acts::Logger > makeActsAthenaLogger(IMessageSvc *svc, const std::string &name, int level, std::optional< std::string > parent_name)
static std::string find_file(const std::string &logical_file_name, const std::string &search_path)
TFile * file

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

◆ msg()

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msgLvl()

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

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

Return this algorithm's output handles.

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

◆ renounce()

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

Definition at line 380 of file AthCommonDataStore.h.

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

◆ renounceArray()

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

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

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

Set filter decision:

Reimplemented in AthFilterAlgorithm.

Definition at line 99 of file AthCommonAlgorithm.h.

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

◆ sysExecute()

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

Execute an algorithm.

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

Reimplemented in AthAnalysisAlgorithm.

Definition at line 80 of file AthCommonAlgorithm.cxx.

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

◆ sysInitialize()

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

Override sysInitialize.

Override sysInitialize from the base class.

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

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

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

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

Definition at line 60 of file AthCommonAlgorithm.cxx.

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

◆ sysStart()

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

Handle START transition.

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

◆ updateVHKA()

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

Definition at line 308 of file AthCommonDataStore.h.

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

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::array<std::atomic<unsigned int>, kNStat> m_stat ActsTrk::ScoreBasedAmbiguityResolutionAlg::ATLAS_THREAD_SAFE {}
mutableprivate

Definition at line 85 of file ScoreBasedAmbiguityResolutionAlg.h.

85{};

◆ m_ambi

std::unique_ptr<Acts::ScoreBasedAmbiguityResolution> ActsTrk::ScoreBasedAmbiguityResolutionAlg::m_ambi {nullptr}
private

Definition at line 70 of file ScoreBasedAmbiguityResolutionAlg.h.

70{nullptr};

◆ m_countSharedHits

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

Definition at line 68 of file ScoreBasedAmbiguityResolutionAlg.h.

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

◆ m_detStore

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

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_etaDependentCutsSvc

ServiceHandle<InDet::IInDetEtaDependentCutsSvc> ActsTrk::ScoreBasedAmbiguityResolutionAlg::m_etaDependentCutsSvc
private
Initial value:
{
this, "InDetEtaDependentCutsSvc", ""}

ITk eta-dependent cuts.

Definition at line 73 of file ScoreBasedAmbiguityResolutionAlg.h.

73 {
74 this, "InDetEtaDependentCutsSvc", ""};

◆ m_evtStore

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

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

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

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

Empty if no symlinks were found.

Definition at line 108 of file AthCommonAlgorithm.h.

◆ m_jsonFileName

Gaudi::Property<std::string> ActsTrk::ScoreBasedAmbiguityResolutionAlg::m_jsonFileName
private
Initial value:
{
this, "jsonFileName", "ScoreBasedAmbiguity_Config.json",
"Name of the JSON file that contains the config file."}

Definition at line 64 of file ScoreBasedAmbiguityResolutionAlg.h.

64 {
65 this, "jsonFileName", "ScoreBasedAmbiguity_Config.json",
66 "Name of the JSON file that contains the config file."};

◆ m_maxShared

Gaudi::Property<std::size_t> ActsTrk::ScoreBasedAmbiguityResolutionAlg::m_maxShared
private
Initial value:
{
this, "MaxShared", 5, "Maximum number of shared hit per track."}

Definition at line 55 of file ScoreBasedAmbiguityResolutionAlg.h.

55 {
56 this, "MaxShared", 5, "Maximum number of shared hit per track."};

◆ m_maxSharedTracksPerMeasurement

Gaudi::Property<std::size_t> ActsTrk::ScoreBasedAmbiguityResolutionAlg::m_maxSharedTracksPerMeasurement
private
Initial value:
{
this, "MaxSharedTracksPerMeasurement", 10,
"Maximum number of shared tracks per measurement."}

Definition at line 52 of file ScoreBasedAmbiguityResolutionAlg.h.

52 {
53 this, "MaxSharedTracksPerMeasurement", 10,
54 "Maximum number of shared tracks per measurement."};

◆ m_minScore

Gaudi::Property<double> ActsTrk::ScoreBasedAmbiguityResolutionAlg::m_minScore
private
Initial value:
{this, "MinScore", 0.0,
"Minimum score for track selection."}

Definition at line 47 of file ScoreBasedAmbiguityResolutionAlg.h.

47 {this, "MinScore", 0.0,
48 "Minimum score for track selection."};

◆ m_minScoreSharedTracks

Gaudi::Property<double> ActsTrk::ScoreBasedAmbiguityResolutionAlg::m_minScoreSharedTracks
private
Initial value:
{
this, "MinScoreSharedTracks", 0.0,
"Minimum score for shared track selection."}

Definition at line 49 of file ScoreBasedAmbiguityResolutionAlg.h.

49 {
50 this, "MinScoreSharedTracks", 0.0,
51 "Minimum score for shared track selection."};

◆ m_minUnshared

Gaudi::Property<std::size_t> ActsTrk::ScoreBasedAmbiguityResolutionAlg::m_minUnshared
private
Initial value:
{
this, "MinUnshared", 5, "Minimum number of unshared hits per track."}

Definition at line 57 of file ScoreBasedAmbiguityResolutionAlg.h.

57 {
58 this, "MinUnshared", 5, "Minimum number of unshared hits per track."};

◆ m_monTool

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

Definition at line 38 of file ScoreBasedAmbiguityResolutionAlg.h.

38 {this, "MonTool", "",
39 "Monitoring tool"};

◆ m_resolvedTracksKey

SG::WriteHandleKey<ActsTrk::TrackContainer> ActsTrk::ScoreBasedAmbiguityResolutionAlg::m_resolvedTracksKey
private
Initial value:
{
this, "ResolvedTracksLocation", "",
"Ambiguity resolved output track collection"}

Definition at line 43 of file ScoreBasedAmbiguityResolutionAlg.h.

43 {
44 this, "ResolvedTracksLocation", "",
45 "Ambiguity resolved output track collection"};

◆ m_tracksKey

SG::ReadHandleKey<ActsTrk::TrackContainer> ActsTrk::ScoreBasedAmbiguityResolutionAlg::m_tracksKey
private
Initial value:
{
this, "TracksLocation", "", "Input track collection"}

Definition at line 41 of file ScoreBasedAmbiguityResolutionAlg.h.

41 {
42 this, "TracksLocation", "", "Input track collection"};

◆ m_useAmbiguityScoring

Gaudi::Property<bool> ActsTrk::ScoreBasedAmbiguityResolutionAlg::m_useAmbiguityScoring
private
Initial value:
{
this, "UseAmbiguityScoring", false,
"Flag to enable/disable ambiguity function."}

Definition at line 60 of file ScoreBasedAmbiguityResolutionAlg.h.

60 {
61 this, "UseAmbiguityScoring", false,
62 "Flag to enable/disable ambiguity function."};

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


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