1 #ifndef RPCReadOutMapping_H
2 #define RPCReadOutMapping_H
15 #include <boost/cstdint.hpp>
39 std::vector<const DccSpec*>
dccList()
const;
56 std::vector< std::pair< LinkBoardElectronicIndex, LinkBoardPackedStrip> >
66 int strip,
int dccInputChannel)
const;
69 typedef std::map<int, DccSpec>::const_iterator
IMAP;
77 #endif // RPCReadOutMapping_H
std::vector< const LinkBoardSpec * > getLBforChamber(const std::string &name) const
RPCReadOutMapping(const std::string &version="")
std::pair< uint32_t, int > StripInDetUnit
first member is DetUnit ID, second strip in DetUnit frame
std::vector< const DccSpec * > dccList() const
all FEDs in map
std::map< int, DccSpec >::const_iterator IMAP
virtual ~RPCReadOutMapping()
const std::string & version() const
version as string
std::map< int, DccSpec > theFeds
std::pair< LinkBoardElectronicIndex, int > getRAWSpecForCMSChamberSrip(uint32_t detId, int strip, int dccInputChannel) const
void add(const DccSpec &dcc)
attach FED to map
std::pair< int, int > dccNumberRange() const
Range of FED IDs in map (min and max id)
virtual StripInDetUnit detUnitFrame(const LinkBoardSpec &location, const LinkBoardPackedStrip &packedStrip) const
convert strip location as in raw data (LB and LBchannel) to detUnit frame
virtual const LinkBoardSpec * location(const LinkBoardElectronicIndex &ele) const
conversion between electronic and detector indexing
std::vector< std::pair< LinkBoardElectronicIndex, LinkBoardPackedStrip > > rawDataFrame(const StripInDetUnit &duFrame) const
connection "paths" that lead from one digi to one strip
#define COND_SERIALIZABLE
const DccSpec * dcc(int dccId) const
FED identified by ID.
unsigned dccId(DetId const &)