#include <RPCReadOutMappingWithFastSearch.h>
Classes | |
struct | lessMap |
Public Member Functions | |
virtual RPCReadOutMapping::StripInDetUnit | detUnitFrame (const LinkBoardSpec &location, const LinkBoardPackedStrip &lbstrip) const |
convert strip location as in raw data (LB and LBchannel) to detUnit frame More... | |
void | init (const RPCReadOutMapping *arm) |
takes ownership of map More... | |
virtual const LinkBoardSpec * | location (const LinkBoardElectronicIndex &ele) const |
conversion between electronic and detector indexing More... | |
RPCReadOutMappingWithFastSearch () | |
virtual | ~RPCReadOutMappingWithFastSearch () |
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 22 of file RPCReadOutMappingWithFastSearch.cc.
|
inlinevirtual |
Definition at line 11 of file RPCReadOutMappingWithFastSearch.h.
|
virtual |
convert strip location as in raw data (LB and LBchannel) to detUnit frame
Reimplemented from RPCReadOutMapping.
Definition at line 71 of file RPCReadOutMappingWithFastSearch.cc.
References RPCReadOutMapping::detUnitFrame(), and theMapping.
void RPCReadOutMappingWithFastSearch::init | ( | const RPCReadOutMapping * | arm | ) |
takes ownership of map
Definition at line 26 of file RPCReadOutMappingWithFastSearch.cc.
References gather_cfg::cout, LinkBoardElectronicIndex::dccId, LinkBoardElectronicIndex::dccInputChannelNum, TriggerBoardSpec::dccInputChannelNum(), RPCReadOutMapping::dccList(), TriggerBoardSpec::enabledLinkConns(), cuy::ib, DccSpec::id(), LinkBoardElectronicIndex::lbNumInLink, link(), LinkBoardSpec::linkBoardNumInLink(), LinkConnSpec::linkBoards(), splitter::LINKS, LinkBoardElectronicIndex::tbLinkInputNum, theLBMap, theMapping, theVersion, LinkConnSpec::triggerBoardInputNumber(), DccSpec::triggerBoards(), and RPCReadOutMapping::version().
Referenced by RPCUnpackingModule::beginRun().
|
virtual |
conversion between electronic and detector indexing
Reimplemented from RPCReadOutMapping.
Definition at line 77 of file RPCReadOutMappingWithFastSearch.cc.
References theLBMap.
|
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().