Skip to content

Fixes for MID decoding and data access#8612

Merged
shahor02 merged 2 commits intoAliceO2Group:devfrom
shahor02:pr_mid
Apr 19, 2022
Merged

Fixes for MID decoding and data access#8612
shahor02 merged 2 commits intoAliceO2Group:devfrom
shahor02:pr_mid

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

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