Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
12 #include "GaudiKernel/ToolHandle.h"
14 #include "GaudiKernel/SystemOfUnits.h"
15 
24  public:
25  PFTrackPreselAlg(const std::string& name, ISvcLocator* pSvcLocator);
27 
28  virtual StatusCode initialize() override;
29  virtual StatusCode execute(const EventContext& ctx) const override;
30  private:
32  this, "InputTracks", "", "The input track selection"};
34  this, "OutputTracks", "", "The output preselected track collection"};
36  this, "OutputDecor" , "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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer >
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
PFTrackPreselAlg::initialize
virtual StatusCode initialize() override
Definition: PFTrackPreselAlg.cxx:19
PFTrackPreselAlg::m_inputTracksKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputTracksKey
Definition: PFTrackPreselAlg.h:31
PFTrackPreselAlg::m_outputTracksKey
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outputTracksKey
Definition: PFTrackPreselAlg.h:33
PFTrackPreselAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: PFTrackPreselAlg.cxx:32
PFTrackPreselAlg::PFTrackPreselAlg
PFTrackPreselAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PFTrackPreselAlg.cxx:12
SG::ReadHandleKey< xAOD::TrackParticleContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
SG::WriteHandleKey< xAOD::TrackParticleContainer >
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IInDetTrackSelectionTool.h
AthReentrantAlgorithm.h
PFTrackPreselAlg::m_outputDecorKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_outputDecorKey
Definition: PFTrackPreselAlg.h:35
PFTrackPreselAlg::~PFTrackPreselAlg
~PFTrackPreselAlg()
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
PFTrackPreselAlg
Algorithm producing a preselected set of tracks.
Definition: PFTrackPreselAlg.h:23
PFTrackPreselAlg::m_trackSelTool
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelTool
Definition: PFTrackPreselAlg.h:37
PFTrackPreselAlg::m_upperPtCut
Gaudi::Property< float > m_upperPtCut
Definition: PFTrackPreselAlg.h:39
TrackParticleContainer.h