Skip to content

Sync#1

Open
blackcathj wants to merge 3957 commits into
sPHENIX-Test:masterfrom
sPHENIX-Collaboration:master
Open

Sync#1
blackcathj wants to merge 3957 commits into
sPHENIX-Test:masterfrom
sPHENIX-Collaboration:master

Conversation

@blackcathj

Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings January 8, 2026 19:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a comprehensive set of calibration and production macros for the sPHENIX experiment, focusing on calorimeter calibrations and tracking production workflows.

  • Adds EMCal pi0 calibration workflows for both year 1 and year 2 runs
  • Adds systematic uncertainty generation tools for calorimeter subsystems
  • Adds trigger and tracking production scripts for run3pp and run3auau configurations

Reviewed changes

Copilot reviewed 161 out of 444 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
calibrations/calo/emcal_calib_year2/* Year 2 EMCal pi0 calibration workflow with condor submission and iterative fitting
calibrations/calo/emcal_calib_year1/* Year 1 EMCal calibration including tower slope and pi0 methods with track-based analysis
calibrations/calo/calo_cdb/* Automated CDB map generation with database querying and condor submission
calibrations/calo/calo_syst/* Systematic uncertainty generation for calorimeter calibrations
TrackingProduction/run3pp/* Run3 pp tracking production with KFParticle reconstruction
TrackingProduction/run3auau/* Run3 AuAu tracking production with endpoint-aware TPC unpacking
TriggerProduction/* Trigger event combining with GL1 synchronization

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

This set of macros runs the EMCal pi0 calibration which is ran over a user defined set of DSTs/runs and produces a C DBTTREE which is the calibration.

doFitAndCalibUpdate.C
This does the fitting of the pi0 peak, compares it to the target mass and generates a new calibration with which will obtain target mass with subsiquant runnings over the data.

Copilot AI Jan 8, 2026

Copy link

Choose a reason for hiding this comment

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

Corrected spelling of 'subsiquant' to 'subsequent'.

Suggested change
This does the fitting of the pi0 peak, compares it to the target mass and generates a new calibration with which will obtain target mass with subsiquant runnings over the data.
This does the fitting of the pi0 peak, compares it to the target mass and generates a new calibration with which will obtain target mass with subsequent runnings over the data.

Copilot uses AI. Check for mistakes.
Comment on lines +7 to +8
This contains the area where the condor jobs are submitted and the multi-step proceedure is executed via run.sh.
To exicute the proceedure do sh run.sh

Copilot AI Jan 8, 2026

Copy link

Choose a reason for hiding this comment

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

Corrected spelling of 'exicute' to 'execute' and 'proceedure' to 'procedure'.

Suggested change
This contains the area where the condor jobs are submitted and the multi-step proceedure is executed via run.sh.
To exicute the proceedure do sh run.sh
This contains the area where the condor jobs are submitted and the multi-step procedure is executed via run.sh.
To execute the procedure do sh run.sh

Copilot uses AI. Check for mistakes.
run.sh contains the logic of how the calibration proceeds.

Fun4All_EMCal.C
This is the main histogram-making Fun4All macro and is run over condor generally. It takes arguements of the path to the calibration file to use, a DST file list, number of events to process, and the iteration number (only usered for output naming purposes).

Copilot AI Jan 8, 2026

Copy link

Choose a reason for hiding this comment

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

Corrected spelling of 'arguements' to 'arguments' and 'usered' to 'used'.

Suggested change
This is the main histogram-making Fun4All macro and is run over condor generally. It takes arguements of the path to the calibration file to use, a DST file list, number of events to process, and the iteration number (only usered for output naming purposes).
This is the main histogram-making Fun4All macro and is run over condor generally. It takes arguments of the path to the calibration file to use, a DST file list, number of events to process, and the iteration number (only used for output naming purposes).

Copilot uses AI. Check for mistakes.
mchiu-bnl and others added 28 commits January 11, 2026 07:57
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
fix: add geom to trkr init
changes to handle run type automatically
This commit introduces the foundational infrastructure for the sEPD Q-vector calibration workflow, including automated DST processing and HTCondor job management.

- Add `runProd.py` as the primary workflow orchestrator for Stage-QA and Stage-QVecCalib.
- Implement `Fun4All_sEPD.C` to handle MBD, sEPD, and ZDC reconstruction alongside sEPD_TreeGen.
- Add `genFun4All.sh` and `genQVecCalib.sh` shell wrappers for HTCondor scratch space execution and environment setup.
- Add `README.org` containing scientific context, workflow architecture, and execution flags.
- Use the base class in cases where no subsystems specific calls are
made
- `unique_ptr` adds overhead so use the standard pointers
- No need to use .release() with standard pointers
added more robust peak finder
fix: load geom from CDB in each tracking init call
pinkenburg and others added 30 commits June 15, 2026 16:20
save gl1 packet in vernier scan dst
Update default options in jet reconstruction macros to not apply scal…
add macro to show how to write the cdb dump and read it back
fix: check for geometry building from scratch
remove obsolete Fun4All_SingleStream_Combiner_lumi.C
fix: ppmode flag to vertexer
refactor: call standard functions
…dule (StreamingLumiReco). Modify corresponding macros accordingly.
Separate streaming luminosity calculation
chore: run tpc-tpot by default
copy Fun4All_Prdf_Combiner.C from prodmacros
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.