#include <RPCReadOutMappingWithFastSearch.h>
Classes | |
struct | lessMap |
Public Member Functions | |
RPCReadOutMapping::StripInDetUnit | detUnitFrame (const LinkBoardSpec &location, const LinkBoardPackedStrip &lbstrip) const override |
convert strip location as in raw data (LB and LBchannel) to detUnit frame More... | |
void | init (const RPCReadOutMapping *arm) |
takes ownership of map More... | |
const LinkBoardSpec * | location (const LinkBoardElectronicIndex &ele) const override |
conversion between electronic and detector indexing More... | |
RPCReadOutMappingWithFastSearch () | |
~RPCReadOutMappingWithFastSearch () override | |
Public Member Functions inherited from RPCReadOutMapping | |
void | add (const DccSpec &dcc) |
attach FED to map More... | |
const DccSpec * | dcc (int dccId) const |
FED identified by ID. More... | |
std::vector< const DccSpec * > | dccList () const |
all FEDs in map More... | |
std::pair< int, int > | dccNumberRange () const |
Range of FED IDs in map (min and max id) More... | |
std::vector< const LinkBoardSpec * > | getLBforChamber (const std::string &name) const |
std::pair< LinkBoardElectronicIndex, int > | getRAWSpecForCMSChamberSrip (uint32_t detId, int strip, int dccInputChannel) const |
std::vector< std::pair< LinkBoardElectronicIndex, LinkBoardPackedStrip > > | rawDataFrame (const StripInDetUnit &duFrame) const |
connection "paths" that lead from one digi to one strip More... | |
RPCReadOutMapping (const std::string &version="") | |
const std::string & | version () const |
version as string More... | |
virtual | ~RPCReadOutMapping () |
Private Types | |
typedef std::map< LinkBoardElectronicIndex, const LinkBoardSpec *, lessMap > | LBMap |
Private Attributes | |
LBMap | theLBMap |
const RPCReadOutMapping * | theMapping |
std::string | theVersion |
Additional Inherited Members | |
Public Types inherited from RPCReadOutMapping | |
typedef std::pair< uint32_t, int > | StripInDetUnit |
first member is DetUnit ID, second strip in DetUnit frame More... | |
Definition at line 8 of file RPCReadOutMappingWithFastSearch.h.
|
private |
Definition at line 29 of file RPCReadOutMappingWithFastSearch.h.
RPCReadOutMappingWithFastSearch::RPCReadOutMappingWithFastSearch | ( | ) |
Definition at line 28 of file RPCReadOutMappingWithFastSearch.cc.
|
inlineoverride |
Definition at line 11 of file RPCReadOutMappingWithFastSearch.h.
|
overridevirtual |
convert strip location as in raw data (LB and LBchannel) to detUnit frame
Reimplemented from RPCReadOutMapping.
Definition at line 70 of file RPCReadOutMappingWithFastSearch.cc.
References RPCReadOutMapping::detUnitFrame(), location(), and theMapping.
void RPCReadOutMappingWithFastSearch::init | ( | const RPCReadOutMapping * | arm | ) |
takes ownership of map
Definition at line 30 of file RPCReadOutMappingWithFastSearch.cc.
References protons_cff::arm, gather_cfg::cout, LinkBoardElectronicIndex::dccId, LinkBoardElectronicIndex::dccInputChannelNum, TriggerBoardSpec::dccInputChannelNum(), RPCReadOutMapping::dccList(), TriggerBoardSpec::enabledLinkConns(), cuy::ib, DccSpec::id(), LinkBoardElectronicIndex::lbNumInLink, MainPageGenerator::link, LinkBoardSpec::linkBoardNumInLink(), LinkBoardElectronicIndex::tbLinkInputNum, theLBMap, theMapping, theVersion, and DccSpec::triggerBoards().
Referenced by RPCUnpackingModule::beginRun().
|
overridevirtual |
conversion between electronic and detector indexing
Reimplemented from RPCReadOutMapping.
Definition at line 75 of file RPCReadOutMappingWithFastSearch.cc.
References theLBMap.
Referenced by detUnitFrame().
|
private |
Definition at line 30 of file RPCReadOutMappingWithFastSearch.h.
Referenced by init(), and location().
|
private |
Definition at line 23 of file RPCReadOutMappingWithFastSearch.h.
Referenced by detUnitFrame(), and init().
|
private |
Definition at line 22 of file RPCReadOutMappingWithFastSearch.h.
Referenced by init().