Skip to content

Conversation

@jikim1290
Copy link
Contributor

adding trigger condition for lambdalambda

@github-actions github-actions bot changed the title [Event Filtering] adding trigger condition for lambdalambda [PWGLF,Trigger] [Event Filtering] adding trigger condition for lambdalambda Apr 16, 2025
Copy link
Collaborator

@mpuccio mpuccio left a comment

Choose a reason for hiding this comment

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

Hi Junlee, thanks a lot! I think that with the current implementation you are selecting only LL and not antiL antiL pairs. Can you have a look?

if (v00.globalIndex() <= v01.globalIndex()) {
continue;
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

Before building the second V0, can you also check that there is no overlapping index for the daughters of the two V0s? I see that it is done later, but in general we should do simple checks as early as possible to avoid computing vertices that need to be discarded.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The number of lambdas in pp is not that high so I think it would be not that bigger usage. By the way, can you please teach me the logic for that? I can try to implement it but it look needing 2 independent loops for v0.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, yes it is v0 cadidate loop that including many more than only lambda..

}
int Tag = 0;
if (cfgPIDPi > std::fabs(negTrack0.tpcNSigmaPi()) && cfgPIDPr > std::fabs(posTrack0.tpcNSigmaPr())) {
if (cfgLambdaMassWindow > std::fabs(mStraHelper.v0.massLambda - o2::constants::physics::MassLambda0) || cfgCompV0Rej < std::fabs(mStraHelper.v0.massK0Short - o2::constants::physics::MassLambda0)) {
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 that for the competing mass hypothesis you need to have a K0s in the second condition

continue;
}
int Tag = 0;
if (cfgPIDPi > std::fabs(negTrack0.tpcNSigmaPi()) && cfgPIDPr > std::fabs(posTrack0.tpcNSigmaPr())) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

If you do like this, an anti-lambda might be skipped here. You should consider also the antilambda hypothesis

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From L644 to L655, I checked the candidate could be lambda or antilambda.
If both hypotheses work, Tag would be two and if none of two hypotheses work, Tag would be zero.
I accept the case when only one hypothesis is correct, which means that I select either only lambda or anti-lambda
It is intended to have lambda-lambda and antilambda-antilambda pair to see the signal and lambda-antilambda pair for cross check.

@jikim1290
Copy link
Contributor Author

@mpuccio I have implemented preselection only for lambda so two loop after the selection would be not to heavy as the number of lambda (after selection) in pp would be not that large.
And I have modified other parts that you pointed out.

jikim1290 added a commit to jikim1290/O2Physics that referenced this pull request Apr 17, 2025
Please consider the following formatting changes to AliceO2Group#10885
@mpuccio mpuccio enabled auto-merge (squash) April 22, 2025 16:00
@mpuccio mpuccio merged commit fedf03b into AliceO2Group:master Apr 22, 2025
11 of 13 checks passed
bghanley1995 pushed a commit to bghanley1995/O2Physics that referenced this pull request May 5, 2025
…lambda (AliceO2Group#10885)

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
jinhyunni pushed a commit to jinhyunni/O2Physics that referenced this pull request May 11, 2025
…lambda (AliceO2Group#10885)

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
jinhyunni pushed a commit to jinhyunni/O2Physics that referenced this pull request May 11, 2025
…lambda (AliceO2Group#10885)

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
prottayCMT pushed a commit to prottayCMT/O2Physics2024 that referenced this pull request May 17, 2025
…lambda (AliceO2Group#10885)

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
ariedel-cern pushed a commit to ariedel-cern/O2Physics that referenced this pull request May 23, 2025
…lambda (AliceO2Group#10885)

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
smaff92 pushed a commit to smaff92/O2Physics that referenced this pull request Jun 17, 2025
…lambda (AliceO2Group#10885)

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
alibuild added a commit to alibuild/O2Physics that referenced this pull request Aug 11, 2025
…lambda (AliceO2Group#10885)

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

Development

Successfully merging this pull request may close these issues.

3 participants