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

Change code to not stop on SRP block error and proceed with FE data unpacking - 808pX base #14780

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 8 additions & 4 deletions EventFilter/EcalRawToDigi/src/DCCSRPBlock.cc
Expand Up @@ -56,8 +56,10 @@ int DCCSRPBlock::unpack(const uint64_t ** data, unsigned int * dwToEnd, unsigned
event_->setSRPSyncNumbers(l1_,bx_);

if( ! checkSrpIdAndNumbSRFlags() ){
// SRP flags are required to check FE data
return STOP_EVENT_UNPACKING;
//// SRP flags are required to check FE data
//return STOP_EVENT_UNPACKING;
updateEventPointers();
return SKIP_BLOCK_UNPACKING;
}

// Check synchronization
Expand All @@ -75,8 +77,10 @@ int DCCSRPBlock::unpack(const uint64_t ** data, unsigned int * dwToEnd, unsigned
<< " => Stop event unpacking";
}
//Note : add to error collection ?
// SRP flags are required to check FE , better using synchronized data...
return STOP_EVENT_UNPACKING;
//// SRP flags are required to check FE , better using synchronized data...
// return STOP_EVENT_UNPACKING;
updateEventPointers();
return SKIP_BLOCK_UNPACKING;
}
}

Expand Down