ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecAlgs
InDetSecVtxFinder
InDetSecVtxFinder
InDetSecVtxFinder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/***************************************************************************
6
InDetSecVtxFinder.h - Description
7
-------------------
8
begin : Nov 10 2016
9
authors : Lianyou SHAN ( IHEP-Beijing )
10
Base : InDetPriVxFinder, only an interface for reconstructed PriVtx to a SecVtxTool
11
authors : Andreas Wildauer (CERN PH-ATC), Fredrik Akesson (CERN PH-ATC)
12
author of most recent changes : Neža Ribarič (Lancaster University, UK)
13
changes : Added functionality to call multiple Finder Tools
14
***************************************************************************/
15
#include "
CxxUtils/checker_macros.h
"
16
17
#ifndef INDETSECVXFINDER_INDETSECVXFINDER_H
18
#define INDETSECVXFINDER_INDETSECVXFINDER_H
19
#include "
AthenaBaseComps/AthAlgorithm.h
"
20
#include "GaudiKernel/ToolHandle.h"
21
#include "
xAODTracking/TrackParticleContainer.h
"
22
#include "
xAODTracking/VertexContainer.h
"
23
24
#include "
InDetRecToolInterfaces/IInDetAdaptiveMultiSecVtxFinderTool.h
"
25
26
/* Forward declarations */
27
28
29
namespace
InDet
30
{
31
class
IAdaptiveMultiSecVertexFinder
;
32
33
class
InDetSecVtxFinder
:
public
AthAlgorithm
34
{
35
public
:
36
InDetSecVtxFinder
(
const
std::string &name, ISvcLocator *pSvcLocator);
37
virtual
~InDetSecVtxFinder
() =
default
;
38
StatusCode
initialize
();
39
StatusCode
execute
(
const
EventContext& ctx);
40
StatusCode
finalize
();
41
private
:
42
43
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_inputTrackParticles
{
this
,
"inputTrackParticles"
,
"InDetTrackParticles"
,
"xAOD::TrackParticle Container used in Vertexing"
};
44
SG::WriteHandleKey<xAOD::VertexContainer>
m_outputSecondaryVertices
{
this
,
"outputSecondaryVertices"
,
"AdaptiveMultiSecVtx"
,
"Output Secondary Vertex Container"
};
45
SG::ReadHandleKey<xAOD::VertexContainer>
m_inputPrimaryVertices
{
this
,
"inputPrimaryVertices"
,
"PrimaryVertices"
,
"Input Primary Vertex Container"
};
46
47
ToolHandle<InDet::IAdaptiveMultiSecVertexFinder>
m_AdaptiveMultiVertexFinderTool
{
this
,
"AdaptiveMultiVertexFinderTool"
,
"InDet::InDetAdaptiveMultiSecVtxFinderTool"
,
"adaptive multi secondary vertex finder tool"
};
48
49
// for summary output at the end
50
unsigned
int
m_numEventsProcessed
;
51
unsigned
int
m_totalNumVerticesWithoutDummy
;
52
};
53
}
54
#endif
AthAlgorithm.h
TrackParticleContainer.h
IInDetAdaptiveMultiSecVtxFinderTool.h
VertexContainer.h
checker_macros.h
Define macros for attributes used to control the static checker.
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
InDet::IAdaptiveMultiSecVertexFinder
Definition
IInDetAdaptiveMultiSecVtxFinderTool.h:32
InDet::InDetSecVtxFinder::m_numEventsProcessed
unsigned int m_numEventsProcessed
Definition
InDetSecVtxFinder.h:50
InDet::InDetSecVtxFinder::m_inputTrackParticles
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputTrackParticles
Definition
InDetSecVtxFinder.h:43
InDet::InDetSecVtxFinder::finalize
StatusCode finalize()
Definition
InDetSecVtxFinder.cxx:127
InDet::InDetSecVtxFinder::m_totalNumVerticesWithoutDummy
unsigned int m_totalNumVerticesWithoutDummy
Definition
InDetSecVtxFinder.h:51
InDet::InDetSecVtxFinder::m_AdaptiveMultiVertexFinderTool
ToolHandle< InDet::IAdaptiveMultiSecVertexFinder > m_AdaptiveMultiVertexFinderTool
Definition
InDetSecVtxFinder.h:47
InDet::InDetSecVtxFinder::m_outputSecondaryVertices
SG::WriteHandleKey< xAOD::VertexContainer > m_outputSecondaryVertices
Definition
InDetSecVtxFinder.h:44
InDet::InDetSecVtxFinder::~InDetSecVtxFinder
virtual ~InDetSecVtxFinder()=default
InDet::InDetSecVtxFinder::m_inputPrimaryVertices
SG::ReadHandleKey< xAOD::VertexContainer > m_inputPrimaryVertices
Definition
InDetSecVtxFinder.h:45
InDet::InDetSecVtxFinder::initialize
StatusCode initialize()
Definition
InDetSecVtxFinder.cxx:38
InDet::InDetSecVtxFinder::InDetSecVtxFinder
InDetSecVtxFinder(const std::string &name, ISvcLocator *pSvcLocator)
Definition
InDetSecVtxFinder.cxx:31
InDet::InDetSecVtxFinder::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
InDetSecVtxFinder.cxx:55
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