Skip to content
Snippets Groups Projects
Commit e3518ef8 authored by Guillaume Vouters's avatar Guillaume Vouters Committed by Miroslav Saur
Browse files

add 2 new run3 raw DAQ error bank types

parent c5ac94d0
No related branches found
No related tags found
2 merge requests!4546Synchronize master branch with 2024-patches,!4486add 2 new run3 raw DAQ error bank types
......@@ -160,6 +160,8 @@ namespace LHCb {
VeloSPPandCluster, // 97
UTNZS, // 98
UTSpecial, // 99
DaqErrorAlignFifoFull, // 100
DaqErrorFEfragSizeWrong, // 101
// Add new types here. Don't forget to update also RawBank.cpp
LastType // LOOP Marker; add new bank types ONLY before!
......
......@@ -225,6 +225,10 @@ namespace LHCb {
return "UTNZS";
case RawBank::UTSpecial:
return "UTSpecial";
case RawBank::DaqErrorAlignFifoFull:
return "DaqErrorAlignFifoFull";
case RawBank::DaqErrorFEfragSizeWrong:
return "DaqErrorFEfragSizeWrong";
default:
return "Undefined_name";
};
......
......@@ -34,7 +34,9 @@ namespace {
"DaqErrorFragmentTruncated",
"DaqErrorIdleBXIDCorrupted",
"DaqErrorFragmentMalformed",
"DaqErrorEVIDJumped"};
"DaqErrorEVIDJumped",
"DaqErrorAlignFifoFull",
"DaqErrorFEfragSizeWrong"};
const std::vector<std::string> BankLocationLabels_Y = {"D1P0", "D1P1", "D2P0", "D2P1", "D3P0", "D3P1"};
......@@ -58,7 +60,11 @@ public:
private:
mutable Gaudi::Accumulators::Histogram<1, Gaudi::Accumulators::atomicity::full, float> m_errorBankTypeHist = {
this, "ErrorsPerErrorBankType", "Errors", {9, -0.5, 9 - 0.5, "Error Bank", ErrorBankLabels}};
this,
"ErrorsPerErrorBankType",
"Errors",
{static_cast<unsigned int>( ErrorBankLabels.size() ), -0.5f, static_cast<float>( ErrorBankLabels.size() ) - 0.5f,
"Error Bank", ErrorBankLabels}};
mutable Gaudi::Accumulators::Histogram<2> m_errorsBankLocationHist2D = {
this,
......
......@@ -62,6 +62,8 @@ monSeq = GaudiSequencer('FTErrorDecoding', IgnoreFilterPassed=False)
# DaqErrorIdleBXIDCorrupted, // 94
# DaqErrorFragmentMalformed, // 95
# DaqErrorEVIDJumped, // 96
# DaqErrorAlignFifoFull, // 100
# DaqErrorFEfragSizeWrong, // 101
# errors are almost always BXID corrupted as this is the first error caught when something is wrong in the TELL40.
......@@ -69,7 +71,8 @@ bankTypes = [
'FTError', 'DaqErrorFragmentThrottled', 'DaqErrorBXIDCorrupted',
'DaqErrorSyncBXIDCorrupted', 'DaqErrorFragmentMissing',
'DaqErrorFragmentTruncated', 'DaqErrorIdleBXIDCorrupted',
'DaqErrorFragmentMalformed', 'DaqErrorEVIDJumped', 'ODIN'
'DaqErrorFragmentMalformed', 'DaqErrorEVIDJumped', 'DaqErrorAlignFifoFull',
'DaqErrorFEfragSizeWrong', 'ODIN'
]
unpacker = LHCb__UnpackRawEvent(
'UnpackRawEvent',
......
......@@ -13,11 +13,13 @@
"DaqErrorFragmentTruncated",
"DaqErrorIdleBXIDCorrupted",
"DaqErrorFragmentMalformed",
"DaqErrorEVIDJumped"
"DaqErrorEVIDJumped",
"DaqErrorAlignFifoFull",
"DaqErrorFEfragSizeWrong"
],
"maxValue": 8.5,
"maxValue": 10.5,
"minValue": -0.5,
"nBins": 9,
"nBins": 11,
"title": "Error Bank"
}
],
......@@ -32,6 +34,8 @@
0,
0,
0,
0,
0,
0
],
"dimension": 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment