Skip to content

PWGHF: Adding D0 to taskFlowCharmHadrons, including Ml.#5087

Closed
wuctlby wants to merge 7 commits into
AliceO2Group:masterfrom
wuctlby:master
Closed

PWGHF: Adding D0 to taskFlowCharmHadrons, including Ml.#5087
wuctlby wants to merge 7 commits into
AliceO2Group:masterfrom
wuctlby:master

Conversation

@wuctlby

@wuctlby wuctlby commented Mar 11, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@wuctlby wuctlby closed this Mar 11, 2024
tracksQx.push_back(cos(harmonic * phiTrack2) * pTtrack2 / ampl);
tracksQy.push_back(sin(harmonic * phiTrack2) * pTtrack2 / ampl);

if constexpr (DecayChannel != DecayChannel::D0ToPiK) {

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.

Please avoid this kind of confusing naming patterns. DecayChannel on the left is a variable, DecayChannel on the right is a type.

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.

Sorry, I have closed this PR due to a failed submission and will resubmit. I'll change or explain existing comments.

Comment on lines +170 to +171
tracksQx.push_back(cos(harmonic * phiTrack2) * pTtrack2 / ampl);
tracksQy.push_back(sin(harmonic * phiTrack2) * pTtrack2 / ampl);

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.

Explicitly state the namespace you use.

Configurable<int> centDetector{"centDetector", 0, "Detector for centrality estimation (V0A: 0, T0M: 1, T0A: 2, T0C: 3"};
Configurable<int> centDetector{"centDetector", 0, "Detector for centrality estimation (V0A: 0, T0M: 1, T0A: 2, T0C: 3)"};
Configurable<int> selectionFlag{"selectionFlag", 1, "Selection Flag for hadron (e.g. 1 for skimming, 3 for topo. and kine., 7 for PID)"};
Configurable<int> prongNum{"prongNum", 3, "Number of candidate's prong (For D0, set selectionFlag = 1 and prongNum = 2)"};

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.

Suggested change
Configurable<int> prongNum{"prongNum", 3, "Number of candidate's prong (For D0, set selectionFlag = 1 and prongNum = 2)"};
Configurable<int> nProngs{"nProngs", 3, "Number of candidate's prong (For D0, set selectionFlag = 1 and nProngs = 2)"};

Why does this have to be set manually?

@wuctlby

wuctlby commented Mar 11, 2024

Copy link
Copy Markdown
Contributor Author

This is the new https://github.com/AliceO2Group/O2Physics/pull/5089 @vkucera. Thank you for the comment.

@vkucera

vkucera commented Mar 11, 2024

Copy link
Copy Markdown
Collaborator

@Libeiyu In general, there is no reason to close a PR and open a new one from the same branch. The new PR will be identical with the closed one.

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