Skip to content

adding new 2trck cut#6522

Merged
victor-gonzalez merged 2 commits into
AliceO2Group:masterfrom
glromane:master
Jun 14, 2024
Merged

adding new 2trck cut#6522
victor-gonzalez merged 2 commits into
AliceO2Group:masterfrom
glromane:master

Conversation

@glromane

Copy link
Copy Markdown
Collaborator

Dear @victor-gonzalez ,

in this commit we add a new double track cut. Could you please approve it. Thank you.

Sincerely yours, Gleb.

Comment thread PWGCF/Femto3D/Core/femto3dPairTask.h Outdated
res += sqrt(pow(2.0 * radius * sin(0.5 * GetPhiStarDiff(radius)), 2) + pow(2.0 * radius * sin(0.5 * dtheta), 2));
}

return 100.0 * res / 9;

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.

I would recommend using the length of the TPCradii instead of 9

@glromane glromane Jun 14, 2024

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.

Dear @victor-gonzalez , thank you your comment. The size is fixed so I used just 9, now I changed it to std::array and calling the size() method. Is it OK like this?

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.

Thanks! It is OK
My point was that if someone in the future changes the size of the array by including more radii they only need to care about the array and nothing else

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.

ah, I see. Thanks!

@victor-gonzalez victor-gonzalez left a comment

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.

Have a look at my comment
I approve it but I will wait for merging it in case you want to modify it

@victor-gonzalez victor-gonzalez enabled auto-merge (squash) June 14, 2024 11:57
@victor-gonzalez victor-gonzalez merged commit 70559ff into AliceO2Group:master Jun 14, 2024
GiorgioAlbertoLucia pushed a commit to GiorgioAlbertoLucia/O2Physics that referenced this pull request Jul 9, 2024
* adding new 2trck cut

* applying requisted change
echizzal pushed a commit to echizzal/O2Physics that referenced this pull request Jul 18, 2024
* adding new 2trck cut

* applying requisted change
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.

2 participants