5#ifndef TRIGL2MUONSA_RPCCLUSTERPREPARATOR_H
6#define TRIGL2MUONSA_RPCCLUSTERPREPARATOR_H
10#include "GaudiKernel/ServiceHandle.h"
11#include "GaudiKernel/ToolHandle.h"
35 const std::string& name,
36 const IInterface* parent);
41 const std::vector<const Muon::RpcPrepDataCollection*>& rpcCols,
43 const ToolHandle<ClusterPatFinder>* clusterPatFinder,
46 typedef std::map<int, const Muon::RpcPrepData*, std::less<int> >
pattern;
50 std::map<Identifier, pattern>& digits)
const;
52 void buildClusters(
const ToolHandle<ClusterPatFinder>* clusterPatFinder,
53 std::map<Identifier, pattern>& digits,
58 ToolHandle<LVL1::ITrigT1MuonRecRoiTool>
m_recRPCRoiTool{
this,
"TrigT1RPCRecRoiTool",
"LVL1::TrigT1RPCRecRoiTool/TrigT1RPCRecRoiTool"};
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode clusteringRPCs(const bool doMultiMuon, const std::vector< const Muon::RpcPrepDataCollection * > &rpcCols, const TrigRoiDescriptor *p_roids, const ToolHandle< ClusterPatFinder > *clusterPatFinder, TrigL2MuonSA::RpcLayerClusters &rpcLayerClusters) const
ToolHandle< LVL1::ITrigT1MuonRecRoiTool > m_recRPCRoiTool
std::map< int, const Muon::RpcPrepData *, std::less< int > > pattern
virtual StatusCode initialize() override
void buildClusters(const ToolHandle< ClusterPatFinder > *clusterPatFinder, std::map< Identifier, pattern > &digits, TrigL2MuonSA::RpcLayerClusters &rpcLayerClusters) const
RpcClusterPreparator(const std::string &type, const std::string &name, const IInterface *parent)
int buildPatterns(const bool doMultiMuon, const TrigRoiDescriptor *p_roids, const Muon::RpcPrepDataCollection *rpcCollection, std::map< Identifier, pattern > &digits) const
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
MuonPrepDataCollection< RpcPrepData > RpcPrepDataCollection