ATLAS Offline Software
Loading...
Searching...
No Matches
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" , 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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< float > m_upperPtCut
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelTool
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputTracksKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_outputDecorKey
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outputTracksKey
PFTrackPreselAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &ctx) const override
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.