Commit af0c166
committed
[PWGEM,Photon] move remaining CCDB fetches to CCDB columns
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.1 parent 3103678 commit af0c166
16 files changed
Lines changed: 161 additions & 307 deletions
File tree
- PWGEM/PhotonMeson
- Core
- DataModel
- TableProducer
- Tasks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
296 | 295 | | |
297 | 296 | | |
298 | 297 | | |
299 | | - | |
300 | 298 | | |
301 | 299 | | |
302 | 300 | | |
| |||
445 | 443 | | |
446 | 444 | | |
447 | 445 | | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | 446 | | |
454 | 447 | | |
455 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
268 | 267 | | |
269 | 268 | | |
270 | 269 | | |
271 | | - | |
272 | 270 | | |
273 | 271 | | |
274 | 272 | | |
| |||
300 | 298 | | |
301 | 299 | | |
302 | 300 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | 301 | | |
309 | 302 | | |
310 | 303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | | - | |
91 | 89 | | |
92 | 90 | | |
93 | 91 | | |
| |||
222 | 220 | | |
223 | 221 | | |
224 | 222 | | |
225 | | - | |
226 | 223 | | |
227 | 224 | | |
228 | 225 | | |
| |||
255 | 252 | | |
256 | 253 | | |
257 | 254 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | 255 | | |
264 | 256 | | |
265 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
94 | | - | |
95 | 93 | | |
96 | 94 | | |
97 | 95 | | |
| |||
214 | 212 | | |
215 | 213 | | |
216 | 214 | | |
217 | | - | |
218 | 215 | | |
219 | 216 | | |
220 | 217 | | |
| |||
232 | 229 | | |
233 | 230 | | |
234 | 231 | | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | 232 | | |
241 | 233 | | |
242 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
0 commit comments