ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecAlgs
InDetTrackPRD_Association
InDetTrackPRD_Association
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>
12
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
13
#include "
StoreGate/ReadHandleKeyArray.h
"
14
#include "
StoreGate/WriteHandleKey.h
"
15
#include "
TrkTrack/TrackCollection.h
"
16
17
#include "GaudiKernel/ToolHandle.h"
18
#include "
TrkToolInterfaces/IPRDtoTrackMapTool.h
"
19
#include "
TrkEventUtils/PRDtoTrackMap.h
"
20
21
namespace
InDet
{
22
23
24
// Class-algorithm for track accotiation with PRD
25
//
26
class
InDetTrackPRD_Association
:
public
AthReentrantAlgorithm
27
{
28
30
// Public methods:
32
33
public
:
34
36
// Standard Algotithm methods
38
39
InDetTrackPRD_Association
(
const
std::string &name, ISvcLocator *pSvcLocator);
40
virtual
~InDetTrackPRD_Association
() {}
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
52
SG::ReadHandleKeyArray<TrackCollection>
m_tracksName
53
{
this
,
"TracksName"
,{}};
54
55
ToolHandle<Trk::IPRDtoTrackMapTool>
m_assoTool
56
{
this
,
"AssociationTool"
,
"InDet::InDetPRDtoTrackMapToolGangedPixels"
};
57
58
59
SG::WriteHandleKey<Trk::PRDtoTrackMap>
m_assoMapName
60
{
this
,
"AssociationMapName"
,
""
};
61
63
// Protected methods
65
66
};
67
}
68
#endif
// InDetTrackPRD_Association_H
AthReentrantAlgorithm.h
IPRDtoTrackMapTool.h
PRDtoTrackMap.h
ReadHandleKeyArray.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrackCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
InDet::InDetTrackPRD_Association::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
InDetTrackPRD_Association.cxx:28
InDet::InDetTrackPRD_Association::InDetTrackPRD_Association
InDetTrackPRD_Association(const std::string &name, ISvcLocator *pSvcLocator)
Definition
InDetTrackPRD_Association.cxx:13
InDet::InDetTrackPRD_Association::initialize
virtual StatusCode initialize() override
Definition
InDetTrackPRD_Association.cxx:17
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
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::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
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
Generated on
for ATLAS Offline Software by
1.17.0