Skip to content

[PWGEM,Photon] move remaining CCDB fetches to CCDB columns - #18038

Draft
mhemmer-cern wants to merge 1 commit into
AliceO2Group:masterfrom
mhemmer-cern:photon-flow
Draft

mhemmer-cern wants to merge 1 commit into
AliceO2Group:masterfrom
mhemmer-cern:photon-flow

Conversation

@mhemmer-cern

Copy link
Copy Markdown
Collaborator

Replace per-task BasicCCDBManager queries with declarative CCDB columns, and drop CCDB-manager leftovers from tasks that already read columns.

Migrations:

  • calibTaskEmc: BadChannelMap from aod::EmEmcalObjects
  • pairQcTask, dalitzEEQC, dalitzEEQCMC: GRPMagField from aod::EmMagFields; drop the GRPObject path, skipGRPOquery, grpPath, grpmagPath, ccdb-url
  • CheckMCV0: GRPMagField + MatLUT from aod::PcmObjects and the shared aod::GeomCCDBObjects; the LUT pointer is set for every collision, the magnetic field is still installed once per run
  • photonhbt: GRPMagField from aod::EmMagFields, TPC VDrift from a new aod::EmTpcObjects table (EventTables.h, reusing ccdbTpc::VDriftTgl)

Cleanup (no behaviour change): remove the unused CCDB manager, its setup and the now-unused ccdb-url/skipGRPOquery/grpmagPath options from Pi0EtaToGammaGamma(MC).h, TaggingPi0(MC).h, pcmQC, photonResoTask, prefilterPhoton and skimmerPrimaryElectronFromDalitzEE (the skimmer keeps the manager for the TOF response). ccdb-url is kept where it feeds the V0 ML models.

Behaviour changes in photonhbt:

  • VDrift is now taken at each event's timestamp instead of mid-run (getForRun), so it follows changes within a run
  • a missing VDrift object is now fatal instead of a warning

Not migrated: SP resolution (taskPhotonFlow, taskPi0FlowEMC) and nonLinProducer (optional objects from user paths set per wagon), photonconversionbuilder (LUT/geometry loaded once in init), Legacy/.

Also add asymmetric-energy-cut to taskPi0FlowEMC .cxx for EMCal EMCal cluster pairings.

@github-actions github-actions Bot added pwgem datamodel photon Photon and neutral meson PAG label labels Sep 24, 2026
@github-actions

Copy link
Copy Markdown

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

Replace per-task BasicCCDBManager queries with declarative CCDB columns,
and drop CCDB-manager leftovers from tasks that already read columns.

Migrations:
- calibTaskEmc: BadChannelMap from aod::EmEmcalObjects
- pairQcTask, dalitzEEQC, dalitzEEQCMC: GRPMagField from aod::EmMagFields;
  drop the GRPObject path, skipGRPOquery, grpPath, grpmagPath, ccdb-url
- CheckMCV0: GRPMagField + MatLUT from aod::PcmObjects and the shared
  aod::GeomCCDBObjects; the LUT pointer is set for every collision, the
  magnetic field is still installed once per run
- photonhbt: GRPMagField from aod::EmMagFields, TPC VDrift from a new
  aod::EmTpcObjects table (EventTables.h, reusing ccdbTpc::VDriftTgl)

Cleanup (no behaviour change): remove the unused CCDB manager, its setup
and the now-unused ccdb-url/skipGRPOquery/grpmagPath options from
Pi0EtaToGammaGamma(MC).h, TaggingPi0(MC).h, pcmQC, photonResoTask,
prefilterPhoton and skimmerPrimaryElectronFromDalitzEE (the skimmer keeps
the manager for the TOF response). ccdb-url is kept where it feeds the
V0 ML models.

Behaviour changes in photonhbt:
- VDrift is now taken at each event's timestamp instead of mid-run
  (getForRun), so it follows changes within a run
- a missing VDrift object is now fatal instead of a warning

Not migrated: SP resolution (taskPhotonFlow, taskPi0FlowEMC) and
nonLinProducer (optional objects from user paths set per wagon),
photonconversionbuilder (LUT/geometry loaded once in init), Legacy/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Also add asymmetric-energy-cut to `taskPi0FlowEMC .cxx` for EMCal EMCal cluster pairings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

datamodel photon Photon and neutral meson PAG label pwgem

Development

Successfully merging this pull request may close these issues.

1 participant