Skip to content

Conversation

@dsekihat
Copy link
Collaborator

PWGEM/Dilepton, Trigger: update trigger analysis in LMEE

@github-actions
Copy link

github-actions bot commented Aug 30, 2025

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

@github-actions github-actions bot changed the title PWGEM/Dilepton, Trigger: update trigger analysis in LMEE [PWGEM/Dilepton,Trigger] update trigger analysis in LMEE Aug 30, 2025
dsekihat added a commit to dsekihat/O2Physics that referenced this pull request Aug 30, 2025
Please consider the following formatting changes to AliceO2Group#12798
@dsekihat dsekihat enabled auto-merge (squash) August 30, 2025 21:58
@dsekihat
Copy link
Collaborator Author

Dear @mpuccio , I added another counter and its getter for normalization study. Can you have a loot at it?

int binY = ToiHisto->GetYaxis()->FindBin(Form("%s AnalysedTriggers", mTOIs[i].data()));
ToiHisto->SetBinContent(binX, binY, mAnalysedTriggers->GetBinContent(mAnalysedTriggers->GetXaxis()->FindBin(mTOIs[i].data())));
}
mATcounts[i] += (mAnalysedTriggers->GetBinContent(mAnalysedTriggers->GetXaxis()->FindBin(mTOIs[i].data())) > mATcounts[i]);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am not sure I follow the logic here, could you explain what you are looking for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hello @mpuccio , Thank you for your question. This is equivalent to AnalysedTrigger at line 268. The trigger counters of both AnalysedTrigger and AnalyzedTriggerOfInterest are necessary to see double counting.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I understand that you want to have the output for the analysed triggers, what I don't understand is why you want to have a counter that is incremented by 1 only if the content of the histogram is larger than the counter itself

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ciao @mpuccio , Thank you for your comments in person and here. You are right. I moved into fetch(). Another improvement is that the counter is independent from mAnalysedTriggers. The purpose is trigger counter in bc by bc.

@dsekihat dsekihat disabled auto-merge September 1, 2025 15:56
@mpuccio mpuccio enabled auto-merge (squash) September 1, 2025 22:05
@mpuccio mpuccio merged commit 5c1113a into AliceO2Group:master Sep 2, 2025
13 of 15 checks passed
@dsekihat dsekihat deleted the swt branch September 2, 2025 15:32
jinhyunni pushed a commit to jinhyunni/O2Physics that referenced this pull request Oct 11, 2025
ThePhDane pushed a commit to ThePhDane/O2Physics that referenced this pull request Nov 3, 2025
jloemker pushed a commit to jloemker/O2Physics that referenced this pull request Nov 11, 2025
alibuild pushed a commit to alibuild/O2Physics that referenced this pull request Dec 5, 2025
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