ATLAS Offline Software
InDetTrackPRD_Association.h
Go to the documentation of this file.
1 //Dear emacs, this is -*-c++-*-*
2 
3 /*
4  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef InDetTrackPRD_Association_H
9 #define InDetTrackPRD_Association_H
10 
11 #include <string>
16 
17 #include "GaudiKernel/ToolHandle.h"
20 
21 namespace InDet {
22 
23 
24  // Class-algorithm for track accotiation with PRD
25  //
27  {
28 
30  // Public methods:
32 
33  public:
34 
36  // Standard Algotithm methods
38 
39  InDetTrackPRD_Association(const std::string &name, ISvcLocator *pSvcLocator);
41  virtual StatusCode initialize() override;
42  virtual StatusCode execute(const EventContext& ctx) const override;
43  virtual StatusCode finalize() override;
44 
45  private:
46 
48  // Protected data
50 
51 
53  {this,"TracksName",{}};
54 
55  ToolHandle<Trk::IPRDtoTrackMapTool> m_assoTool
56  {this, "AssociationTool", "InDet::InDetPRDtoTrackMapToolGangedPixels" };
57 
58 
60  {this,"AssociationMapName",""};
61 
63  // Protected methods
65 
66  };
67 }
68 #endif // InDetTrackPRD_Association_H
ReadHandleKeyArray.h
PRDtoTrackMap.h
InDet::InDetTrackPRD_Association::initialize
virtual StatusCode initialize() override
Definition: InDetTrackPRD_Association.cxx:17
InDet::InDetTrackPRD_Association::m_assoMapName
SG::WriteHandleKey< Trk::PRDtoTrackMap > m_assoMapName
the key given to the newly created association map
Definition: InDetTrackPRD_Association.h:60
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
InDet::InDetTrackPRD_Association::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: InDetTrackPRD_Association.cxx:28
SG::WriteHandleKey< Trk::PRDtoTrackMap >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCollection.h
InDet::InDetTrackPRD_Association
Definition: InDetTrackPRD_Association.h:27
InDet::InDetTrackPRD_Association::finalize
virtual StatusCode finalize() override
Definition: InDetTrackPRD_Association.cxx:59
InDet::InDetTrackPRD_Association::m_tracksName
SG::ReadHandleKeyArray< TrackCollection > m_tracksName
Name of track collections.
Definition: InDetTrackPRD_Association.h:53
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
IPRDtoTrackMapTool.h
InDet::InDetTrackPRD_Association::InDetTrackPRD_Association
InDetTrackPRD_Association(const std::string &name, ISvcLocator *pSvcLocator)
Definition: InDetTrackPRD_Association.cxx:13
InDet::InDetTrackPRD_Association::m_assoTool
ToolHandle< Trk::IPRDtoTrackMapTool > m_assoTool
Definition: InDetTrackPRD_Association.h:56
InDet::InDetTrackPRD_Association::~InDetTrackPRD_Association
virtual ~InDetTrackPRD_Association()
Definition: InDetTrackPRD_Association.h:40