Skip to content
Snippets Groups Projects

add plot for Links In Error

Closed Ricardo Vazquez Gomez requested to merge rvazquez_forCaloMoni into 2024-patches
@@ -145,6 +145,8 @@ namespace LHCb::Calo {
mutable Gaudi::Accumulators::MsgCounter<MSG::ERROR> m_bankSize_error{this, "Banks with wrong size"};
mutable Gaudi::Accumulators::Histogram<1> m_histoWrongSourceID{
this, "WrongBankSourceID", "Wrong bank size", {225, 22550, 22775}};
mutable Gaudi::Accumulators::Histogram<1> m_histoLinksInError{
this, "ErrorLinks", "Links in error", {32, -0.5, 31.5}};
};
unsigned int fibMask1 = 0xfff000ff;
@@ -402,10 +404,12 @@ namespace LHCb::Calo {
unsigned int pattern1 = pop( subdata_forFiberCheck, isLittleEndian );
unsigned int pattern2 = pop( subdata_forFiberCheck, isLittleEndian );
unsigned int pattern3 = pop( subdata_forFiberCheck, isLittleEndian );
if ( pattern1 == fibMask1 && pattern2 == fibMask2 && pattern3 == fibMask3 )
if ( pattern1 == fibMask1 && pattern2 == fibMask2 && pattern3 == fibMask3 ) {
isFiberOff = true;
else
++m_histoLinksInError[bitNum];
} else {
isFiberOff = false;
}
}
if ( 31 < offset ) {
Loading