Skip to content

TRD remove straggling error output and add option for trigger fix#7769

Merged
davidrohr merged 1 commit intoAliceO2Group:devfrom
bazinski:fixtriggerforolddata
Dec 6, 2021
Merged

TRD remove straggling error output and add option for trigger fix#7769
davidrohr merged 1 commit intoAliceO2Group:devfrom
bazinski:fixtriggerforolddata

Conversation

@bazinski
Copy link
Copy Markdown
Collaborator

  • option --fixforoldtrigger ignore the 2 step trigger for physics/calibration nodigit/digit data.
  • remove a straggling text output for non sequential ROB, printing digit mcm header.

martenole
martenole previously approved these changes Nov 30, 2021
@davidrohr
Copy link
Copy Markdown
Collaborator

can someone approve, then I would merge?

@bazinski
Copy link
Copy Markdown
Collaborator Author

bazinski commented Dec 6, 2021

@tdietel @martenole could one of you approve this so i can get this off my list ;-) thanks

*****************/
// Check if we have a calibration trigger ergo we do actually have digits data. check if we are now at the end of the data due to bugs, i.e. if trackletparsing read padding words.
if (linkstart != linkend && mCurrentHalfCRUHeader.EventType == o2::trd::constants::ETYPECALIBRATIONTRIGGER) { // calibration trigger
if (linkstart != linkend && (mCurrentHalfCRUHeader.EventType == o2::trd::constants::ETYPECALIBRATIONTRIGGER || mOptions[TRDIgnore2StageTrigger])) { // calibration trigger
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So without the 2-stage trigger we always had digits in the raw data? Did you test it with both old and new raw data format?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, but only hcheader and trailers, but it gets caught by the linkstart != linkend if there are no digits.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

sounds good

@davidrohr davidrohr merged commit 848d3b8 into AliceO2Group:dev Dec 6, 2021
@bazinski bazinski deleted the fixtriggerforolddata branch May 26, 2022 18:38
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.

3 participants