Skip to content

Conversation

@yashpatley
Copy link
Contributor

  1. Updated pair efficiency histograms
  2. Added a process function for computation of correlation function from mix event method

1. Updated pair efficiency histograms
2. Added a process function for computation of correlation function from mix event method
Comment on lines +1317 to +1321
if (std::string(obj->ClassName()) == "TH2F") {
retVal = hist->GetBinContent(hist->FindBin(p1.pt(), p2.pt()));
} else if (std::string(obj->ClassName()) == "TH3F") {
retVal = hist->GetBinContent(hist->FindBin(p1.pt(), p2.pt(), dRap));
} else {
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 I already suggested at some point to use the histogram number of dimensions instead of comparing strings at the pair loop level

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Dear Victor, It completely slipped my mind, I will do it in next PR. Thank you for reminding.

Copy link
Collaborator

@victor-gonzalez victor-gonzalez left a comment

Choose a reason for hiding this comment

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

Have in mind that only the collisions in the same data frame are going to be mixed by the mixed event framework. If you really need mixed event probably you would need to consider derived data

@victor-gonzalez victor-gonzalez merged commit 38f7831 into AliceO2Group:master Jan 31, 2025
13 of 14 checks passed
@yashpatley yashpatley deleted the lambda-r2-update branch February 11, 2025 14:44
smaff92 pushed a commit to smaff92/O2Physics that referenced this pull request Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants