12 #ifndef IcebergChannelMapService_H 13 #define IcebergChannelMapService_H 25 class IcebergChannelMapService;
192 if (offlineChannel >= fNChans)
194 throw cet::exception(
"IcebergChannelMapService") <<
"Offline TPC Channel Number out of range: " << offlineChannel <<
"\n";
200 if (offlineChannel >= fNSSPChans)
202 throw cet::exception(
"IcebergChannelMapService") <<
"Offline SSP Channel Number out of range: " << offlineChannel <<
"\n";
unsigned int fFELIXvFEMBChannelMap[1280]
unsigned int fvStreamChannelMap[1280]
unsigned int SSPAPAFromOfflineChannel(unsigned int offlineChannel) const
unsigned int fvFEMBChannelMap[1280]
size_t fSSPBadChannelNumberWarningsIssued
size_t fBadCrateNumberWarningsIssued
unsigned int fvChipMap[1280]
unsigned int fvASICMap[1280]
unsigned int fFELIXvChipChannelMap[1280]
unsigned int SSPOfflineChannelFromOnlineChannel(unsigned int onlineChannel)
unsigned int farrayCsfcToOffline[1][3][4][128]
size_t fBadFiberNumberWarningsIssued
unsigned int ASICChannelFromOfflineChannel(unsigned int offlineChannel)
Returns ASIC channel number – to be deprecated.
unsigned int fFELIXvPlaneMap[1280]
unsigned int AsicChannelFromOfflineChannel(unsigned int offlineChannel) const
unsigned int fvSlotIdMap[1280]
void check_offline_channel(unsigned int offlineChannel) const
unsigned int farraySSPOfflineToOnline[288]
unsigned int fvWIBMap[1280]
unsigned int fFELIXvASICChannelMap[1280]
unsigned int fvSSPGlobalMap[288]
const size_t fNChansPerSSP
unsigned int FiberIdFromOfflineChannel(unsigned int offlineChannel) const
Returns global fiber ID.
unsigned int SlotIdFromOfflineChannel(unsigned int offlineChannel) const
Returns global slot ID.
unsigned int fvSSPWithinAPAMap[288]
unsigned int OpDetNoFromOfflineChannel(unsigned int offlineChannel) const
unsigned int fFELIXvChipMap[1280]
unsigned int fFELIXvASICMap[1280]
unsigned int ChipChannelFromOfflineChannel(unsigned int offlineChannel) const
Returns chip channel number.
unsigned int AsicLinkFromOfflineChannel(unsigned int offlineChannel) const
unsigned int fvASICChannelMap[1280]
unsigned int GetOfflineNumberFromDetectorElements(unsigned int crate, unsigned int slot, unsigned int fiber, unsigned int fembchannel, FelixOrRCE frswitch)
unsigned int farraySSPOnlineToOffline[288]
unsigned int SSPOnlineChannelFromOfflineChannel(unsigned int offlineChannel) const
unsigned int fFELIXvSlotIdMap[1280]
unsigned int fvOpDetNoMap[288]
size_t fASICWarningsIssued
unsigned int fvPlaneMap[1280]
unsigned int fFELIXvFiberIdMap[1280]
struct dune::tde::crate crate
unsigned int AsicFromOfflineChannel(unsigned int offlineChannel) const
#define DECLARE_ART_SERVICE(svc, scope)
unsigned int fFELIXvStreamChannelMap[1280]
enum dune::IcebergChannelMapService::_FelixOrRCE FelixOrRCE
unsigned int SSPChanWithinSSPFromOfflineChannel(unsigned int offlineChannel) const
unsigned int StreamChannelFromOfflineChannel(unsigned int offlineChannel, FelixOrRCE frswitch) const
Returns RCE(FELIX) stream(frame) channel.
unsigned int fvAPAMap[1280]
unsigned int fFELIXarrayCsfcToOffline[6][5][4][128]
unsigned int APAFromOfflineChannel(unsigned int offlineChannel) const
Returns APA/crate.
size_t fASICChanWarningsIssued
IcebergChannelMapService(fhicl::ParameterSet const &pset)
unsigned int fvSSPAPAMap[288]
unsigned int InstalledAPAFromOfflineChannel(unsigned int offlineChannel) const
Returns APA/crate in installation notation.
size_t count_bits(size_t i)
unsigned int fvChipChannelMap[1280]
unsigned int fFELIXvWIBMap[1280]
unsigned int FEMBChannelFromOfflineChannel(unsigned int offlineChannel) const
Returns FEMB channel.
unsigned int ChipFromOfflineChannel(unsigned int offlineChannel) const
Returns chip number.
unsigned int ASICFromOfflineChannel(unsigned int offlineChannel)
Returns ASIC number – to be deprecated.
unsigned int fvFEMBMap[1280]
unsigned int fvFiberIdMap[1280]
unsigned int PlaneFromOfflineChannel(unsigned int offlineChannel) const
Returns plane.
size_t fBadSlotNumberWarningsIssued
unsigned int SSPWithinAPAFromOfflineChannel(unsigned int offlineChannel) const
unsigned int fFELIXvAPAMap[1280]
unsigned int SSPGlobalFromOfflineChannel(unsigned int offlineChannel) const
unsigned int WIBFromOfflineChannel(unsigned int offlineChannel) const
Returns WIB/slot.
unsigned int fFELIXvFEMBMap[1280]
unsigned int FEMBFromOfflineChannel(unsigned int offlineChannel) const
Returns FEMB/fiber.
unsigned int fvSSPChanWithinSSPMap[288]
void SSP_check_offline_channel(unsigned int offlineChannel) const
cet::coded_exception< error, detail::translate > exception