ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRecTools
JetRecTools
JetTrackSelectionAlg.h
Go to the documentation of this file.
1
// this is a -*- C++ -*- file
2
/*
3
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
4
*/
5
12
13
#ifndef JetTrackSelectionAlg_H
14
#define JetTrackSelectionAlg_H
15
16
#include "
AnaAlgorithm/AnaReentrantAlgorithm.h
"
17
#include "
AsgTools/ToolHandle.h
"
18
#include "
AsgDataHandles/ReadHandleKey.h
"
19
#include "
AsgDataHandles/WriteHandleKey.h
"
20
#include "
StoreGate/ShallowCopyDecorDeps.h
"
21
22
#include "
InDetTrackSelectionTool/IInDetTrackSelectionTool.h
"
23
24
#include "
xAODTracking/TrackParticleContainer.h
"
25
#include "
AthContainers/ConstDataVector.h
"
26
27
class
IJetExecuteTool
;
28
29
class
JetTrackSelectionAlg
:
public
EL::AnaReentrantAlgorithm
{
30
31
public
:
32
33
JetTrackSelectionAlg
(
const
std::string & n, ISvcLocator* l) :
EL
::
AnaReentrantAlgorithm
(n,l) {}
34
using
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
;
35
37
StatusCode
initialize
()
override
;
38
StatusCode
execute
(
const
EventContext& ctx)
const override
;
39
40
private
:
41
ToolHandle<InDet::IInDetTrackSelectionTool>
m_selector
{
this
,
"TrackSelector"
,
""
,
"track selection tool"
};
42
43
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_input
= {
this
,
"InputContainer"
,
""
,
"The input tracks"
};
44
SG::WriteHandleKey<xAOD::TrackParticleContainer>
m_output
= {
this
,
"OutputContainer"
,
"JetSelectedTracks"
,
"The output filtered tracks"
};
45
46
// this is to tell the scheduler to which decorations will be accessed from the ouput container :
47
SG::ShallowCopyDecorDeps<xAOD::TrackParticleContainer>
m_decorDeps
{
this
,
"DecorDeps"
, {},
"List of decorations to propagate through the view container"
};
48
};
49
50
#endif
AnaReentrantAlgorithm.h
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.
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
TrackParticleContainer.h
IInDetTrackSelectionTool.h
ShallowCopyDecorDeps.h
Helper to propagate decoration dependencies to a shallow copy.
ToolHandle.h
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition
AnaReentrantAlgorithm.h:51
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
IJetExecuteTool
IJetExecuteTool is a dual-use tool interface for generic tools, i.e. those that behave like algorithm...
Definition
IJetExecuteTool.h:19
JetTrackSelectionAlg::m_output
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_output
Definition
JetTrackSelectionAlg.h:44
JetTrackSelectionAlg::m_input
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_input
Definition
JetTrackSelectionAlg.h:43
JetTrackSelectionAlg::initialize
StatusCode initialize() override
Athena algorithm's Hooks.
Definition
JetTrackSelectionAlg.cxx:11
JetTrackSelectionAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
JetTrackSelectionAlg.cxx:27
JetTrackSelectionAlg::m_selector
ToolHandle< InDet::IInDetTrackSelectionTool > m_selector
Definition
JetTrackSelectionAlg.h:41
JetTrackSelectionAlg::m_decorDeps
SG::ShallowCopyDecorDeps< xAOD::TrackParticleContainer > m_decorDeps
Definition
JetTrackSelectionAlg.h:47
JetTrackSelectionAlg::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
JetTrackSelectionAlg::JetTrackSelectionAlg
JetTrackSelectionAlg(const std::string &n, ISvcLocator *l)
Definition
JetTrackSelectionAlg.h:33
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::ShallowCopyDecorDeps
Helper to propagate decoration dependencies to a shallow copy.
Definition
StoreGate/StoreGate/ShallowCopyDecorDeps.h:75
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
Generated on
for ATLAS Offline Software by
1.17.0