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

Fixes for MID decoding and data access #8612

Merged
merged 2 commits into from
Apr 19, 2022
Merged

Conversation

shahor02
Copy link
Collaborator

No description provided.

@shahor02 shahor02 requested a review from aphecetche as a code owner April 19, 2022 11:14
@shahor02
Copy link
Collaborator Author

@dstocco

auto getBCDiff = [startIR = this->startIR](const o2::InteractionRecord& ir) {
static int BCDiffErrCount = 0;
constexpr int MAXBCDiffErrCount = 5;
auto bcd = ir.differenceInBC(startIR);
if (uint64_t(bcd) > o2::constants::lhc::LHCMaxBunches * 256 && BCDiffErrCount < MAXBCDiffErrCount) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you assuming that the number of orbits per TF is 256? Isn't it 128 now?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

256 is the max we can have though in real data production we will likely have only 128 (but e.g. MC currently uses 256). To be rigorous, one should take the real NHBFperTF from the GRP, but I did not want to make RecoContainerCreateTracksVariadic on CCDB

@shahor02 shahor02 merged commit bb76554 into AliceO2Group:dev Apr 19, 2022
@shahor02 shahor02 deleted the pr_mid branch April 19, 2022 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants