ATLAS Offline Software
PFTrackPreselAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef EFLOWREC_PFTRACKPRESELALG_H
5 #define EFLOWREC_PFTRACKPRESELALG_H
6 
11 #include "GaudiKernel/ToolHandle.h"
13 #include "GaudiKernel/SystemOfUnits.h"
14 
23  public:
24  PFTrackPreselAlg(const std::string& name, ISvcLocator* pSvcLocator);
26 
27  virtual StatusCode initialize() override;
28  virtual StatusCode execute(const EventContext& ctx) const override;
29  private:
31  this, "InputTracks", "", "The input track selection"};
33  this, "OutputTracks", "", "The output preselected track collection"};
34  ToolHandle<InDet::IInDetTrackSelectionTool> m_trackSelTool{
35  this, "TrackSelTool", "", "The track selection tool"};
36  Gaudi::Property<float> m_upperPtCut{
37  this, "UpperPtCut", 100 * Gaudi::Units::GeV, "Upper limit on track pT"};
38 
39 }; //> end PFTrackPreselAlg
40 
41 
42 #endif //> !EFLOWREC_PFTRACKPRESELALG_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
PFTrackPreselAlg::initialize
virtual StatusCode initialize() override
Definition: PFTrackPreselAlg.cxx:22
PFTrackPreselAlg::m_inputTracksKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputTracksKey
Definition: PFTrackPreselAlg.h:30
PFTrackPreselAlg::m_outputTracksKey
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outputTracksKey
Definition: PFTrackPreselAlg.h:32
PFTrackPreselAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: PFTrackPreselAlg.cxx:30
PFTrackPreselAlg::PFTrackPreselAlg
PFTrackPreselAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PFTrackPreselAlg.cxx:15
SG::ReadHandleKey< xAOD::TrackParticleContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SG::WriteHandleKey< xAOD::TrackParticleContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IInDetTrackSelectionTool.h
AthReentrantAlgorithm.h
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:195
PFTrackPreselAlg
Algorithm producing a preselected set of tracks.
Definition: PFTrackPreselAlg.h:22
PFTrackPreselAlg::m_trackSelTool
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelTool
Definition: PFTrackPreselAlg.h:34
PFTrackPreselAlg::m_upperPtCut
Gaudi::Property< float > m_upperPtCut
Definition: PFTrackPreselAlg.h:36
GeV
#define GeV
Definition: CaloTransverseBalanceVecMon.cxx:30
TrackParticleContainer.h