ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecAlgs
InDetPriVxFinder
InDetPriVxFinder
InDetPriVxResorter.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
InDetPriVxResorter.h - Description
7
-------------------
8
begin : 15-08-2024
9
authors : Teng Jian Khoo
10
email : teng.jian.khoo@cern.ch
11
changes :
12
13
***************************************************************************/
14
15
#ifndef INDETPRIVXRESORTER_INDETPRIVXRESORTER_H
16
#define INDETPRIVXRESORTER_INDETPRIVXRESORTER_H
17
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
18
#include "GaudiKernel/ToolHandle.h"
19
#include "
StoreGate/ReadHandleKey.h
"
20
#include "
StoreGate/WriteHandleKey.h
"
21
#include "
xAODTracking/VertexContainer.h
"
22
23
#include "
TrkVertexFitterInterfaces/IVertexCollectionSortingTool.h
"
24
30
31
namespace
InDet
32
{
33
class
InDetPriVxResorter
:
public
AthReentrantAlgorithm
34
{
35
public
:
36
InDetPriVxResorter
(
const
std::string &name, ISvcLocator *pSvcLocator);
37
38
virtual
~InDetPriVxResorter
() =
default
;
39
40
// Gaudi algorithm hooks
41
virtual
StatusCode
initialize
()
override
;
42
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
43
44
private
:
45
46
SG::ReadHandleKey<xAOD::VertexContainer>
m_verticesInKey
{
this
,
"VerticesIn"
,
"PrimaryVertices"
,
"Input Vertex Collection"
};
47
SG::WriteHandleKey<xAOD::VertexContainer>
m_verticesOutKey
{
this
,
"VerticesOut"
,
"PrimaryVertices_resorted"
,
"Output Vertex Collection"
};
48
ToolHandle<Trk::IVertexCollectionSortingTool >
m_VertexCollectionSortingTool
{
this
,
"VertexCollectionSortingTool"
,
""
,
"Vertex collection sorting tool"
};
49
50
};
51
}
52
#endif
AthReentrantAlgorithm.h
IVertexCollectionSortingTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
VertexContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
InDet::InDetPriVxResorter::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
InDetPriVxResorter.cxx:41
InDet::InDetPriVxResorter::m_verticesInKey
SG::ReadHandleKey< xAOD::VertexContainer > m_verticesInKey
Definition
InDetPriVxResorter.h:46
InDet::InDetPriVxResorter::~InDetPriVxResorter
virtual ~InDetPriVxResorter()=default
InDet::InDetPriVxResorter::m_VertexCollectionSortingTool
ToolHandle< Trk::IVertexCollectionSortingTool > m_VertexCollectionSortingTool
Definition
InDetPriVxResorter.h:48
InDet::InDetPriVxResorter::initialize
virtual StatusCode initialize() override
Definition
InDetPriVxResorter.cxx:26
InDet::InDetPriVxResorter::InDetPriVxResorter
InDetPriVxResorter(const std::string &name, ISvcLocator *pSvcLocator)
Definition
InDetPriVxResorter.cxx:22
InDet::InDetPriVxResorter::m_verticesOutKey
SG::WriteHandleKey< xAOD::VertexContainer > m_verticesOutKey
Definition
InDetPriVxResorter.h:47
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
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0