3#ifndef ADDTRACKSUMMARYALG_H
4#define ADDTRACKSUMMARYALG_H
12#include "GaudiKernel/ToolHandle.h"
30 virtual StatusCode
execute(
const EventContext& ctx)
const override;
35 this,
"InputTrackCollection",
"",
"Input track collection to add summaries to"};
39 this,
"OutputTrackCollection",
"",
"Output track collection with summaries added"};
43 this,
"TrackSummaryTool",
"",
"Track summary tool"};
46 Gaudi::Property<float>
m_minPt{
this,
"MinPt", 0.0,
"Only add summary if pT > MinPt [MeV]"};
47 Gaudi::Property<float>
m_maxAbsEta{
this,
"MaxAbsEta", 99.0,
"Only add summary if |eta| < MaxAbsEta"};
DataVector adapter that acts like it holds const pointers.
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.
An algorithm that can be simultaneously executed in multiple threads.
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.
AddTrackSummaryAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
SG::WriteHandleKey< ConstDataVector< TrackCollection > > m_outputTrackCollection
Output track collection with summaries added.
virtual ~AddTrackSummaryAlg()=default
Gaudi::Property< float > m_minPt
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< TrackCollection > m_inputTrackCollection
Input track collection (read-only)
Gaudi::Property< float > m_maxAbsEta
ToolHandle< Trk::ITrackSummaryTool > m_trackSummaryTool
Track summary tool.
Ensure that the ATLAS eigen extensions are properly loaded.