4#ifndef PFTRACKSELECTOR_H
5#define PFTRACKSELECTOR_H
37 StatusCode
execute(
const EventContext& ctx)
const;
54 "InDetTrackParticles",
55 "ReadHandleKey for the TrackParticleContainer to be used as input"
62 "eflowRec_selectedElectrons",
63 "ReadHandleKey for the ElectronContainer to be used as input"
70 "eflowRec_selectedMuons",
71 "ReadHandleKey for the MuonContainer to be used as input"
77 "eflowRecTracksOutputName",
79 "WriteHandleKey for the eflowRecTrackContainer to write out"
85 "primary vertex container" };
90 "trackExtrapolatorTool",
91 "Trk::ParticleCaloExtensionTool",
92 "ToolHandle for track extrapolation to calorimeter tool"
96 ToolHandle<InDet::IInDetTrackSelectionTool>
97 m_trackSelectorTool{
this,
"trackSelectionTool",
"",
"ToolHandle to track selection tool provided by tracking CP" };
103 "Upper limit on track Pt for input tracks" };
106 ToolHandle<GenericMonitoringTool>
m_monTool{
this,
"MonTool",
"",
"Monitoring tool" };
Header file to be included by clients of the Monitored infrastructure.
An algorithm that can be simultaneously executed in multiple threads.
bool selectTrack(const xAOD::TrackParticle &track) const
This applys a selection criteria to the track using the tracking CP track selection tool.
SG::WriteHandleKey< eflowRecTrackContainer > m_eflowRecTracksWriteHandleKey
WriteHandleKey for the eflowRecTrackContainer to write out.
bool isMuon(const xAOD::TrackParticle *track) const
check if track belongs to an muon
bool isElectron(const xAOD::TrackParticle *track) const
check if track belongs to an electron
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
PFTrackSelector(const std::string &name, ISvcLocator *pSvcLocator)
Default constructor.
StatusCode initialize()
Gaudi AthAlgorithm hooks.
ToolHandle< eflowTrackExtrapolatorBaseAlgTool > m_theTrackExtrapolatorTool
ToolHandle for track extrapolation to calorimeter tool.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracksReadHandleKey
ReadHandleKey for the TrackParticleContainer to be used as input.
StatusCode execute(const EventContext &ctx) const
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelectorTool
ToolHandle to track selection tool provided by tracking CP.
SG::ReadHandleKey< xAOD::MuonContainer > m_muonsReadHandleKey
ReadHandleKey for the MuonContainer to be used as input.
ToolHandle< GenericMonitoringTool > m_monTool
Online monitoring tool for recording histograms of the alg in action.
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronsReadHandleKey
ReadHandleKey for the ElectronContainer to be used as input.
~PFTrackSelector()
Default destructor.
Gaudi::Property< float > m_upperTrackPtCut
Upper limit on track Pt for input tracks.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
TrackParticle_v1 TrackParticle
Reference the current persistent version: