ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
eflowRec
src
PFTrackPreselAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef EFLOWREC_PFTRACKPRESELALG_H
5
#define EFLOWREC_PFTRACKPRESELALG_H
6
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
#include "
StoreGate/ReadHandleKey.h
"
9
#include "
StoreGate/WriteHandleKey.h
"
10
#include "
StoreGate/WriteDecorHandleKey.h
"
11
#include "
xAODTracking/TrackParticleContainer.h
"
12
#include "GaudiKernel/ToolHandle.h"
13
#include "
InDetTrackSelectionTool/IInDetTrackSelectionTool.h
"
14
#include "GaudiKernel/SystemOfUnits.h"
15
23
class
PFTrackPreselAlg
:
public
AthReentrantAlgorithm
{
24
public
:
25
PFTrackPreselAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
26
~PFTrackPreselAlg
();
27
28
virtual
StatusCode
initialize
()
override
;
29
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
30
private
:
31
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_inputTracksKey
{
32
this
,
"InputTracks"
,
""
,
"The input track selection"
};
33
SG::WriteHandleKey<xAOD::TrackParticleContainer>
m_outputTracksKey
{
34
this
,
"OutputTracks"
,
""
,
"The output preselected track collection"
};
35
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_outputDecorKey
{
36
this
,
"OutputDecor"
,
m_inputTracksKey
,
"passPFTrackPresel"
,
"Output decoration"
};
37
ToolHandle<InDet::IInDetTrackSelectionTool>
m_trackSelTool
{
38
this
,
"TrackSelTool"
,
""
,
"The track selection tool"
};
39
Gaudi::Property<float>
m_upperPtCut
{
40
this
,
"UpperPtCut"
, 100 * Gaudi::Units::GeV,
"Upper limit on track pT"
};
41
42
};
//> end PFTrackPreselAlg
43
44
45
#endif
//> !EFLOWREC_PFTRACKPRESELALG_H
AthReentrantAlgorithm.h
TrackParticleContainer.h
IInDetTrackSelectionTool.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.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
PFTrackPreselAlg::m_upperPtCut
Gaudi::Property< float > m_upperPtCut
Definition
PFTrackPreselAlg.h:39
PFTrackPreselAlg::m_trackSelTool
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelTool
Definition
PFTrackPreselAlg.h:37
PFTrackPreselAlg::m_inputTracksKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputTracksKey
Definition
PFTrackPreselAlg.h:31
PFTrackPreselAlg::~PFTrackPreselAlg
~PFTrackPreselAlg()
PFTrackPreselAlg::m_outputDecorKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_outputDecorKey
Definition
PFTrackPreselAlg.h:35
PFTrackPreselAlg::m_outputTracksKey
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outputTracksKey
Definition
PFTrackPreselAlg.h:33
PFTrackPreselAlg::PFTrackPreselAlg
PFTrackPreselAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
PFTrackPreselAlg.cxx:12
PFTrackPreselAlg::initialize
virtual StatusCode initialize() override
Definition
PFTrackPreselAlg.cxx:19
PFTrackPreselAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
PFTrackPreselAlg.cxx:31
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
Generated on
for ATLAS Offline Software by
1.17.0