ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagAlgs
BTagging
BTagging
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
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
CxxUtils/CachedValue.h
"
10
#include "GaudiKernel/ToolHandle.h"
11
12
#include <string>
13
14
//general interface for secondary vertex finders
15
#include "
InDetRecToolInterfaces/ISecVertexInJetFinder.h
"
16
17
#include "
xAODJet/JetContainer.h
"
18
#include "
xAODTracking/VertexContainer.h
"
19
#include "
VxSecVertex/VxSecVertexInfo.h
"
20
21
#include "
StoreGate/ReadHandleKey.h
"
22
#include "
StoreGate/WriteHandleKey.h
"
23
25
namespace
Analysis
26
{
27
28
class
JetSecVtxFindingAlg
:
public
AthReentrantAlgorithm
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
50
CxxUtils::CachedValue<std::vector<SG::auxid_t>
>
m_decorIDs
;
51
52
};
// End class
53
54
}
// End namespace
55
56
#endif
// JETSECVTXFINDINGALG_H
AthReentrantAlgorithm.h
CachedValue.h
Cached value with atomic update.
ISecVertexInJetFinder.h
JetContainer.h
JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
VertexContainer.h
VxSecVertexInfo.h
Analysis::JetSecVtxFindingAlg::m_secVertexFinderToolHandle
ToolHandle< InDet::ISecVertexInJetFinder > m_secVertexFinderToolHandle
Definition
JetSecVtxFindingAlg.h:41
Analysis::JetSecVtxFindingAlg::m_TracksToTag
SG::ReadDecorHandleKey< xAOD::JetContainer > m_TracksToTag
Definition
JetSecVtxFindingAlg.h:44
Analysis::JetSecVtxFindingAlg::~JetSecVtxFindingAlg
virtual ~JetSecVtxFindingAlg()=default
Analysis::JetSecVtxFindingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
JetSecVtxFindingAlg.cxx:47
Analysis::JetSecVtxFindingAlg::JetSecVtxFindingAlg
JetSecVtxFindingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructors and destructors.
Definition
JetSecVtxFindingAlg.cxx:14
Analysis::JetSecVtxFindingAlg::m_VertexCollectionName
SG::ReadHandleKey< xAOD::VertexContainer > m_VertexCollectionName
Definition
JetSecVtxFindingAlg.h:45
Analysis::JetSecVtxFindingAlg::m_decorIDs
CxxUtils::CachedValue< std::vector< SG::auxid_t > > m_decorIDs
List of the track decorations that we produce.
Definition
JetSecVtxFindingAlg.h:50
Analysis::JetSecVtxFindingAlg::m_JetCollectionName
SG::ReadHandleKey< xAOD::JetContainer > m_JetCollectionName
Definition
JetSecVtxFindingAlg.h:43
Analysis::JetSecVtxFindingAlg::m_VxSecVertexInfoName
SG::WriteHandleKey< Trk::VxSecVertexInfoContainer > m_VxSecVertexInfoName
Definition
JetSecVtxFindingAlg.h:46
Analysis::JetSecVtxFindingAlg::initialize
virtual StatusCode initialize() override final
Main routines specific to an ATHENA algorithm.
Definition
JetSecVtxFindingAlg.cxx:22
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CxxUtils::CachedValue
Cached value with atomic update.
Definition
CachedValue.h:55
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
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
const
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition
IConstituent.h:25
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0