5#ifndef TRIGL2MUONSA_MDTDATAPREPARATOR_H
6#define TRIGL2MUONSA_MDTDATAPREPARATOR_H
9#include "GaudiKernel/ServiceHandle.h"
25#include <unordered_set>
67 const EventContext& ctx,
73 const std::vector<IdentifierHash>& v_idHash,
83 ToolHandle<IRegSelTool>
m_regionSelector{
this,
"RegSel_MDT",
"RegSelTool/RegSelTool_MDT"};
87 this,
"MdtRegionDefiner",
"TrigL2MuonSA::MdtRegionDefiner"};
91 this,
"MDTPrepDataContainer",
"MDT_DriftCircles",
"Name of the MDTContainer to read in"};
93 Gaudi::Property<bool>
m_isPhase2{
this,
"isPhase2",
false,
"if the phase 2 geometry is setup"};
Property holding a SG store/key/clid from which a ReadHandle is made.
StatusCode collectMdtHitsFromPrepData(const EventContext &ctx, const std::vector< IdentifierHash > &v_idHash, TrigL2MuonSA::MdtHits &mdtHits, const TrigL2MuonSA::MuonRoad &muonRoad) const
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
void setRpcGeometry(bool use_rpc)
StatusCode prepareData(const EventContext &ctx, const TrigRoiDescriptor *p_roids, const TrigL2MuonSA::RpcFitResult &rpcFitResult, TrigL2MuonSA::MuonRoad &muonRoad, TrigL2MuonSA::MdtRegion &mdtRegion, TrigL2MuonSA::MdtHits &mdtHits) const
void setRoIBasedDataAccess(bool use_RoIBasedDataAccess)
std::unordered_set< Identifier > m_DeadChannels
void initDeadChannels(const MuonGM::MdtReadoutElement *mydetEl)
virtual StatusCode initialize() override
StatusCode getMdtHits(const EventContext &ctx, const TrigRoiDescriptor *p_roids, TrigL2MuonSA::MuonRoad &muonRoad, TrigL2MuonSA::MdtHits &mdtHits) const
Gaudi::Property< bool > m_use_RoIBasedDataAccess
Gaudi::Property< bool > m_isPhase2
ToolHandle< IRegSelTool > m_regionSelector
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
ToolHandle< MdtRegionDefiner > m_mdtRegionDefiner
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_mdtPrepContainerKey
static const InterfaceID & interfaceID()
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
Ensure that the Athena extensions are properly loaded.
std::vector< MdtHitData > MdtHits