ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkAlgorithms
TrkAmbiguitySolver
TrkAmbiguitySolver
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
/***************************************************************************
7
TrkAmbiguitySolver Algorithm
8
***************************************************************************/
9
10
11
#ifndef TRKAMBIGUITYSOLVER_H
12
#define TRKAMBIGUITYSOLVER_H
13
14
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
15
#include "GaudiKernel/ToolHandle.h"
16
#include "
TrkTrack/TrackCollection.h
"
17
#include "
AthContainers/DataVector.h
"
18
#include "
AthContainers/ConstDataVector.h
"
19
#include "
TrkToolInterfaces/ITrackAmbiguityProcessorTool.h
"
20
#include <string>
21
22
namespace
Trk
23
{
24
class
ITrackAmbiguityProcessorTool
;
25
class
ITrackAmbiguityScoreProcessorTool
;
26
32
33
class
TrkAmbiguitySolver
:
public
AthReentrantAlgorithm
34
{
35
36
public
:
37
TrkAmbiguitySolver
(
const
std::string& name, ISvcLocator* pSvcLocator);
38
~TrkAmbiguitySolver
(
void
);
39
40
StatusCode
initialize
(
void
)
override
;
41
StatusCode
execute
(
const
EventContext& ctx)
const override
;
42
StatusCode
finalize
(
void
)
override
;
43
44
private
:
46
SG::ReadHandleKey<TracksScores>
m_scoredTracksKey
{
this
,
"TrackInput"
,
""
};
48
SG::WriteHandleKey<TrackCollection>
m_resolvedTracksKey
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
AthReentrantAlgorithm.h
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
ITrackAmbiguityProcessorTool.h
TrackCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Trk::ITrackAmbiguityProcessorTool
Interface for resolving hit assoication ambiguities in a given track collection.
Definition
ITrackAmbiguityProcessorTool.h:28
Trk::ITrackAmbiguityScoreProcessorTool
Interface for resolving hit association ambiguities in a given track collection.
Definition
ITrackAmbiguityScoreProcessorTool.h:21
Trk::TrkAmbiguitySolver::~TrkAmbiguitySolver
~TrkAmbiguitySolver(void)
Trk::TrkAmbiguitySolver::finalize
StatusCode finalize(void) override
Definition
TrkAmbiguitySolver.cxx:55
Trk::TrkAmbiguitySolver::m_scoredTracksKey
SG::ReadHandleKey< TracksScores > m_scoredTracksKey
<where to find tracks (set in jobOptions and can be multiple collections
Definition
TrkAmbiguitySolver.h:46
Trk::TrkAmbiguitySolver::m_resolvedTracksKey
SG::WriteHandleKey< TrackCollection > m_resolvedTracksKey
Definition
TrkAmbiguitySolver.h:49
Trk::TrkAmbiguitySolver::TrkAmbiguitySolver
TrkAmbiguitySolver(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrkAmbiguitySolver.cxx:9
Trk::TrkAmbiguitySolver::m_trackOutCount
std::atomic< long int > m_trackOutCount
Number of tracks passing Ambi solving.
Definition
TrkAmbiguitySolver.h:55
Trk::TrkAmbiguitySolver::execute
StatusCode execute(const EventContext &ctx) const override
Definition
TrkAmbiguitySolver.cxx:31
Trk::TrkAmbiguitySolver::m_trackInCount
std::atomic< long int > m_trackInCount
Number of tracks input.
Definition
TrkAmbiguitySolver.h:53
Trk::TrkAmbiguitySolver::m_ambiTool
ToolHandle< ITrackAmbiguityProcessorTool > m_ambiTool
Definition
TrkAmbiguitySolver.h:50
Trk::TrkAmbiguitySolver::initialize
StatusCode initialize(void) override
Definition
TrkAmbiguitySolver.cxx:18
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0