ATLAS Offline Software
Loading...
Searching...
No Matches
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
9#include "GaudiKernel/ToolHandle.h"
10
11namespace InDet {
13}
14
15#include <string>
16
23
25
29
30namespace Trk{
31
34
35}
36
38namespace Analysis
39{
40
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
56
57 ToolHandle<IMSVVariablesFactory> m_MSVvarFactory;
58
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadHandleKey< Trk::VxSecVertexInfoContainer > m_VxSecVertexInfoName
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrackCollectionName
SG::ReadHandleKey< xAOD::VertexContainer > m_VertexCollectionName
virtual ~JetSecVertexingAlg()=default
JetSecVertexingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructors and destructors.
SG::WriteHandleKey< xAOD::BTagVertexContainer > m_BTagJFVtxCollectionName
SG::WriteHandleKey< xAOD::VertexContainer > m_BTagSVCollectionName
SG::ReadHandleKey< xAOD::JetContainer > m_JetCollectionName
StatusCode createSecVkalContainer(xAOD::VertexContainer *, std::vector< ElementLink< xAOD::VertexContainer > > *, const Trk::VxSecVKalVertexInfo *) const
virtual StatusCode initialize() override
Main routines specific to an ATHENA algorithm.
SG::WriteDecorHandleKey< xAOD::JetContainer > m_jetSVLinkName
ToolHandle< IMSVVariablesFactory > m_MSVvarFactory
virtual StatusCode execute(const EventContext &ctx) const override
StatusCode createJFContainer(xAOD::BTagVertexContainer *, std::vector< ElementLink< xAOD::BTagVertexContainer > > *, const Trk::VxJetFitterVertexInfo *, const xAOD::TrackParticleContainer *) const
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
The namespace of all packages in PhysicsAnalysis/JetTagging.
Primary Vertex Finder.
Ensure that the ATLAS eigen extensions are properly loaded.
BTagVertexContainer_v1 BTagVertexContainer
Definition of the current "BTagging container version".
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".