#include <IcebergChannelMapService.h>
Public Types | |
| enum | _FelixOrRCE { kRCE, kFELIX } |
| typedef enum dune::IcebergChannelMapService::_FelixOrRCE | FelixOrRCE |
Public Member Functions | |
| IcebergChannelMapService (fhicl::ParameterSet const &pset) | |
| IcebergChannelMapService (fhicl::ParameterSet const &pset, art::ActivityRegistry &) | |
| unsigned int | GetOfflineNumberFromDetectorElements (unsigned int crate, unsigned int slot, unsigned int fiber, unsigned int fembchannel, FelixOrRCE frswitch) |
| unsigned int | APAFromOfflineChannel (unsigned int offlineChannel) const |
| Returns APA/crate. More... | |
| unsigned int | InstalledAPAFromOfflineChannel (unsigned int offlineChannel) const |
| Returns APA/crate in installation notation. More... | |
| unsigned int | WIBFromOfflineChannel (unsigned int offlineChannel) const |
| Returns WIB/slot. More... | |
| unsigned int | FEMBFromOfflineChannel (unsigned int offlineChannel) const |
| Returns FEMB/fiber. More... | |
| unsigned int | FEMBChannelFromOfflineChannel (unsigned int offlineChannel) const |
| Returns FEMB channel. More... | |
| unsigned int | StreamChannelFromOfflineChannel (unsigned int offlineChannel, FelixOrRCE frswitch) const |
| Returns RCE(FELIX) stream(frame) channel. More... | |
| unsigned int | SlotIdFromOfflineChannel (unsigned int offlineChannel) const |
| Returns global slot ID. More... | |
| unsigned int | FiberIdFromOfflineChannel (unsigned int offlineChannel) const |
| Returns global fiber ID. More... | |
| unsigned int | ChipFromOfflineChannel (unsigned int offlineChannel) const |
| Returns chip number. More... | |
| unsigned int | ChipChannelFromOfflineChannel (unsigned int offlineChannel) const |
| Returns chip channel number. More... | |
| unsigned int | ASICFromOfflineChannel (unsigned int offlineChannel) |
| Returns ASIC number – to be deprecated. More... | |
| unsigned int | ASICChannelFromOfflineChannel (unsigned int offlineChannel) |
| Returns ASIC channel number – to be deprecated. More... | |
| unsigned int | AsicFromOfflineChannel (unsigned int offlineChannel) const |
| unsigned int | AsicChannelFromOfflineChannel (unsigned int offlineChannel) const |
| unsigned int | AsicLinkFromOfflineChannel (unsigned int offlineChannel) const |
| unsigned int | PlaneFromOfflineChannel (unsigned int offlineChannel) const |
| Returns plane. More... | |
| unsigned int | SSPOfflineChannelFromOnlineChannel (unsigned int onlineChannel) |
| unsigned int | SSPOnlineChannelFromOfflineChannel (unsigned int offlineChannel) const |
| unsigned int | SSPAPAFromOfflineChannel (unsigned int offlineChannel) const |
| unsigned int | SSPWithinAPAFromOfflineChannel (unsigned int offlineChannel) const |
| unsigned int | SSPGlobalFromOfflineChannel (unsigned int offlineChannel) const |
| unsigned int | SSPChanWithinSSPFromOfflineChannel (unsigned int offlineChannel) const |
| unsigned int | OpDetNoFromOfflineChannel (unsigned int offlineChannel) const |
Private Member Functions | |
| size_t | count_bits (size_t i) |
| void | check_offline_channel (unsigned int offlineChannel) const |
| void | SSP_check_offline_channel (unsigned int offlineChannel) const |
Private Attributes | |
| const size_t | fNChans = 1280 |
| const size_t | fNCrates = 1 |
| const size_t | fNSlots = 3 |
| const size_t | fNFibers = 4 |
| const size_t | fNFEMBChans = 128 |
| const size_t | fNSSPChans = 288 |
| const size_t | fNChansPerSSP = 12 |
| const size_t | fNAPAs = 6 |
| size_t | fBadCrateNumberWarningsIssued |
| size_t | fBadSlotNumberWarningsIssued |
| size_t | fBadFiberNumberWarningsIssued |
| size_t | fSSPBadChannelNumberWarningsIssued |
| size_t | fASICWarningsIssued |
| size_t | fASICChanWarningsIssued |
| unsigned int | farrayCsfcToOffline [1][3][4][128] |
| unsigned int | fvAPAMap [1280] |
| unsigned int | fvWIBMap [1280] |
| unsigned int | fvFEMBMap [1280] |
| unsigned int | fvFEMBChannelMap [1280] |
| unsigned int | fvStreamChannelMap [1280] |
| unsigned int | fvSlotIdMap [1280] |
| unsigned int | fvFiberIdMap [1280] |
| unsigned int | fvChipMap [1280] |
| unsigned int | fvChipChannelMap [1280] |
| unsigned int | fvASICMap [1280] |
| unsigned int | fvASICChannelMap [1280] |
| unsigned int | fvPlaneMap [1280] |
| unsigned int | fFELIXarrayCsfcToOffline [6][5][4][128] |
| unsigned int | fFELIXvAPAMap [1280] |
| unsigned int | fFELIXvWIBMap [1280] |
| unsigned int | fFELIXvFEMBMap [1280] |
| unsigned int | fFELIXvFEMBChannelMap [1280] |
| unsigned int | fFELIXvStreamChannelMap [1280] |
| unsigned int | fFELIXvSlotIdMap [1280] |
| unsigned int | fFELIXvFiberIdMap [1280] |
| unsigned int | fFELIXvChipMap [1280] |
| unsigned int | fFELIXvChipChannelMap [1280] |
| unsigned int | fFELIXvASICMap [1280] |
| unsigned int | fFELIXvASICChannelMap [1280] |
| unsigned int | fFELIXvPlaneMap [1280] |
| unsigned int | farraySSPOnlineToOffline [288] |
| unsigned int | farraySSPOfflineToOnline [288] |
| unsigned int | fvSSPAPAMap [288] |
| unsigned int | fvSSPWithinAPAMap [288] |
| unsigned int | fvSSPGlobalMap [288] |
| unsigned int | fvSSPChanWithinSSPMap [288] |
| unsigned int | fvOpDetNoMap [288] |
Definition at line 28 of file IcebergChannelMapService.h.
| Enumerator | |
|---|---|
| kRCE | |
| kFELIX | |
Definition at line 35 of file IcebergChannelMapService.h.
| dune::IcebergChannelMapService::IcebergChannelMapService | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 19 of file IcebergChannelMapService_service.cc.
| dune::IcebergChannelMapService::IcebergChannelMapService | ( | fhicl::ParameterSet const & | pset, |
| art::ActivityRegistry & | |||
| ) |
Definition at line 213 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::APAFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns APA/crate.
Definition at line 278 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::ASICChannelFromOfflineChannel | ( | unsigned int | offlineChannel | ) |
Returns ASIC channel number – to be deprecated.
Definition at line 381 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::AsicChannelFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 359 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::ASICFromOfflineChannel | ( | unsigned int | offlineChannel | ) |
Returns ASIC number – to be deprecated.
Definition at line 366 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::AsicFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 347 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::AsicLinkFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 376 of file IcebergChannelMapService_service.cc.
|
inlineprivate |
Definition at line 190 of file IcebergChannelMapService.h.
| unsigned int dune::IcebergChannelMapService::ChipChannelFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns chip channel number.
Definition at line 352 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::ChipFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns chip number.
Definition at line 342 of file IcebergChannelMapService_service.cc.
|
private |
Definition at line 396 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::FEMBChannelFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns FEMB channel.
Definition at line 303 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::FEMBFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns FEMB/fiber.
Definition at line 295 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::FiberIdFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns global fiber ID.
Definition at line 335 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::GetOfflineNumberFromDetectorElements | ( | unsigned int | crate, |
| unsigned int | slot, | ||
| unsigned int | fiber, | ||
| unsigned int | fembchannel, | ||
| FelixOrRCE | frswitch | ||
| ) |
Definition at line 221 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::InstalledAPAFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns APA/crate in installation notation.
| unsigned int dune::IcebergChannelMapService::OpDetNoFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 454 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::PlaneFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns plane.
Definition at line 391 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::SlotIdFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns global slot ID.
Definition at line 325 of file IcebergChannelMapService_service.cc.
|
inlineprivate |
Definition at line 198 of file IcebergChannelMapService.h.
| unsigned int dune::IcebergChannelMapService::SSPAPAFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 430 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::SSPChanWithinSSPFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 448 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::SSPGlobalFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 442 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::SSPOfflineChannelFromOnlineChannel | ( | unsigned int | onlineChannel | ) |
Definition at line 408 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::SSPOnlineChannelFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 424 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::SSPWithinAPAFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 436 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::StreamChannelFromOfflineChannel | ( | unsigned int | offlineChannel, |
| FelixOrRCE | frswitch | ||
| ) | const |
Returns RCE(FELIX) stream(frame) channel.
Definition at line 311 of file IcebergChannelMapService_service.cc.
| unsigned int dune::IcebergChannelMapService::WIBFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns WIB/slot.
Definition at line 287 of file IcebergChannelMapService_service.cc.
|
private |
Definition at line 145 of file IcebergChannelMapService.h.
|
private |
Definition at line 179 of file IcebergChannelMapService.h.
|
private |
Definition at line 178 of file IcebergChannelMapService.h.
|
private |
Definition at line 142 of file IcebergChannelMapService.h.
|
private |
Definition at line 141 of file IcebergChannelMapService.h.
|
private |
Definition at line 136 of file IcebergChannelMapService.h.
|
private |
Definition at line 138 of file IcebergChannelMapService.h.
|
private |
Definition at line 137 of file IcebergChannelMapService.h.
|
private |
Definition at line 162 of file IcebergChannelMapService.h.
|
private |
Definition at line 163 of file IcebergChannelMapService.h.
|
private |
Definition at line 173 of file IcebergChannelMapService.h.
|
private |
Definition at line 172 of file IcebergChannelMapService.h.
|
private |
Definition at line 171 of file IcebergChannelMapService.h.
|
private |
Definition at line 170 of file IcebergChannelMapService.h.
|
private |
Definition at line 166 of file IcebergChannelMapService.h.
|
private |
Definition at line 165 of file IcebergChannelMapService.h.
|
private |
Definition at line 169 of file IcebergChannelMapService.h.
|
private |
Definition at line 174 of file IcebergChannelMapService.h.
|
private |
Definition at line 168 of file IcebergChannelMapService.h.
|
private |
Definition at line 167 of file IcebergChannelMapService.h.
|
private |
Definition at line 164 of file IcebergChannelMapService.h.
|
private |
Definition at line 132 of file IcebergChannelMapService.h.
|
private |
Definition at line 120 of file IcebergChannelMapService.h.
|
private |
Definition at line 131 of file IcebergChannelMapService.h.
|
private |
Definition at line 121 of file IcebergChannelMapService.h.
|
private |
Definition at line 124 of file IcebergChannelMapService.h.
|
private |
Definition at line 123 of file IcebergChannelMapService.h.
|
private |
Definition at line 122 of file IcebergChannelMapService.h.
|
private |
Definition at line 128 of file IcebergChannelMapService.h.
|
private |
Definition at line 139 of file IcebergChannelMapService.h.
|
private |
Definition at line 149 of file IcebergChannelMapService.h.
|
private |
Definition at line 159 of file IcebergChannelMapService.h.
|
private |
Definition at line 158 of file IcebergChannelMapService.h.
|
private |
Definition at line 157 of file IcebergChannelMapService.h.
|
private |
Definition at line 156 of file IcebergChannelMapService.h.
|
private |
Definition at line 152 of file IcebergChannelMapService.h.
|
private |
Definition at line 151 of file IcebergChannelMapService.h.
|
private |
Definition at line 155 of file IcebergChannelMapService.h.
|
private |
Definition at line 184 of file IcebergChannelMapService.h.
|
private |
Definition at line 160 of file IcebergChannelMapService.h.
|
private |
Definition at line 154 of file IcebergChannelMapService.h.
|
private |
Definition at line 180 of file IcebergChannelMapService.h.
|
private |
Definition at line 183 of file IcebergChannelMapService.h.
|
private |
Definition at line 182 of file IcebergChannelMapService.h.
|
private |
Definition at line 181 of file IcebergChannelMapService.h.
|
private |
Definition at line 153 of file IcebergChannelMapService.h.
|
private |
Definition at line 150 of file IcebergChannelMapService.h.
1.8.11