Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Intt Event Mixup QA #3201

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

MAIKANO1
Copy link

bcocheck module make INTT BCO difference plot (BCO_Full - BCO) for getting trigger timing peak.
InttMixupQA module analyze hit mixed up from previous event.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work for users)
  • Requiring change in macros repository (Please provide links to the macros pull request in the last section)
  • I am a member of GitHub organization of sPHENIX Collaboration, EIC, or ECCE (contact Chris Pinkenburg to join)

What kind of change does this PR introduce? (Bug fix, feature, ...)

TODOs (if applicable)

Links to other PRs in macros and calibration repositories (if applicable)

@sphenix-jenkins-ci
Copy link

Build & test report

Report for commit d992284bf65528f03055b876804ed4df80534be9:
Jenkins on fire


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

Copy link
Contributor

@osbornjd osbornjd left a comment

Choose a reason for hiding this comment

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

This needs to be modified to use the QA framework for file handling so that all QA histograms go to the same place when the module is used in the production.

See here for an example of how to register QA histograms with the manager, and then you can get your macro to dump the histograms out using some code like this

josephbertaux and others added 2 commits November 19, 2024 03:14
…rrays of hists that will be plotted with a QAHistManager
Added name mangling with (default) QA module name, registered the 4 a…
@josephbertaux
Copy link
Contributor

I fixed some of the issues locally--I spoke with Mai and only 4 of the (arrays) of histograms are to be plotted.
I introduced name mangling and added them to a QAHistManager, she's merged the changes to her branch. I'm leaving most of it alone and will helper her with a plotting macro soon

@sphenix-jenkins-ci
Copy link

Build & test report

Report for commit 3e188154f621011685181c03eec6b07e071126c5:
Jenkins on fire


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

josephbertaux and others added 2 commits November 19, 2024 20:35
Fixed (most, ignored "variable's scope can be reduced") cppcheck erro…
@sphenix-jenkins-ci
Copy link

Build & test report

Report for commit a5c8329dcee8ad5557a749a3e8e7a01cd6c7920c:
Jenkins on fire


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

@sphenix-jenkins-ci
Copy link

Build & test report

Report for commit 8d28dec8a70aa7324d5cf9778036384849dd8c60:
Jenkins on fire


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

Copy link
Contributor

@osbornjd osbornjd left a comment

Choose a reason for hiding this comment

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

I fixed the clang-tidy issues from the CI but this still needs some work. You register the histograms now with the histogram manager which is great, but the only thing these modules should do is create the histograms, register them with the histogram manager, and then fill those histograms. The histogram manager will take care of the file creation and writing of the histograms for you. Then, the drawing of those histograms is delegated to a different module in github.com/sPHENIX-Collaboration/QAhtml . That means these modules should not do any drawing or other file creation - that is delegated to QAhtml.

Also in general you should not use Form and instead use the boost::format to create names of things. When we switch to c++20 soon then we can use std::format.

If you have questions about any of this, let's setup a time to chat and we can discuss how to go about it

@sphenix-jenkins-ci
Copy link

Build & test report

Report for commit d21b7945e9d25757c263eedd2c18106f2a9efd58:
Jenkins passed


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants