ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagAlgs
BTagging
BTagging
JetSecVertexingAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef BTAGGING_JETSECVERTEXINGALG_H
6
#define BTAGGING_JETSECVERTEXINGALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
11
namespace
InDet
{
12
class
ISecVertexInJetFinder
;
13
}
14
15
#include <string>
16
17
#include "
xAODJet/JetContainer.h
"
18
#include "
VxSecVertex/VxSecVertexInfo.h
"
19
#include "
xAODBTagging/BTaggingContainer.h
"
20
#include "
xAODTracking/VertexContainer.h
"
21
#include "
xAODBTagging/BTagVertexContainer.h
"
22
#include "
xAODTracking/TrackParticleContainer.h
"
23
24
#include "
JetTagTools/IMSVVariablesFactory.h
"
25
26
#include "
StoreGate/ReadHandleKey.h
"
27
#include "
StoreGate/WriteHandleKey.h
"
28
#include "
StoreGate/WriteDecorHandleKey.h
"
29
30
namespace
Trk
{
31
32
class
VxSecVKalVertexInfo
;
33
class
VxJetFitterVertexInfo
;
34
35
}
36
38
namespace
Analysis
39
{
40
41
class
JetSecVertexingAlg
:
public
AthReentrantAlgorithm
42
{
43
public
:
45
JetSecVertexingAlg
(
const
std::string& name, ISvcLocator *pSvcLocator);
46
virtual
~JetSecVertexingAlg
() =
default
;
47
49
virtual
StatusCode
initialize
()
override
;
50
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
51
52
private
:
53
54
StatusCode
createSecVkalContainer
(
xAOD::VertexContainer
*, std::vector<
ElementLink< xAOD::VertexContainer >
>*,
const
Trk::VxSecVKalVertexInfo
*)
const
;
55
StatusCode
createJFContainer
(
xAOD::BTagVertexContainer
*, std::vector<
ElementLink< xAOD::BTagVertexContainer >
>*,
const
Trk::VxJetFitterVertexInfo
*,
const
xAOD::TrackParticleContainer
*)
const
;
56
57
ToolHandle<IMSVVariablesFactory>
m_MSVvarFactory
;
58
59
std::string
m_secVertexFinderBaseName
;
60
61
SG::ReadHandleKey<xAOD::JetContainer >
m_JetCollectionName
{
this
,
"JetCollectionName"
,
""
,
"Input jet container"
};
62
SG::ReadHandleKey<xAOD::TrackParticleContainer >
m_TrackCollectionName
{
this
,
"TrackCollectionName"
,
""
,
"Input track container"
};
63
SG::ReadHandleKey<xAOD::VertexContainer>
m_VertexCollectionName
{
this
,
"vxPrimaryCollectionName"
,
""
,
"Input primary vertex container"
};
64
SG::ReadHandleKey<Trk::VxSecVertexInfoContainer>
m_VxSecVertexInfoName
{
this
,
"BTagVxSecVertexInfoName"
,
""
,
"Input VxSecVertexInfo container"
};
65
SG::WriteHandleKey<xAOD::VertexContainer>
m_BTagSVCollectionName
{
this
,
"BTagSVCollectionName"
,
""
,
"Output BTagging secondary vertex container"
};
66
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_jetSVLinkName
{
this
,
"JetSecVtxLinkName"
,
""
,
"Element Link vector from jet to Vertex container"
};
67
SG::WriteHandleKey<xAOD::BTagVertexContainer>
m_BTagJFVtxCollectionName
{
this
,
"BTagJFVtxCollectionName"
,
""
,
"Output BTagging Jet Fitter container"
};
68
69
};
// End class
70
71
}
// End namespace
72
73
#endif
// JETSECVERTEXINGALG_H
AthReentrantAlgorithm.h
BTagVertexContainer.h
BTaggingContainer.h
TrackParticleContainer.h
IMSVVariablesFactory.h
JetContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
VertexContainer.h
VxSecVertexInfo.h
Analysis::JetSecVertexingAlg::m_VxSecVertexInfoName
SG::ReadHandleKey< Trk::VxSecVertexInfoContainer > m_VxSecVertexInfoName
Definition
JetSecVertexingAlg.h:64
Analysis::JetSecVertexingAlg::m_TrackCollectionName
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrackCollectionName
Definition
JetSecVertexingAlg.h:62
Analysis::JetSecVertexingAlg::m_VertexCollectionName
SG::ReadHandleKey< xAOD::VertexContainer > m_VertexCollectionName
Definition
JetSecVertexingAlg.h:63
Analysis::JetSecVertexingAlg::~JetSecVertexingAlg
virtual ~JetSecVertexingAlg()=default
Analysis::JetSecVertexingAlg::JetSecVertexingAlg
JetSecVertexingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructors and destructors.
Definition
JetSecVertexingAlg.cxx:31
Analysis::JetSecVertexingAlg::m_BTagJFVtxCollectionName
SG::WriteHandleKey< xAOD::BTagVertexContainer > m_BTagJFVtxCollectionName
Definition
JetSecVertexingAlg.h:67
Analysis::JetSecVertexingAlg::m_secVertexFinderBaseName
std::string m_secVertexFinderBaseName
Definition
JetSecVertexingAlg.h:59
Analysis::JetSecVertexingAlg::m_BTagSVCollectionName
SG::WriteHandleKey< xAOD::VertexContainer > m_BTagSVCollectionName
Definition
JetSecVertexingAlg.h:65
Analysis::JetSecVertexingAlg::m_JetCollectionName
SG::ReadHandleKey< xAOD::JetContainer > m_JetCollectionName
Definition
JetSecVertexingAlg.h:61
Analysis::JetSecVertexingAlg::createSecVkalContainer
StatusCode createSecVkalContainer(xAOD::VertexContainer *, std::vector< ElementLink< xAOD::VertexContainer > > *, const Trk::VxSecVKalVertexInfo *) const
Definition
JetSecVertexingAlg.cxx:223
Analysis::JetSecVertexingAlg::initialize
virtual StatusCode initialize() override
Main routines specific to an ATHENA algorithm.
Definition
JetSecVertexingAlg.cxx:39
Analysis::JetSecVertexingAlg::m_jetSVLinkName
SG::WriteDecorHandleKey< xAOD::JetContainer > m_jetSVLinkName
Definition
JetSecVertexingAlg.h:66
Analysis::JetSecVertexingAlg::m_MSVvarFactory
ToolHandle< IMSVVariablesFactory > m_MSVvarFactory
Definition
JetSecVertexingAlg.h:57
Analysis::JetSecVertexingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
JetSecVertexingAlg.cxx:65
Analysis::JetSecVertexingAlg::createJFContainer
StatusCode createJFContainer(xAOD::BTagVertexContainer *, std::vector< ElementLink< xAOD::BTagVertexContainer > > *, const Trk::VxJetFitterVertexInfo *, const xAOD::TrackParticleContainer *) const
Definition
JetSecVertexingAlg.cxx:243
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
ElementLink< xAOD::VertexContainer >
InDet::ISecVertexInJetFinder
Definition
ISecVertexInJetFinder.h:55
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Trk::VxJetFitterVertexInfo
Definition
VxJetFitterVertexInfo.h:40
Trk::VxSecVKalVertexInfo
Definition
VxSecVKalVertexInfo.h:45
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition
IConstituent.h:25
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
xAOD::BTagVertexContainer
BTagVertexContainer_v1 BTagVertexContainer
Definition of the current "BTagging container version".
Definition
BTagVertexContainer.h:17
xAOD::VertexContainer
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Definition
VertexContainer.h:14
xAOD::TrackParticleContainer
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticleContainer.h:14
Generated on
for ATLAS Offline Software by
1.17.0