Skip to content

Commit 5e5575c

Browse files
committed
move histos to place where they are always added and filled
1 parent dfade3f commit 5e5575c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

PWGCF/Flow/Tasks/flowSP.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,6 @@ struct FlowSP {
469469
histos.add("QA/after/PsiA_vs_Vz", "", {HistType::kTH2D, {axisPhiPlane, axisVz}});
470470
histos.add("QA/after/PsiC_vs_Vz", "", {HistType::kTH2D, {axisPhiPlane, axisVz}});
471471
histos.add("QA/after/PsiFull_vs_Vz", "", {HistType::kTH2D, {axisPhiPlane, axisVz}});
472-
histos.add<TProfile3D>("shift/ShiftZDCC", "ShiftZDCC", kTProfile3D, {{100, 0, 100}, {2, 0, 2}, {10, 0, 10}});
473-
histos.add<TProfile3D>("shift/ShiftZDCA", "ShiftZDCA", kTProfile3D, {{100, 0, 100}, {2, 0, 2}, {10, 0, 10}});
474472
}
475473

476474
if (cfg.cFillQABefore) {
@@ -572,6 +570,8 @@ struct FlowSP {
572570
registry.add<TProfile>("QQCorrelations/qAXqCY", "", kTProfile, {axisCent});
573571
registry.add<TProfile>("QQCorrelations/qAYqCX", "", kTProfile, {axisCent});
574572
registry.add<TProfile>("QQCorrelations/qAXYqCXY", "", kTProfile, {axisCent});
573+
registry.add<TProfile3D>("shift/ShiftZDCC", "ShiftZDCC", kTProfile3D, {{100, 0, 100}, {2, 0, 2}, {10, 0, 10}});
574+
registry.add<TProfile3D>("shift/ShiftZDCA", "ShiftZDCA", kTProfile3D, {{100, 0, 100}, {2, 0, 2}, {10, 0, 10}});
575575

576576
if (cfg.cFillGeneralV1Histos) {
577577
// track properties per centrality and per eta, pt bin
@@ -1436,10 +1436,10 @@ struct FlowSP {
14361436
registry.fill(HIST("QQCorrelations/qAqCX"), spm.centrality, spm.qxA * spm.qxC);
14371437
registry.fill(HIST("QQCorrelations/qAqCY"), spm.centrality, spm.qyA * spm.qyC);
14381438
for (int ishift = 1; ishift <= nshift; ishift++) {
1439-
histos.fill(HIST("shift/ShiftZDCC"), spm.centrality, 0.5, ishift - 0.5, std::sin(ishift * 1.0 * spm.psiC));
1440-
histos.fill(HIST("shift/ShiftZDCC"), spm.centrality, 1.5, ishift - 0.5, std::cos(ishift * 1.0 * spm.psiC));
1441-
histos.fill(HIST("shift/ShiftZDCA"), spm.centrality, 0.5, ishift - 0.5, std::sin(ishift * 1.0 * spm.psiA));
1442-
histos.fill(HIST("shift/ShiftZDCA"), spm.centrality, 1.5, ishift - 0.5, std::cos(ishift * 1.0 * spm.psiA));
1439+
registry.fill(HIST("shift/ShiftZDCC"), spm.centrality, 0.5, ishift - 0.5, std::sin(ishift * 1.0 * spm.psiC));
1440+
registry.fill(HIST("shift/ShiftZDCC"), spm.centrality, 1.5, ishift - 0.5, std::cos(ishift * 1.0 * spm.psiC));
1441+
registry.fill(HIST("shift/ShiftZDCA"), spm.centrality, 0.5, ishift - 0.5, std::sin(ishift * 1.0 * spm.psiA));
1442+
registry.fill(HIST("shift/ShiftZDCA"), spm.centrality, 1.5, ishift - 0.5, std::cos(ishift * 1.0 * spm.psiA));
14431443
}
14441444

14451445
if (cfg.cFillEventQA) {

0 commit comments

Comments
 (0)