@@ -116,15 +116,6 @@ struct UCCZDC {
116116 {{{nBinsTDC, -13.5 , 11.45 }, {nBinsAmp, -0.5 , MaxZEM}}}});
117117 histos.add (" debunch" , " ZN sum vs. ZN diff." ,
118118 {HistType::kTH2F , {{{240 , -12 ., 12 .}, {240 , -12 ., 12 .}}}});
119- // histos.add("centroidZNA", "ZNA centroid",
120- // {HistType::kTH2F, {{{350, -1.75, 1.75}, {350,
121- // -1.75, 1.75}}}});
122-
123- // if (processZdcCollAss) {
124- // histos.add("centroidZNC", "ZNC centroid",
125- // {HistType::kTH2F, {{{350, -1.75, 1.75}, {350,
126- // -1.75, 1.75}}}});
127- // }
128119 histos.add (" ZNvsFV0Acorrel" , " ZNvsFV0Acorrel" ,
129120 {HistType::kTH2F ,
130121 {{{nBinsFit, 0 ., MaxMultFV0}, {nBinsAmp, -0.5 , 2 . * MaxZN}}}});
@@ -226,65 +217,6 @@ struct UCCZDC {
226217 }
227218 PROCESS_SWITCH (UCCZDC, processZdcCollAss,
228219 " Processing ZDC w. collision association" , true );
229-
230- // void processZdcCorrela(
231- // soa::Join<aod::Collisions, aod::EvSels>::iterator const& coll,
232- // BCsRun3 const& /*bcs*/, aod::Zdcs const& /*zdcs*/,
233- // aod::FV0As const& /*fv0as*/, aod::FT0s const& /*ft0s*/,
234- // aod::FDDs const& /*fdds*/) {
235- // const auto& foundBC = coll.foundBC_as<BCsRun3>();
236- //
237- // // FT0
238- // float multT0A = 0.;
239- // float multT0C = 0.;
240- // if (foundBC.has_ft0()) {
241- // for (auto amplitude : foundBC.ft0().amplitudeA()) {
242- // multT0A += amplitude;
243- // }
244- // for (auto amplitude : foundBC.ft0().amplitudeC()) {
245- // multT0C += amplitude;
246- // }
247- // } else {
248- // multT0A = multT0C = -999;
249- // }
250- // // FV0
251- // float multV0A = 0;
252- // if (foundBC.has_fv0a()) {
253- // for (auto amplitude : foundBC.fv0a().amplitude()) {
254- // multV0A += amplitude;
255- // }
256- // } else {
257- // multV0A = -999;
258- // }
259- // // FDD
260- // float multFDA = 0;
261- // float multFDC = 0;
262- // if (foundBC.has_fdd()) {
263- // auto const& fdd = foundBC.fdd();
264- // for (auto const& amplitude : fdd.chargeA()) {
265- // multFDA += amplitude;
266- // }
267- // for (auto const& amplitude : fdd.chargeC()) {
268- // multFDC += amplitude;
269- // }
270- // } else {
271- // multFDA = multFDC = -999;
272- // }
273- //
274- // if (foundBC.has_zdc()) {
275- // const auto& zdcread = foundBC.zdc();
276- // auto aZNA = zdcread.amplitudeZNA();
277- // auto aZNC = zdcread.amplitudeZNC();
278- // histos.get<TH2>(HIST("ZNvsFV0Acorrel"))
279- // ->Fill(multV0A / 100., aZNA + aZNC);
280- // histos.get<TH2>(HIST("ZNvsFT0correl"))
281- // ->Fill((multT0A + multT0C) / 100., aZNC + aZNA);
282- // histos.get<TH2>(HIST("ZNvsFDDcorrel"))
283- // ->Fill(multFDC + multFDA, aZNC + aZNA);
284- // }
285- // }
286- // PROCESS_SWITCH(UCCZDC, processZdcCorrela,
287- // "Processing ZDC vs. mult. w. collision association", true);
288220};
289221
290222WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
0 commit comments