ATLAS Offline Software
Loading...
Searching...
No Matches
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
18#include "GaudiKernel/ToolHandle.h"
22
24
30
31namespace InDet
32{
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::VertexContainer > m_verticesInKey
virtual ~InDetPriVxResorter()=default
ToolHandle< Trk::IVertexCollectionSortingTool > m_VertexCollectionSortingTool
virtual StatusCode initialize() override
InDetPriVxResorter(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< xAOD::VertexContainer > m_verticesOutKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Primary Vertex Finder.