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