Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

80X - Fix for handling of rare cases of CSC CFEB data corruptions with incorrect 16 samples flag reporting #12190

Merged
merged 1 commit into from
Oct 31, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion EventFilter/CSCRawToDigi/src/CSCCFEBData.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ CSCCFEBData::CSCCFEBData(unsigned number, unsigned short * buf, uint16_t format_
theSliceStarts.push_back(std::pair<int, bool>(pos, true));
// it will just be an array of CSCCFEBTimeSlices, so we'll
// grab the number of time slices from the first good one
maxSamples = goodSlice->sixteenSamples() ? 16 : 8;
// !!! VB - Limit maximum number of CFEB samples to 8.
// !!! In Run2 rare CFEB data corruptions were causing RECO problems with mistakenly setting 16 samples flags
// !!! Will need another fix in case of CSC switch to 16 samples readout
// maxSamples = goodSlice->sixteenSamples() ? 16 : 8;
if (goodSlice->sixteenSamples()) LogTrace ("CSCCFEBData|CSCRawToDigi")
<< "CFEB DATA slice " << theNumberOfSamples << " 16 samples flag is detected";
pos += goodSlice->sizeInWords();
}
else {
Expand Down