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