DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <PdspChannelMapService.hpp>
Public Types | |
enum | _FelixOrRCE { kRCE , kFELIX } |
typedef enum dunedaq::detchannelmaps::PdspChannelMapService::_FelixOrRCE | FelixOrRCE |
Public Member Functions | |
PdspChannelMapService (std::string, std::string) | |
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. | |
unsigned int | InstalledAPAFromOfflineChannel (unsigned int offlineChannel) const |
Returns APA/crate in installation notation. | |
unsigned int | WIBFromOfflineChannel (unsigned int offlineChannel) const |
Returns WIB/slot. | |
unsigned int | FEMBFromOfflineChannel (unsigned int offlineChannel) const |
Returns FEMB/fiber. | |
unsigned int | FEMBChannelFromOfflineChannel (unsigned int offlineChannel) const |
Returns FEMB channel. | |
unsigned int | StreamChannelFromOfflineChannel (unsigned int offlineChannel, FelixOrRCE frswitch) const |
Returns RCE(FELIX) stream(frame) channel. | |
unsigned int | SlotIdFromOfflineChannel (unsigned int offlineChannel) const |
Returns global slot ID. | |
unsigned int | FiberIdFromOfflineChannel (unsigned int offlineChannel) const |
Returns global fiber ID. | |
unsigned int | ChipFromOfflineChannel (unsigned int offlineChannel) const |
Returns chip number. | |
unsigned int | ChipChannelFromOfflineChannel (unsigned int offlineChannel) const |
Returns chip channel number. | |
unsigned int | ASICFromOfflineChannel (unsigned int offlineChannel) |
Returns ASIC number – to be deprecated. | |
unsigned int | ASICChannelFromOfflineChannel (unsigned int offlineChannel) |
Returns ASIC channel number – to be deprecated. | |
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. | |
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 = 15360 |
const size_t | fNCrates = 6 |
const size_t | fNSlots = 5 |
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 [6][5][4][128] |
unsigned int | fvAPAMap [15360] |
unsigned int | fvWIBMap [15360] |
unsigned int | fvFEMBMap [15360] |
unsigned int | fvFEMBChannelMap [15360] |
unsigned int | fvStreamChannelMap [15360] |
unsigned int | fvSlotIdMap [15360] |
unsigned int | fvFiberIdMap [15360] |
unsigned int | fvChipMap [15360] |
unsigned int | fvChipChannelMap [15360] |
unsigned int | fvASICMap [15360] |
unsigned int | fvASICChannelMap [15360] |
unsigned int | fvPlaneMap [15360] |
unsigned int | fFELIXarrayCsfcToOffline [6][5][4][128] |
unsigned int | fFELIXvAPAMap [15360] |
unsigned int | fFELIXvWIBMap [15360] |
unsigned int | fFELIXvFEMBMap [15360] |
unsigned int | fFELIXvFEMBChannelMap [15360] |
unsigned int | fFELIXvStreamChannelMap [15360] |
unsigned int | fFELIXvSlotIdMap [15360] |
unsigned int | fFELIXvFiberIdMap [15360] |
unsigned int | fFELIXvChipMap [15360] |
unsigned int | fFELIXvChipChannelMap [15360] |
unsigned int | fFELIXvASICMap [15360] |
unsigned int | fFELIXvASICChannelMap [15360] |
unsigned int | fFELIXvPlaneMap [15360] |
unsigned int | fvInstalledAPA [6] |
unsigned int | fvTPCSet_VsInstalledAPA [6] |
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 32 of file PdspChannelMapService.hpp.
enum dunedaq::detchannelmaps::PdspChannelMapService::_FelixOrRCE dunedaq::detchannelmaps::PdspChannelMapService::FelixOrRCE |
Enumerator | |
---|---|
kRCE | |
kFELIX |
Definition at line 38 of file PdspChannelMapService.hpp.
dunedaq::detchannelmaps::PdspChannelMapService::PdspChannelMapService | ( | std::string | rcename, |
std::string | felixname ) |
Definition at line 38 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::APAFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns APA/crate.
Definition at line 232 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::ASICChannelFromOfflineChannel | ( | unsigned int | offlineChannel | ) |
Returns ASIC channel number – to be deprecated.
Definition at line 368 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::AsicChannelFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 340 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::ASICFromOfflineChannel | ( | unsigned int | offlineChannel | ) |
Returns ASIC number – to be deprecated.
Definition at line 349 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::AsicFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 324 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::AsicLinkFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 361 of file PdspChannelMapService.cpp.
|
inlineprivate |
Definition at line 200 of file PdspChannelMapService.hpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::ChipChannelFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns chip channel number.
Definition at line 331 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::ChipFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns chip number.
Definition at line 317 of file PdspChannelMapService.cpp.
|
private |
Definition at line 387 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::FEMBChannelFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns FEMB channel.
Definition at line 273 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::FEMBFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns FEMB/fiber.
Definition at line 263 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::FiberIdFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns global fiber ID.
Definition at line 308 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::GetOfflineNumberFromDetectorElements | ( | unsigned int | crate, |
unsigned int | slot, | ||
unsigned int | fiber, | ||
unsigned int | fembchannel, | ||
FelixOrRCE | frswitch ) |
Definition at line 175 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::InstalledAPAFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns APA/crate in installation notation.
Definition at line 240 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::OpDetNoFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 450 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::PlaneFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns plane.
Definition at line 380 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::SlotIdFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns global slot ID.
Definition at line 296 of file PdspChannelMapService.cpp.
|
inlineprivate |
Definition at line 207 of file PdspChannelMapService.hpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::SSPAPAFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 422 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::SSPChanWithinSSPFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 443 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::SSPGlobalFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 436 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::SSPOfflineChannelFromOnlineChannel | ( | unsigned int | onlineChannel | ) |
Definition at line 400 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::SSPOnlineChannelFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 415 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::SSPWithinAPAFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Definition at line 429 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::StreamChannelFromOfflineChannel | ( | unsigned int | offlineChannel, |
FelixOrRCE | frswitch ) const |
Returns RCE(FELIX) stream(frame) channel.
Definition at line 283 of file PdspChannelMapService.cpp.
unsigned int dunedaq::detchannelmaps::PdspChannelMapService::WIBFromOfflineChannel | ( | unsigned int | offlineChannel | ) | const |
Returns WIB/slot.
Definition at line 253 of file PdspChannelMapService.cpp.
|
private |
Definition at line 151 of file PdspChannelMapService.hpp.
|
private |
Definition at line 189 of file PdspChannelMapService.hpp.
|
private |
Definition at line 188 of file PdspChannelMapService.hpp.
|
private |
Definition at line 148 of file PdspChannelMapService.hpp.
|
private |
Definition at line 147 of file PdspChannelMapService.hpp.
|
private |
Definition at line 142 of file PdspChannelMapService.hpp.
|
private |
Definition at line 144 of file PdspChannelMapService.hpp.
|
private |
Definition at line 143 of file PdspChannelMapService.hpp.
|
private |
Definition at line 168 of file PdspChannelMapService.hpp.
|
private |
Definition at line 169 of file PdspChannelMapService.hpp.
|
private |
Definition at line 179 of file PdspChannelMapService.hpp.
|
private |
Definition at line 178 of file PdspChannelMapService.hpp.
|
private |
Definition at line 177 of file PdspChannelMapService.hpp.
|
private |
Definition at line 176 of file PdspChannelMapService.hpp.
|
private |
Definition at line 172 of file PdspChannelMapService.hpp.
|
private |
Definition at line 171 of file PdspChannelMapService.hpp.
|
private |
Definition at line 175 of file PdspChannelMapService.hpp.
|
private |
Definition at line 180 of file PdspChannelMapService.hpp.
|
private |
Definition at line 174 of file PdspChannelMapService.hpp.
|
private |
Definition at line 173 of file PdspChannelMapService.hpp.
|
private |
Definition at line 170 of file PdspChannelMapService.hpp.
|
private |
Definition at line 138 of file PdspChannelMapService.hpp.
|
private |
Definition at line 126 of file PdspChannelMapService.hpp.
|
private |
Definition at line 137 of file PdspChannelMapService.hpp.
|
private |
Definition at line 127 of file PdspChannelMapService.hpp.
|
private |
Definition at line 130 of file PdspChannelMapService.hpp.
|
private |
Definition at line 129 of file PdspChannelMapService.hpp.
|
private |
Definition at line 128 of file PdspChannelMapService.hpp.
|
private |
Definition at line 134 of file PdspChannelMapService.hpp.
|
private |
Definition at line 145 of file PdspChannelMapService.hpp.
|
private |
Definition at line 155 of file PdspChannelMapService.hpp.
|
private |
Definition at line 165 of file PdspChannelMapService.hpp.
|
private |
Definition at line 164 of file PdspChannelMapService.hpp.
|
private |
Definition at line 163 of file PdspChannelMapService.hpp.
|
private |
Definition at line 162 of file PdspChannelMapService.hpp.
|
private |
Definition at line 158 of file PdspChannelMapService.hpp.
|
private |
Definition at line 157 of file PdspChannelMapService.hpp.
|
private |
Definition at line 161 of file PdspChannelMapService.hpp.
|
private |
Definition at line 183 of file PdspChannelMapService.hpp.
|
private |
Definition at line 194 of file PdspChannelMapService.hpp.
|
private |
Definition at line 166 of file PdspChannelMapService.hpp.
|
private |
Definition at line 160 of file PdspChannelMapService.hpp.
|
private |
Definition at line 190 of file PdspChannelMapService.hpp.
|
private |
Definition at line 193 of file PdspChannelMapService.hpp.
|
private |
Definition at line 192 of file PdspChannelMapService.hpp.
|
private |
Definition at line 191 of file PdspChannelMapService.hpp.
|
private |
Definition at line 159 of file PdspChannelMapService.hpp.
|
private |
Definition at line 184 of file PdspChannelMapService.hpp.
|
private |
Definition at line 156 of file PdspChannelMapService.hpp.