Skip to content

Conversation

@Preet-Bhanjan
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the pwgcf label Jun 16, 2025
@github-actions
Copy link

github-actions bot commented Jun 16, 2025

O2 linter results: ❌ 0 errors, ⚠️ 0 warnings, 🔕 0 disabled

Preet-Bhanjan added a commit to Preet-Bhanjan/O2Physics that referenced this pull request Jun 16, 2025
[PWGCF] Please consider the following formatting changes to AliceO2Group#11634
@Preet-Bhanjan Preet-Bhanjan marked this pull request as ready for review June 16, 2025 13:56
Configurable<std::vector<double>> cfgTpcNsigmaCut{"cfgTpcNsigmaCut", std::vector<double>{1.5, 1.5, 1.5, -1.5, -1.5, -1.5}, "TOF n-sigma cut for pions_posNsigma, kaons_posNsigma, protons_posNsigma, pions_negNsigma, kaons_negNsigma, protons_negNsigma"};
Configurable<std::vector<int>> cfgUseEventCuts{"cfgUseEventCuts", std::vector<int>{1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0}, "Switch for various event cuts [kNoTimeFrameBorder, kNoITSROFrameBorder, kNoSameBunchPileup, kIsGoodZvtxFT0vsPV, kNoCollInTimeRangeStandard, kIsGoodITSLayersAll, kNoCollInRofStandard, kNoHighMultCollInPrevRof, Occupancy, Multiplicity correlation, T0AV0A 3 sigma cut, kIsVertexITSTPC, kTVXinTRD]"};
Configurable<std::vector<double>> cfgTpcNsigmaCut{"cfgTpcNsigmaCut", std::vector<double>{10, 10, 10, -10, -10, -10}, "TOF n-sigma cut for pions_posNsigma, kaons_posNsigma, protons_posNsigma, pions_negNsigma, kaons_negNsigma, protons_negNsigma"};
Configurable<std::vector<int>> cfgUseEventCuts{"cfgUseEventCuts", std::vector<int>{1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0}, "Switch for various event cuts [Filtered Events, Sel8, kNoTimeFrameBorder, kNoITSROFrameBorder, kNoSameBunchPileup, kIsGoodZvtxFT0vsPV, kNoCollInTimeRangeStandard, kIsGoodITSLayersAll, kNoCollInRofStandard, kNoHighMultCollInPrevRof, Occupancy, Multiplicity correlation, T0AV0A 3 sigma cut, kIsVertexITSTPC, kTVXinTRD]"};
Copy link
Collaborator

Choose a reason for hiding this comment

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

This alone is going to be hard to configure in hyperloop, even in local .json files
I would suggest considering LabeledArray configurable instead

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 a look at my comments in case you want to consider them for future iterations

[PWGCF] Please consider the following formatting changes to AliceO2Group#11634
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.

Thanks!
Don't forget to consider in the future the LabeledArray suggestion. It will definitely make your life easier in hyperloop

@victor-gonzalez victor-gonzalez enabled auto-merge (squash) June 16, 2025 16:19
@Preet-Bhanjan
Copy link
Contributor Author

Thanks! Don't forget to consider in the future the LabeledArray suggestion. It will definitely make your life easier in hyperloop

I am trying to implement it. But I couldn't find any documentation for its usage

@victor-gonzalez
Copy link
Collaborator

Thanks! Don't forget to consider in the future the LabeledArray suggestion. It will definitely make your life easier in hyperloop

I am trying to implement it. But I couldn't find any documentation for its usage

This is covered in the O2Physics documentation https://aliceo2group.github.io/analysis-framework/docs/tutorials/otherTutorials.html second example
You can run the example on hyperloop and see how it looks like and then decide

@Preet-Bhanjan
Copy link
Contributor Author

Thanks! Don't forget to consider in the future the LabeledArray suggestion. It will definitely make your life easier in hyperloop

I am trying to implement it. But I couldn't find any documentation for its usage

This is covered in the O2Physics documentation https://aliceo2group.github.io/analysis-framework/docs/tutorials/otherTutorials.html second example You can run the example on hyperloop and see how it looks like and then decide

Thanks, I will look into it

@victor-gonzalez victor-gonzalez merged commit ece6700 into AliceO2Group:master Jun 16, 2025
13 checks passed
jinhyunni pushed a commit to jinhyunni/O2Physics that referenced this pull request Jun 18, 2025
Co-authored-by: Preet Pati <preet@preet-6.local>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
prottayCMT pushed a commit to prottayCMT/O2Physics2024 that referenced this pull request Jun 20, 2025
Co-authored-by: Preet Pati <preet@preet-6.local>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
jpxrk pushed a commit to jpxrk/O2Physics that referenced this pull request Jul 16, 2025
Co-authored-by: Preet Pati <preet@preet-6.local>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
jloemker pushed a commit to jloemker/O2Physics that referenced this pull request Nov 11, 2025
Co-authored-by: Preet Pati <preet@preet-6.local>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
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.

3 participants