ATLAS Offline Software
Loading...
Searching...
No Matches
JetSecVtxFindingAlg.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#ifndef BTAGGING_JETSECVTXFINDINGALG_H
6#define BTAGGING_JETSECVTXFINDINGALG_H
7
10#include "GaudiKernel/ToolHandle.h"
11
12#include <string>
13
14//general interface for secondary vertex finders
16
20
23
25namespace Analysis
26{
27
29 {
30 public:
32 JetSecVtxFindingAlg(const std::string& name, ISvcLocator *pSvcLocator);
33 virtual ~JetSecVtxFindingAlg() = default;
34
36 virtual StatusCode initialize() override final;
37 virtual StatusCode execute(const EventContext& ctx) const override final;
38
39 private:
40
41 ToolHandle< InDet::ISecVertexInJetFinder > m_secVertexFinderToolHandle;
42
43 SG::ReadHandleKey<xAOD::JetContainer > m_JetCollectionName {this, "JetCollectionName", "", "Input jet container"};
44 SG::ReadDecorHandleKey<xAOD::JetContainer> m_TracksToTag { this, "TracksToTag", "", "Element Link vector from jet to IParticleContainer"};
45 SG::ReadHandleKey<xAOD::VertexContainer> m_VertexCollectionName {this, "vxPrimaryCollectionName", "", "Input primary vertex container"};
46 SG::WriteHandleKey<Trk::VxSecVertexInfoContainer> m_VxSecVertexInfoName {this, "BTagVxSecVertexInfoName", "", "Output VxSecVertexInfo container"};
47
51
52 }; // End class
53
54} // End namespace
55
56#endif // JETSECVTXFINDINGALG_H
Cached value with atomic update.
JetContainer_v1 JetContainer
Definition of the current "jet container version".
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.
ToolHandle< InDet::ISecVertexInJetFinder > m_secVertexFinderToolHandle
SG::ReadDecorHandleKey< xAOD::JetContainer > m_TracksToTag
virtual ~JetSecVtxFindingAlg()=default
virtual StatusCode execute(const EventContext &ctx) const override final
JetSecVtxFindingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructors and destructors.
SG::ReadHandleKey< xAOD::VertexContainer > m_VertexCollectionName
CxxUtils::CachedValue< std::vector< SG::auxid_t > > m_decorIDs
List of the track decorations that we produce.
SG::ReadHandleKey< xAOD::JetContainer > m_JetCollectionName
SG::WriteHandleKey< Trk::VxSecVertexInfoContainer > m_VxSecVertexInfoName
virtual StatusCode initialize() override final
Main routines specific to an ATHENA algorithm.
An algorithm that can be simultaneously executed in multiple threads.
Cached value with atomic update.
Definition CachedValue.h:55
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
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.
The namespace of all packages in PhysicsAnalysis/JetTagging.
Primary Vertex Finder.
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define private