Skip to content

Sync - #1

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

Sync#1
blackcathj wants to merge 4045 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.
pinkenburg and others added 28 commits February 23, 2026 17:17
…s is wahat will be use in the CDB lamination distortions and elsewhere once the CDB is updated.
…format

Distortion correction default format
fix: add distortion corrections
CM Distortion variables and Macro Updates
Calo data overlay macro update
data embedding run scripts
- Propogate the removal of set_time_cut which is no longer used in CaloTowerStatus
mods to support Run3OO dataset
CaloTowerStatus - Removal of set_time_cut
mchiu-bnl and others added 30 commits July 29, 2026 15:44
code to check mbd zvtx against trkr zvtx
Pics for grafana and CDB output GEM currents
Adding pictures
Macro for TPC SA seed reco converted to standard containers and match…
TPC GEM currents for (eventual) refinement of space charge calibration
fix: cleanup remaining clang-tidys
Work with crossings without Si vertex
Modify Fun4All_raw_hit_TPC_Matched_reco.C  to use new seed matching
G4_CEmc_Spacal.C EMCal noise scaling updated
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.