Skip to content
Snippets Groups Projects

RichDAQ - Decoding fixes when inactive links are present

Merged Christopher Rob Jones requested to merge jonrob/LHCb:RichDAQ-FixesForInactiveLinks into master
Files
3
@@ -153,7 +153,13 @@ namespace Rich::Future::DAQ {
using LinksPerSourceID = std::map<Rich::DAQ::SourceID, std::set<Rich::DAQ::Tel40Connector>>;
/// Array of Tel40 data structs for each connection
using Tel40Connections = boost::container::static_vector<Tel40LinkData, MaxConnectionsPerTel40>;
class Tel40Connections final : public boost::container::static_vector<Tel40LinkData, MaxConnectionsPerTel40> {
public:
/// Flag to indicate if at least one link is inactive
bool hasInactiveLinks{false};
/// Total number of active links;
std::size_t nActiveLinks{0};
};
/// connection data for each SourceID
using Tel40SourceIDs = DetectorArray<PanelArray<std::vector<Tel40Connections>>>;
Loading