Skip to content

Sync - #1

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

Sync#1
blackcathj wants to merge 4024 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.
Steepspace and others added 28 commits February 7, 2026 18:46
- Use dumpHistos feature of Fun4AllServer to save histograms to root output files.
- Save the DST to the output_tree
- Processes the QVecCalib module
- Generates the sEPD Event Plane Calibrations as well as the sEPD bad tower maps
- runProd.py now takes in Fun4All macro for the QVecCalib
- Removed QVecCDB stage since it's now part of the QVecCalib
- Updated README
add 0.75 mRad Xing angle for run 35
use 20 cm z vtx width for 0.75 mRad
refactor: remove tpot matching from data production
…s is wahat will be use in the CDB lamination distortions and elsewhere once the CDB is updated.
…format

Distortion correction default format
yuxdPKU and others added 30 commits July 17, 2026 16:22
Make the rescaling of outlier calib. factors harmless
add Acts material map configuration flag
CD: Updated macros to match new KFParticle code
Example macros to run TPC SA tracking
fix clang-tidy for Fun4All_raw_hit_TPC_reco.C
code to check mbd zvtx against trkr zvtx
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.