@@ -258,8 +258,6 @@ struct ZdcQVectors {
258258 registry.add <TProfile>(" QA/ZNA_Energy" , " ZNA_Energy" , kTProfile , {{8 , 0 , 8 }});
259259 registry.add <TProfile>(" QA/ZNC_Energy" , " ZNC_Energy" , kTProfile , {{8 , 0 , 8 }});
260260
261- registry.add <TProfile3D>(" QA/ShiftZDCC" , " ShiftZDCC" , kTProfile3D , {{100 , 0 , 100 }, {2 , 0 , 2 }, {10 , 0 , 10 }});
262- registry.add <TProfile3D>(" QA/ShiftZDCA" , " ShiftZDCA" , kTProfile3D , {{100 , 0 , 100 }, {2 , 0 , 2 }, {10 , 0 , 10 }});
263261 registry.add <TH1>(" QA/psiZDCA" , " psiZDCA" , kTH1D , {{100 , -4 , 4 }});
264262 registry.add <TH1>(" QA/psiZDCA_shift" , " psiZDCA_shift" , kTH1D , {{100 , -4 , 4 }});
265263 registry.add <TH1>(" QA/psiZDCC" , " psiZDCC" , kTH1D , {{100 , -4 , 4 }});
@@ -322,6 +320,9 @@ struct ZdcQVectors {
322320 registry.add <TProfile>(" vmean/hvertex_vy" , " hvertex_vy" , kTProfile , {{1 , 0 ., 1 .}});
323321 registry.add <TProfile>(" vmean/hvertex_vz" , " hvertex_vz" , kTProfile , {{1 , 0 ., 1 .}});
324322
323+ registry.add <TProfile3D>(" shift/ShiftZDCC" , " ShiftZDCC" , kTProfile3D , {{100 , 0 , 100 }, {2 , 0 , 2 }, {10 , 0 , 10 }});
324+ registry.add <TProfile3D>(" shift/ShiftZDCA" , " ShiftZDCA" , kTProfile3D , {{100 , 0 , 100 }, {2 , 0 , 2 }, {10 , 0 , 10 }});
325+
325326 registry.add (" hEventCount" , " Number of Event; Cut; #Events Passed Cut" , {HistType::kTH1D , {{nEventSelections, 0 , nEventSelections}}});
326327 registry.get <TH1>(HIST (" hEventCount" ))->GetXaxis ()->SetBinLabel (evSel_FilteredEvent + 1 , " Filtered events" );
327328 registry.get <TH1>(HIST (" hEventCount" ))->GetXaxis ()->SetBinLabel (evSel_RCTFlagsZDC + 1 , " RCT Flags ZDC" );
@@ -944,12 +945,10 @@ struct ZdcQVectors {
944945 float coeffshiftyZDCA = 0.0 ;
945946
946947 for (int ishift = 1 ; ishift <= nshift; ishift++) {
947- if (cfgFillCommonRegistry) {
948- registry.fill (HIST (" QA/ShiftZDCC" ), centrality, 0.5 , ishift - 0.5 , std::sin (ishift * 1.0 * psiZDCC));
949- registry.fill (HIST (" QA/ShiftZDCC" ), centrality, 1.5 , ishift - 0.5 , std::cos (ishift * 1.0 * psiZDCC));
950- registry.fill (HIST (" QA/ShiftZDCA" ), centrality, 0.5 , ishift - 0.5 , std::sin (ishift * 1.0 * psiZDCA));
951- registry.fill (HIST (" QA/ShiftZDCA" ), centrality, 1.5 , ishift - 0.5 , std::cos (ishift * 1.0 * psiZDCA));
952- }
948+ registry.fill (HIST (" shift/ShiftZDCC" ), centrality, 0.5 , ishift - 0.5 , std::sin (ishift * 1.0 * psiZDCC));
949+ registry.fill (HIST (" shift/ShiftZDCC" ), centrality, 1.5 , ishift - 0.5 , std::cos (ishift * 1.0 * psiZDCC));
950+ registry.fill (HIST (" shift/ShiftZDCA" ), centrality, 0.5 , ishift - 0.5 , std::sin (ishift * 1.0 * psiZDCA));
951+ registry.fill (HIST (" shift/ShiftZDCA" ), centrality, 1.5 , ishift - 0.5 , std::cos (ishift * 1.0 * psiZDCA));
953952
954953 if (cal.isShiftProfileFound ) {
955954 int binshiftxZDCC = cal.shiftprofileC ->FindBin (centrality, 0.5 , ishift - 0.5 );
@@ -988,7 +987,6 @@ struct ZdcQVectors {
988987 double qYcShift = std::hypot (qRec[2 ], qRec[3 ]) * std::sin (psiZDCCshift);
989988
990989 spTableZDC (runnumber, centrality, v[0 ], v[1 ], v[2 ], qXaShift, qYaShift, qXcShift, qYcShift, isSelected, cal.atIteration , cal.atStep );
991-
992990 qRec.clear ();
993991
994992 counter++;
0 commit comments