ATLAS Offline Software
TrkAmbiguityScore.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 /***************************************************************************
7 TrkAmbiguityScore Algorithm
8 ***************************************************************************/
9 
10 
11 #ifndef TRKAMBIGUITYSCORE_H
12 #define TRKAMBIGUITYSCORE_H
13 
15 #include "GaudiKernel/ToolHandle.h"
20 #include <string>
21 
22 namespace Trk
23 {
24  class ITrackAmbiguityProcessorTool;
25  class ITrackAmbiguityScoreProcessorTool;
26 
27  class TrkAmbiguityScore : public AthReentrantAlgorithm
28  {
29  public:
30  TrkAmbiguityScore(const std::string& name, ISvcLocator* pSvcLocator);
31  ~TrkAmbiguityScore(void);
32 
33  StatusCode initialize(void) override;
34  StatusCode execute(const EventContext& ctx) const override;
35  StatusCode finalize(void) override;
36 
37  private:
40  ToolHandle<ITrackAmbiguityScoreProcessorTool> m_scoreTool;
41  };
42 
43 }
44 
45 
46 #endif
Trk::TrkAmbiguityScore::TrkAmbiguityScore
TrkAmbiguityScore(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrkAmbiguityScore.cxx:8
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
Trk::TrkAmbiguityScore::execute
StatusCode execute(const EventContext &ctx) const override
Definition: TrkAmbiguityScore.cxx:35
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
Trk::TrkAmbiguityScore::finalize
StatusCode finalize(void) override
Definition: TrkAmbiguityScore.cxx:66
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
Trk::TrkAmbiguityScore::m_originTracksKey
SG::ReadHandleKeyArray< TrackCollection > m_originTracksKey
Definition: TrkAmbiguityScore.h:40
SG::WriteHandleKey< TracksScores >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCollection.h
Trk::TrkAmbiguityScore::m_scoredTracksKey
SG::WriteHandleKey< TracksScores > m_scoredTracksKey
Definition: TrkAmbiguityScore.h:41
AthReentrantAlgorithm.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::TrkAmbiguityScore::m_scoreTool
ToolHandle< ITrackAmbiguityScoreProcessorTool > m_scoreTool
Definition: TrkAmbiguityScore.h:42
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
Trk::TrkAmbiguityScore::initialize
StatusCode initialize(void) override
Definition: TrkAmbiguityScore.cxx:25
Trk::TrkAmbiguityScore::~TrkAmbiguityScore
~TrkAmbiguityScore(void)
ITrackAmbiguityScoreProcessorTool.h