Skip to content

Commit 6accd25

Browse files
author
cramonal
committed
if payload == 0, CRCflag to true
1 parent eb45085 commit 6accd25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EventFilter/HGCalRawToDigi/src/UnpackerTools.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
bool hgcal::econdCRCAnalysis(const uint64_t *header, const uint32_t pos, const uint32_t payloadLength) {
1111
//there needs to be at least the CRC word otherwise it can't be checked
1212
if (payloadLength == 0)
13-
return false;
13+
return true;
1414

1515
int index = 0;
1616
std::vector<uint32_t> data32b; // reading 32-bit words, input is 64b

0 commit comments

Comments
 (0)