Skip to content

set timestamp in reconstruction#8341

Merged
shahor02 merged 3 commits intoAliceO2Group:devfrom
AllaMaevskaya:setOffsets
Mar 16, 2022
Merged

set timestamp in reconstruction#8341
shahor02 merged 3 commits intoAliceO2Group:devfrom
AllaMaevskaya:setOffsets

Conversation

@AllaMaevskaya
Copy link
Copy Markdown
Contributor

No description provided.

mslupeck
mslupeck previously approved these changes Mar 14, 2022
@AllaMaevskaya
Copy link
Copy Markdown
Contributor Author

FT0 should be reconstructed in pass4 with this PR to have it calibrated

shahor02
shahor02 previously approved these changes Mar 15, 2022
Copy link
Copy Markdown
Collaborator

@shahor02 shahor02 left a comment

Choose a reason for hiding this comment

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

Merging, but you should consider switching to DPL CCDB support.

CalibObjWithInfoType result;
auto clName = o2::utils::MemFileHelper::getClassName(calibrationObject);
auto flName = o2::ccdb::CcdbApi::generateFileName(clName);
stopping = 999999999999;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Actually, before I merge: what is the reason to set inf. end validity for every object? Overlapping objects create overhead in the query. Cannot you define one default object with large validity and upload calibration results with reasonable validity, e.g. end timestamp of the calibration data + some reasonable margin (e.g. 1 day) ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The reason of so large validity is that if to use offsets from previous runs if something went wrong.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

But how old calibration you are ready to accept? I can understand a few days old, otherwise, why don't you put some reasonable default only once?
With the current infinite settings, all your objects will overlap.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

OK, I will set validity as last timestamp + 1 day and upload default calibration with infinite settings - as you suggest

@AllaMaevskaya AllaMaevskaya dismissed stale reviews from shahor02 and mslupeck via 2fe5d30 March 16, 2022 09:26
Copy link
Copy Markdown
Collaborator

@shahor02 shahor02 left a comment

Choose a reason for hiding this comment

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

Thanks! Merging since the tests were passed before trivial change.

@shahor02 shahor02 merged commit 19e23f7 into AliceO2Group:dev Mar 16, 2022
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