Skip to content
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

[TPC-QC] Add functionality to query the PV position from CCDB. #2505

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

makor
Copy link
Contributor

@makor makor commented Jan 31, 2025

Feature needs to be tested. Right now I am also not sure what timestamp is used for MeanVertexObject.
Depends on the 02 (also draft) PR: AliceO2Group/AliceO2#13922

@knopers8
Copy link
Collaborator

Right now I am also not sure what timestamp is used for MeanVertexObject.

I could be wrong, but I think DPL matches the timestamp to whatever timestamp is associated with the data that arrives in the same timeslice.

@@ -70,6 +73,16 @@ void Tracks::startOfCycle()

void Tracks::monitorData(o2::framework::ProcessingContext& ctx)
{
// set the coordinates of the PV (extracted from CCDB)
if (usePVfromCCDB) {
auto coordinatesOfPV = ctx.inputs().get<o2::dataformats::MeanVertexObject*>("CTP/Calib/MeanVertex");
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this should be

Suggested change
auto coordinatesOfPV = ctx.inputs().get<o2::dataformats::MeanVertexObject*>("CTP/Calib/MeanVertex");
auto coordinatesOfPV = ctx.inputs().get<o2::dataformats::MeanVertexObject*>("meanvertex");

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