-
Notifications
You must be signed in to change notification settings - Fork 444
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
Ctpdev: irframes #13835
Ctpdev: irframes #13835
Conversation
REQUEST FOR PRODUCTION RELEASES:
This will add The following labels are available |
Hi @shahor02 , please, have a look.
|
Error while checking build/O2/fullCI for 919541f at 2025-01-06 10:52:
Full log here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lietava !
The code looks fine but the irframes.log
you attached contains only the log of the frames definition. What do you get running the reader with this input ? I mean the logs from the line https://github.com/AliceO2Group/AliceO2/pull/13835/files#diff-f0c3334de508325d982a2d5157e2598d72a29e3d4e2693bb0d4a2659ab46cd9eR121 .
Note that you don't need to run explicitly with option --ignore-irframes
, it is just a mechanism used by the reader-driver
to trigger frames selection in the reader.
I.e. for the "normal" reading on still uses old
o2-ctp-digit-reader
as an upstream workflow, while for ir-frame selective reading:
o2-reader-driver-workflow $DIGINP $TFTHROTTLE -b | o2-ctp-digit-reader ,,,
w/o explicitly mentioning the ignore-irframes
long biasInBC = 0; // depends if digits are already aligned | ||
irfSel.setSelectedIRFrames(irFrames, 0, 0, -biasInBC, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the case of the CTP the bias is 0, you could simply pass it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
} | ||
} | ||
|
||
void DigitReader::init(InitContext& ic) | ||
{ | ||
auto filename = o2::utils::Str::concat_string(o2::utils::Str::rectifyDirectory(ic.options().get<std::string>("input-dir")), | ||
ic.options().get<std::string>("ctp-digit-infile")); | ||
LOG(info) << "init: " << ic.options().hasOption("ignore-irframes") << " " << ic.options().get<bool>("ignore-irframes"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this line breaks the FullCI with ][ERROR] Exception caught while in Init: missing option: ignore-irframes (No such node (ignore-irframes)). Exiting with 1.
since you unconditionally query this option
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
HI @lietava , thanks. For validation: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
No description provided.