ATLAS Offline Software
Loading...
Searching...
No Matches
TrkAmbiguitySolver.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6/***************************************************************************
7TrkAmbiguitySolver Algorithm
8***************************************************************************/
9
10
11#ifndef TRKAMBIGUITYSOLVER_H
12#define TRKAMBIGUITYSOLVER_H
13
15#include "GaudiKernel/ToolHandle.h"
20#include <string>
21
22namespace Trk
23{
26
32
34 {
35
36 public:
37 TrkAmbiguitySolver(const std::string& name, ISvcLocator* pSvcLocator);
39
40 StatusCode initialize(void) override;
41 StatusCode execute(const EventContext& ctx) const override;
42 StatusCode finalize(void) override;
43
44 private:
49 {this, "TrackOutput", "Tracks"};
50 ToolHandle<ITrackAmbiguityProcessorTool> m_ambiTool{this, "AmbiguityProcessor", "Trk::SimpleAmbiguityProcessorTool/TrkAmbiguityProcessor"};
51
53 mutable std::atomic<long int> m_trackInCount{0};
55 mutable std::atomic<long int> m_trackOutCount{0};
56
57 };
58
59}
60
61#endif
62
63
64
65
DataVector adapter that acts like it holds const pointers.
An STL vector of pointers that by default owns its pointed-to elements.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Interface for resolving hit assoication ambiguities in a given track collection.
Interface for resolving hit association ambiguities in a given track collection.
StatusCode finalize(void) override
SG::ReadHandleKey< TracksScores > m_scoredTracksKey
<where to find tracks (set in jobOptions and can be multiple collections
SG::WriteHandleKey< TrackCollection > m_resolvedTracksKey
TrkAmbiguitySolver(const std::string &name, ISvcLocator *pSvcLocator)
std::atomic< long int > m_trackOutCount
Number of tracks passing Ambi solving.
StatusCode execute(const EventContext &ctx) const override
std::atomic< long int > m_trackInCount
Number of tracks input.
ToolHandle< ITrackAmbiguityProcessorTool > m_ambiTool
StatusCode initialize(void) override
Ensure that the ATLAS eigen extensions are properly loaded.