Skip to content

Commit 638065e

Browse files
cnkosteralibuild
andauthored
[PWGCF] fixed double filling of QA plots and changed multiplicity cuts to config (#11680)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 9fe70f3 commit 638065e

File tree

2 files changed

+85
-165
lines changed

2 files changed

+85
-165
lines changed

PWGCF/Flow/TableProducer/zdcQVectors.cxx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ struct ZdcQVectors {
560560
runnumber = foundBC.runNumber();
561561

562562
// load new calibrations for new runs only
563+
// UPLOAD Energy calibration and vmean in 1 histogram!
563564
if (runnumber != lastRunNumber) {
564565
cal.calibfilesLoaded[2] = false;
565566
cal.calibList[2] = nullptr;
@@ -587,11 +588,9 @@ struct ZdcQVectors {
587588
// load the calibrations for the mean v
588589
loadCalibrations<kMeanv>(foundBC.timestamp(), cfgMeanv.value);
589590

590-
if (!cal.calibfilesLoaded[1]) {
591-
registry.get<TProfile>(HIST("vmean/hvertex_vx"))->Fill(Form("%d", runnumber), v[0]);
592-
registry.get<TProfile>(HIST("vmean/hvertex_vy"))->Fill(Form("%d", runnumber), v[1]);
593-
registry.get<TProfile>(HIST("vmean/hvertex_vz"))->Fill(Form("%d", runnumber), v[2]);
594-
}
591+
registry.get<TProfile>(HIST("vmean/hvertex_vx"))->Fill(Form("%d", runnumber), v[0]);
592+
registry.get<TProfile>(HIST("vmean/hvertex_vy"))->Fill(Form("%d", runnumber), v[1]);
593+
registry.get<TProfile>(HIST("vmean/hvertex_vz"))->Fill(Form("%d", runnumber), v[2]);
595594

596595
bool isZNAhit = true;
597596
bool isZNChit = true;

0 commit comments

Comments
 (0)