1 #ifndef RPCReadOutMappingWithFastSearch_H 2 #define RPCReadOutMappingWithFastSearch_H 29 typedef std::map<LinkBoardElectronicIndex, const LinkBoardSpec*, lessMap>
LBMap;
const RPCReadOutMapping * theMapping
const LinkBoardSpec * location(const LinkBoardElectronicIndex &ele) const override
conversion between electronic and detector indexing
void init(const RPCReadOutMapping *arm)
takes ownership of map
std::map< LinkBoardElectronicIndex, const LinkBoardSpec *, lessMap > LBMap
~RPCReadOutMappingWithFastSearch() override
RPCReadOutMapping::StripInDetUnit detUnitFrame(const LinkBoardSpec &location, const LinkBoardPackedStrip &lbstrip) const override
convert strip location as in raw data (LB and LBchannel) to detUnit frame
bool operator()(const LinkBoardElectronicIndex &lb1, const LinkBoardElectronicIndex &lb2) const
RPCReadOutMappingWithFastSearch()
std::pair< uint32_t, int > StripInDetUnit
first member is DetUnit ID, second strip in DetUnit frame