[EMCAL-834] Checking active links per trigger - #11238
Merged
Merged
Conversation
mfasDa
requested changes
Apr 26, 2023
mfasDa
left a comment
Collaborator
There was a problem hiding this comment.
Apart from the global BC using the function from o2::InteractionRecords the rest looks good to me.
| auto feeID = raw::RDHUtils::getFEEID(header); | ||
| auto triggerbits = raw::RDHUtils::getTriggerType(header); | ||
|
|
||
| ULong64_t BCcoll = ULong64_t(triggerBC) + ULong64_t(triggerOrbit * 3564); |
Collaborator
There was a problem hiding this comment.
Please use instead
ULong64_t BCcoll = currentIR.toLong();instead.
Comment on lines
+361
to
+363
| std::unordered_map<ULong64_t, std::bitset<46>>::iterator p; | ||
| for (p = bcFreq.begin(); p != bcFreq.end(); p++) { | ||
| if (p->second != bitSetActiveLinks) { |
Collaborator
There was a problem hiding this comment.
Could be handled with range-based iteration + c++17 structured-binding:
for(const auto &[globalBC, activelinks) : bcFreq) {
if (activelinks != bitSetActiveLinks){
...
}
}
Collaborator
|
Error while checking build/O2/fullCI for b20e043 at 2023-04-26 19:17: Full log here. |
Collaborator
|
Error while checking build/O2/fullCI for 7ae3ac0 at 2023-04-27 13:41: Full log here. |
Collaborator
|
@mpoghos In order to pass the fullCI we need a default CCDB object for EMC/Calib/FeeDCs in the timestamp range of the unanchored MCs. |
Collaborator
mdiotti
pushed a commit
to mdiotti/AliceO2
that referenced
this pull request
May 25, 2023
* [EMCAL-834] Checking active links per trigger * [EMCAL-834] Checking active links per trigger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.