5#ifndef EGAMMAALGS_EGAMMARECBUILDER_H
6#define EGAMMAALGS_EGAMMARECBUILDER_H
9#include "GaudiKernel/EventContext.h"
10#include "GaudiKernel/ToolHandle.h"
46 virtual StatusCode
initialize()
override final;
47 virtual StatusCode
execute(
const EventContext& ctx)
const override final;
51 template <
typename T> StatusCode
RetrieveTool(ToolHandle<T> &tool,
bool tool_requested);
55 "InputClusterContainerName",
57 "Name of input cluster container"
64 "egammaRecCollection",
65 "Output container for egammaRec objects"
71 "trackMatchedEgammaRecs",
72 "trackMatchedEgammaRecs",
73 "View container of the track matched egammaRecs"
78 "TrackMatchBuilderTool",
79 "EMTrackMatchBuilder",
80 "Tool that matches tracks to egammaRecs"
86 "ConversionBuilderTool",
87 "EMConversionBuilder",
88 "Tool that matches conversion vertices to egammaRecs"
95 "Boolean to do track matching" };
101 "Boolean to do conversion matching" };
107 "doTrackMatchedView",
109 "Produce a view of the egammaRecs that have an attached track"
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.
Interface for the Reconstruction/egamma/egammaRec/EMConversionBuilder.
Interface for the Reconstruction/egamma/egammaTools/EMTrackMatchBuilder.
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.
SG::WriteHandleKey< EgammaRecContainer > m_egammaRecContainerKey
Key for egammaRec container.
Gaudi::Property< bool > m_doTrackMatching
private member flag to do the track matching
StatusCode RetrieveTool(ToolHandle< T > &tool, bool tool_requested)
Wrap tool retrieval, ensuring it was named and requested.
virtual StatusCode execute(const EventContext &ctx) const override final
SG::WriteHandleKey< ConstDataVector< EgammaRecContainer > > m_trackMatchedEgammaRecs
Gaudi::Property< bool > m_doTrackMatchedView
private member flag to produce of view of track matched egammaRecs
egammaRecBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_doConversions
private member flag to do the conversion matching
ToolHandle< IEMConversionBuilder > m_conversionBuilder
Tool to perfrom conversion vertex matching.
virtual StatusCode initialize() override final
ToolHandle< IEMTrackMatchBuilder > m_trackMatchBuilder
Tool to perform track matching.
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_inputClusterContainerKey
Key for the topo cluster input collection.