|
| 1 | +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. |
| 2 | +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. |
| 3 | +// All rights not expressly granted are reserved. |
| 4 | +// |
| 5 | +// This software is distributed under the terms of the GNU General Public |
| 6 | +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". |
| 7 | +// |
| 8 | +// In applying this license CERN does not waive the privileges and immunities |
| 9 | +// granted to it by virtue of its status as an Intergovernmental Organization |
| 10 | +// or submit itself to any jurisdiction. |
| 11 | +/// |
| 12 | +/// \file longrangecorrDerived.cxx |
| 13 | +/// |
| 14 | +/// \brief task for long range correlation analysis based on derived table |
| 15 | +/// \author Abhi Modak (abhi.modak@cern.ch) |
| 16 | +/// \since November 05, 2025 |
| 17 | + |
| 18 | +#include "PWGCF/Core/CorrelationContainer.h" |
| 19 | +#include "PWGCF/Core/PairCuts.h" |
| 20 | +#include "PWGCF/DataModel/CorrelationsDerived.h" |
| 21 | +#include "PWGCF/TwoParticleCorrelations/DataModel/LongRangeDerived.h" |
| 22 | +#include "PWGMM/Mult/DataModel/bestCollisionTable.h" |
| 23 | + |
| 24 | +#include "Common/Core/RecoDecay.h" |
| 25 | +#include "Common/Core/TrackSelection.h" |
| 26 | +#include "Common/Core/trackUtilities.h" |
| 27 | +#include "Common/DataModel/Centrality.h" |
| 28 | +#include "Common/DataModel/CollisionAssociationTables.h" |
| 29 | +#include "Common/DataModel/EventSelection.h" |
| 30 | +#include "Common/DataModel/FT0Corrected.h" |
| 31 | +#include "Common/DataModel/Multiplicity.h" |
| 32 | +#include "Common/DataModel/PIDResponseITS.h" |
| 33 | +#include "Common/DataModel/PIDResponseTOF.h" |
| 34 | +#include "Common/DataModel/PIDResponseTPC.h" |
| 35 | +#include "Common/DataModel/TrackSelectionTables.h" |
| 36 | + |
| 37 | +#include "CCDB/BasicCCDBManager.h" |
| 38 | +#include "CCDB/CcdbApi.h" |
| 39 | +#include "CommonConstants/MathConstants.h" |
| 40 | +#include "CommonConstants/PhysicsConstants.h" |
| 41 | +#include "DetectorsCommonDataFormats/AlignParam.h" |
| 42 | +#include "FT0Base/Geometry.h" |
| 43 | +#include "FV0Base/Geometry.h" |
| 44 | +#include "Framework/ASoAHelpers.h" |
| 45 | +#include "Framework/AnalysisDataModel.h" |
| 46 | +#include "Framework/AnalysisTask.h" |
| 47 | +#include "Framework/HistogramRegistry.h" |
| 48 | +#include "Framework/O2DatabasePDGPlugin.h" |
| 49 | +#include "Framework/StepTHn.h" |
| 50 | +#include "Framework/runDataProcessing.h" |
| 51 | +#include "ReconstructionDataFormats/PID.h" |
| 52 | +#include "ReconstructionDataFormats/Track.h" |
| 53 | + |
| 54 | +#include <TComplex.h> |
| 55 | +#include <TH1F.h> |
| 56 | +#include <TMath.h> |
| 57 | +#include <TPDGCode.h> |
| 58 | + |
| 59 | +#include <chrono> |
| 60 | +#include <cstdio> |
| 61 | +#include <string> |
| 62 | +#include <utility> |
| 63 | +#include <vector> |
| 64 | + |
| 65 | +using namespace o2; |
| 66 | +using namespace o2::framework; |
| 67 | +using namespace o2::framework::expressions; |
| 68 | +using namespace o2::aod::track; |
| 69 | +using namespace o2::aod::fwdtrack; |
| 70 | +using namespace o2::aod::evsel; |
| 71 | +using namespace o2::constants::math; |
| 72 | + |
| 73 | +struct LongrangecorrDerived { |
| 74 | + |
| 75 | + SliceCache cache; |
| 76 | + HistogramRegistry histos{"histos", {}, OutputObjHandlingPolicy::AnalysisObject}; |
| 77 | + Configurable<double> cfgSampleSize{"cfgSampleSize", 10, "Sample size for mixed event"}; |
| 78 | + Configurable<int> cfgNmixedevent{"cfgNmixedevent", 5, "how many events are mixed"}; |
| 79 | + Configurable<int> cfgPidMask{"cfgPidMask", 0, "Selection bitmask for the TPC particle"}; |
| 80 | + Configurable<int> cfgV0Mask{"cfgV0Mask", 0, "Selection bitmask for the V0 particle"}; |
| 81 | + Configurable<float> cfgVtxCut{"cfgVtxCut", 10.0f, "Vertex Z range to consider"}; |
| 82 | + |
| 83 | + ConfigurableAxis axisMultiplicity{"axisMultiplicity", {VARIABLE_WIDTH, 0, 10, 15, 25, 50, 60, 1000}, "multiplicity axis"}; |
| 84 | + ConfigurableAxis axisPhi{"axisPhi", {96, 0, TwoPI}, "#phi axis"}; |
| 85 | + ConfigurableAxis axisEtaTrig{"axisEtaTrig", {40, -1., 1.}, "#eta trig axis"}; |
| 86 | + ConfigurableAxis axisPtTrigger{"axisPtTrigger", {VARIABLE_WIDTH, 0.5, 1.0, 1.5, 2.0, 3.0, 4.0, 6.0, 10.0}, "pt trigger axis for histograms"}; |
| 87 | + ConfigurableAxis axisPtAssoc{"axisPtAssoc", {VARIABLE_WIDTH, 0.5, 1.0, 1.5, 2.0, 3.0, 4.0, 6.0, 10.0}, "pt assoc axis for histograms"}; |
| 88 | + ConfigurableAxis axisSample{"axisSample", {cfgSampleSize, 0, cfgSampleSize}, "sample axis for histograms"}; |
| 89 | + ConfigurableAxis axisVtxZ{"axisVtxZ", {40, -20, 20}, "vertex axis"}; |
| 90 | + ConfigurableAxis channelFt0aAxis{"channelFt0aAxis", {96, 0.0, 96.0}, "FT0A channel"}; |
| 91 | + ConfigurableAxis amplitudeFt0a{"amplitudeFt0a", {5000, 0, 10000}, "FT0A amplitude"}; |
| 92 | + ConfigurableAxis axisEtaAssoc{"axisEtaAssoc", {96, 3.5, 4.9}, "#eta assoc axis"}; |
| 93 | + ConfigurableAxis axisDeltaPhi{"axisDeltaPhi", {72, -PIHalf, PIHalf * 3}, "delta phi axis for histograms"}; |
| 94 | + ConfigurableAxis axisDeltaEta{"axisDeltaEta", {40, -6, -2}, "delta eta axis for histograms"}; |
| 95 | + ConfigurableAxis axisInvMass{"axisInvMass", {VARIABLE_WIDTH, 1.7, 1.75, 1.8, 1.85, 1.9, 1.95, 2.0}, "invariant mass axis"}; |
| 96 | + ConfigurableAxis axisMultME{"axisMultME", {VARIABLE_WIDTH, 0, 5, 10, 20, 30, 40, 50, 1000}, "Mixing bins - multiplicity"}; |
| 97 | + ConfigurableAxis axisVtxZME{"axisVtxZME", {VARIABLE_WIDTH, -10, -8, -6, -4, -2, 0, 2, 4, 6, 8, 10}, "Mixing bins - z-vertex"}; |
| 98 | + |
| 99 | + ConfigurableAxis axisVertexEfficiency{"axisVertexEfficiency", {10, -10, 10}, "vertex axis for efficiency histograms"}; |
| 100 | + ConfigurableAxis axisEtaEfficiency{"axisEtaEfficiency", {20, -1.0, 1.0}, "eta axis for efficiency histograms"}; |
| 101 | + ConfigurableAxis axisPtEfficiency{"axisPtEfficiency", {VARIABLE_WIDTH, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.25, 1.5, 1.75, 2.0, 2.25, 2.5, 2.75, 3.0, 3.25, 3.5, 3.75, 4.0, 4.5, 5.0, 6.0, 7.0, 8.0}, "pt axis for efficiency histograms"}; |
| 102 | + |
| 103 | + OutputObj<CorrelationContainer> same{"sameEvent"}; |
| 104 | + OutputObj<CorrelationContainer> mixed{"mixedEvent"}; |
| 105 | + |
| 106 | + void init(InitContext const&) |
| 107 | + { |
| 108 | + std::vector<AxisSpec> corrAxis = {{axisSample, "Sample"}, |
| 109 | + {axisVtxZ, "z-vtx (cm)"}, |
| 110 | + {axisPtTrigger, "p_{T} (GeV/c)"}, |
| 111 | + {axisPtAssoc, "p_{T} (GeV/c)"}, |
| 112 | + {axisDeltaPhi, "#Delta#varphi (rad)"}, |
| 113 | + {axisDeltaEta, "#Delta#eta"}}; |
| 114 | + std::vector<AxisSpec> effAxis = {{axisVertexEfficiency, "z-vtx (cm)"}, |
| 115 | + {axisPtEfficiency, "p_{T} (GeV/c)"}, |
| 116 | + {axisEtaEfficiency, "#eta"}}; |
| 117 | + std::vector<AxisSpec> userAxis = {{axisMultiplicity, "multiplicity"}, |
| 118 | + {axisInvMass, "m (GeV/c^2)"}}; |
| 119 | + |
| 120 | + same.setObject(new CorrelationContainer("sameEvent", "sameEvent", corrAxis, effAxis, userAxis)); |
| 121 | + mixed.setObject(new CorrelationContainer("mixedEvent", "mixedEvent", corrAxis, effAxis, userAxis)); |
| 122 | + |
| 123 | + histos.add("hMultiplicity", "hMultiplicity", kTH1D, {axisMultiplicity}); |
| 124 | + histos.add("hCentrality", "hCentrality", kTH1D, {axisMultiplicity}); |
| 125 | + histos.add("hVertexZ", "hVertexZ", kTH1D, {axisVtxZ}); |
| 126 | + |
| 127 | + histos.add("Trig_eta", "Trig_eta", kTH1D, {axisEtaTrig}); |
| 128 | + histos.add("Trig_phi", "Trig_phi", kTH1D, {axisPhi}); |
| 129 | + histos.add("Trig_etavsphi", "Trig_etavsphi", kTH2D, {axisPhi, axisEtaTrig}); |
| 130 | + histos.add("Trig_pt", "Trig_pt", kTH1D, {axisPtTrigger}); |
| 131 | + histos.add("Trig_hist", "Trig_hist", kTHnSparseF, {axisSample, axisVtxZ, axisPtTrigger, axisMultiplicity, axisInvMass}); |
| 132 | + |
| 133 | + histos.add("Assoc_eta", "Assoc_eta", kTH1D, {axisEtaAssoc}); |
| 134 | + histos.add("Assoc_phi", "Assoc_phi", kTH1D, {axisPhi}); |
| 135 | + histos.add("Assoc_etavsphi", "Assoc_etavsphi", kTH2D, {axisPhi, axisEtaAssoc}); |
| 136 | + histos.add("Assoc_pt", "Assoc_pt", kTH1D, {axisPtAssoc}); |
| 137 | + |
| 138 | + histos.add("deltaEta_deltaPhi_same", "", kTH2D, {axisDeltaPhi, axisDeltaEta}); |
| 139 | + histos.add("deltaEta_deltaPhi_mixed", "", kTH2D, {axisDeltaPhi, axisDeltaEta}); |
| 140 | + } |
| 141 | + |
| 142 | + template <typename TCollision> |
| 143 | + void fillCollQA(TCollision const& col) |
| 144 | + { |
| 145 | + histos.fill(HIST("hMultiplicity"), col.multiplicity()); |
| 146 | + histos.fill(HIST("hCentrality"), col.centrality()); |
| 147 | + histos.fill(HIST("hVertexZ"), col.zvtx()); |
| 148 | + } |
| 149 | + |
| 150 | + template <typename TTrack> |
| 151 | + void fillTrigTrackQA(TTrack const& track) |
| 152 | + { |
| 153 | + histos.fill(HIST("Trig_etavsphi"), track.phi(), track.eta()); |
| 154 | + histos.fill(HIST("Trig_eta"), track.eta()); |
| 155 | + histos.fill(HIST("Trig_phi"), track.phi()); |
| 156 | + histos.fill(HIST("Trig_pt"), track.pt()); |
| 157 | + } |
| 158 | + |
| 159 | + template <typename TTrack> |
| 160 | + void fillAssocTrackQA(TTrack const& track) |
| 161 | + { |
| 162 | + histos.fill(HIST("Assoc_etavsphi"), track.phi(), track.eta()); |
| 163 | + histos.fill(HIST("Assoc_eta"), track.eta()); |
| 164 | + histos.fill(HIST("Assoc_phi"), track.phi()); |
| 165 | + } |
| 166 | + |
| 167 | + template <class T> |
| 168 | + using HasTpcTrack = decltype(std::declval<T&>().trackType()); |
| 169 | + template <class T> |
| 170 | + using HasV0Track = decltype(std::declval<T&>().v0Type()); |
| 171 | + template <class T> |
| 172 | + using HasInvMass = decltype(std::declval<T&>().invMass()); |
| 173 | + |
| 174 | + template <CorrelationContainer::CFStep step, typename TTarget, typename TTriggers, typename TAssocs> |
| 175 | + void fillCorrHist(TTarget target, TTriggers const& triggers, TAssocs const& assocs, bool mixing, float vz, float multiplicity, float eventWeight) |
| 176 | + { |
| 177 | + int fSampleIndex = gRandom->Uniform(0, cfgSampleSize); |
| 178 | + for (auto const& triggerTrack : triggers) { |
| 179 | + if constexpr (std::experimental::is_detected<HasTpcTrack, typename TTriggers::iterator>::value) { |
| 180 | + if (cfgPidMask != 0 && (cfgPidMask & (1u << static_cast<uint32_t>(triggerTrack.trackType()))) == 0u) |
| 181 | + continue; |
| 182 | + } else if constexpr (std::experimental::is_detected<HasV0Track, typename TTriggers::iterator>::value) { |
| 183 | + if (cfgV0Mask != 0 && (cfgV0Mask & (1u << static_cast<uint32_t>(triggerTrack.v0Type()))) == 0u) |
| 184 | + continue; |
| 185 | + } |
| 186 | + if (!mixing) { |
| 187 | + fillTrigTrackQA(triggerTrack); |
| 188 | + if constexpr (std::experimental::is_detected<HasInvMass, typename TTriggers::iterator>::value) { |
| 189 | + histos.fill(HIST("Trig_hist"), fSampleIndex, vz, triggerTrack.pt(), multiplicity, triggerTrack.invMass(), eventWeight); |
| 190 | + } else { |
| 191 | + histos.fill(HIST("Trig_hist"), fSampleIndex, vz, triggerTrack.pt(), multiplicity, 1.0, eventWeight); |
| 192 | + } |
| 193 | + } |
| 194 | + for (auto const& assoTrack : assocs) { |
| 195 | + float deltaPhi = RecoDecay::constrainAngle(triggerTrack.phi() - assoTrack.phi(), -PIHalf); |
| 196 | + float deltaEta = triggerTrack.eta() - assoTrack.eta(); |
| 197 | + if (!mixing) { |
| 198 | + fillAssocTrackQA(assoTrack); |
| 199 | + histos.fill(HIST("deltaEta_deltaPhi_same"), deltaPhi, deltaEta); |
| 200 | + } else { |
| 201 | + histos.fill(HIST("deltaEta_deltaPhi_mixed"), deltaPhi, deltaEta); |
| 202 | + } |
| 203 | + if constexpr (std::experimental::is_detected<HasInvMass, typename TTriggers::iterator>::value) { |
| 204 | + target->getPairHist()->Fill(step, fSampleIndex, vz, triggerTrack.pt(), triggerTrack.pt(), deltaPhi, deltaEta, multiplicity, triggerTrack.invMass(), eventWeight); |
| 205 | + } else { |
| 206 | + target->getPairHist()->Fill(step, fSampleIndex, vz, triggerTrack.pt(), triggerTrack.pt(), deltaPhi, deltaEta, multiplicity, 0., eventWeight); |
| 207 | + } |
| 208 | + } // associated tracks |
| 209 | + } // trigger tracks |
| 210 | + } // fill correlation |
| 211 | + |
| 212 | + template <typename TCollision, typename TTriggers, typename TAssocs> |
| 213 | + void processSame(TCollision const& col, TTriggers const& triggers, TAssocs const& assocs) |
| 214 | + { |
| 215 | + if (std::abs(col.zvtx()) >= cfgVtxCut) { |
| 216 | + return; |
| 217 | + } |
| 218 | + fillCollQA(col); |
| 219 | + fillCorrHist<CorrelationContainer::kCFStepReconstructed>(same, triggers, assocs, false, col.zvtx(), col.multiplicity(), 1.0); |
| 220 | + } // process same |
| 221 | + |
| 222 | + template <typename TCollision, typename... TrackTypes> |
| 223 | + void processMixed(TCollision const& col, TrackTypes&&... tracks) |
| 224 | + { |
| 225 | + auto getMultiplicity = [this](auto& collision) { |
| 226 | + (void)this; |
| 227 | + return collision.multiplicity(); |
| 228 | + }; |
| 229 | + using MixedBinning = FlexibleBinningPolicy<std::tuple<decltype(getMultiplicity)>, aod::lrcorrcolltable::Zvtx, decltype(getMultiplicity)>; |
| 230 | + MixedBinning binningOnVtxAndMult{{getMultiplicity}, {axisVtxZME, axisMultME}, true}; |
| 231 | + auto tracksTuple = std::make_tuple(std::forward<TrackTypes>(tracks)...); |
| 232 | + using TupleAtrack = std::tuple_element<0, decltype(tracksTuple)>::type; |
| 233 | + using TupleBtrack = std::tuple_element<std::tuple_size_v<decltype(tracksTuple)> - 1, decltype(tracksTuple)>::type; |
| 234 | + Pair<TCollision, TupleAtrack, TupleBtrack, MixedBinning> pairs{binningOnVtxAndMult, cfgNmixedevent, -1, col, tracksTuple, &cache}; |
| 235 | + for (auto it = pairs.begin(); it != pairs.end(); it++) { |
| 236 | + auto& [col1, tracks1, col2, tracks2] = *it; |
| 237 | + float eventweight = 1.0f / it.currentWindowNeighbours(); |
| 238 | + fillCorrHist<CorrelationContainer::kCFStepReconstructed>(mixed, tracks1, tracks2, true, col1.zvtx(), col1.multiplicity(), eventweight); |
| 239 | + } // pair loop |
| 240 | + } // process mixed |
| 241 | + |
| 242 | + void processTpcft0aSE(aod::CollLRTables::iterator const& col, aod::TrkLRTables const& tracks, aod::Ft0aLRTables const& ft0as) |
| 243 | + { |
| 244 | + processSame(col, tracks, ft0as); |
| 245 | + } |
| 246 | + |
| 247 | + void processTpcft0cSE(aod::CollLRTables::iterator const& col, aod::TrkLRTables const& tracks, aod::Ft0cLRTables const& ft0cs) |
| 248 | + { |
| 249 | + processSame(col, tracks, ft0cs); |
| 250 | + } |
| 251 | + |
| 252 | + void processTpcmftSE(aod::CollLRTables::iterator const& col, aod::TrkLRTables const& tracks, aod::MftTrkLRTables const& mfts) |
| 253 | + { |
| 254 | + processSame(col, tracks, mfts); |
| 255 | + } |
| 256 | + |
| 257 | + void processMftft0aSE(aod::CollLRTables::iterator const& col, aod::MftTrkLRTables const& mfts, aod::Ft0aLRTables const& ft0as) |
| 258 | + { |
| 259 | + processSame(col, mfts, ft0as); |
| 260 | + } |
| 261 | + |
| 262 | + void processV0ft0aSE(aod::CollLRTables::iterator const& col, aod::V0TrkLRTables const& tracks, aod::Ft0aLRTables const& ft0as) |
| 263 | + { |
| 264 | + processSame(col, tracks, ft0as); |
| 265 | + } |
| 266 | + |
| 267 | + void processV0mftSE(aod::CollLRTables::iterator const& col, aod::V0TrkLRTables const& tracks, aod::MftTrkLRTables const& mfts) |
| 268 | + { |
| 269 | + processSame(col, tracks, mfts); |
| 270 | + } |
| 271 | + |
| 272 | + void processTpcmftbestSE(aod::CollLRTables::iterator const& col, aod::TrkLRTables const& tracks, aod::MftBestTrkLRTables const& mfts) |
| 273 | + { |
| 274 | + processSame(col, tracks, mfts); |
| 275 | + } |
| 276 | + |
| 277 | + void processMftbestft0aSE(aod::CollLRTables::iterator const& col, aod::MftBestTrkLRTables const& mfts, aod::Ft0aLRTables const& ft0as) |
| 278 | + { |
| 279 | + processSame(col, mfts, ft0as); |
| 280 | + } |
| 281 | + |
| 282 | + void processV0mftbestSE(aod::CollLRTables::iterator const& col, aod::V0TrkLRTables const& tracks, aod::MftBestTrkLRTables const& mfts) |
| 283 | + { |
| 284 | + processSame(col, tracks, mfts); |
| 285 | + } |
| 286 | + |
| 287 | + void processTpcft0aME(aod::CollLRTables const& col, aod::TrkLRTables const& tracks, aod::Ft0aLRTables const& ft0as) |
| 288 | + { |
| 289 | + processMixed(col, tracks, ft0as); |
| 290 | + } |
| 291 | + |
| 292 | + void processTpcft0cME(aod::CollLRTables const& col, aod::TrkLRTables const& tracks, aod::Ft0cLRTables const& ft0cs) |
| 293 | + { |
| 294 | + processMixed(col, tracks, ft0cs); |
| 295 | + } |
| 296 | + |
| 297 | + void processTpcmftME(aod::CollLRTables const& col, aod::TrkLRTables const& tracks, aod::MftTrkLRTables const& mfts) |
| 298 | + { |
| 299 | + processMixed(col, tracks, mfts); |
| 300 | + } |
| 301 | + |
| 302 | + void processMftft0aME(aod::CollLRTables const& col, aod::MftTrkLRTables const& mfts, aod::Ft0aLRTables const& ft0as) |
| 303 | + { |
| 304 | + processMixed(col, mfts, ft0as); |
| 305 | + } |
| 306 | + |
| 307 | + void processV0ft0aME(aod::CollLRTables const& col, aod::V0TrkLRTables const& tracks, aod::Ft0aLRTables const& ft0as) |
| 308 | + { |
| 309 | + processMixed(col, tracks, ft0as); |
| 310 | + } |
| 311 | + |
| 312 | + void processV0mftME(aod::CollLRTables const& col, aod::V0TrkLRTables const& tracks, aod::MftTrkLRTables const& mfts) |
| 313 | + { |
| 314 | + processMixed(col, tracks, mfts); |
| 315 | + } |
| 316 | + |
| 317 | + void processTpcmftbestME(aod::CollLRTables const& col, aod::TrkLRTables const& tracks, aod::MftBestTrkLRTables const& mfts) |
| 318 | + { |
| 319 | + processMixed(col, tracks, mfts); |
| 320 | + } |
| 321 | + |
| 322 | + void processMftbestft0aME(aod::CollLRTables const& col, aod::MftBestTrkLRTables const& mfts, aod::Ft0aLRTables const& ft0as) |
| 323 | + { |
| 324 | + processMixed(col, mfts, ft0as); |
| 325 | + } |
| 326 | + |
| 327 | + void processV0mftbestME(aod::CollLRTables const& col, aod::V0TrkLRTables const& tracks, aod::MftBestTrkLRTables const& mfts) |
| 328 | + { |
| 329 | + processMixed(col, tracks, mfts); |
| 330 | + } |
| 331 | + |
| 332 | + PROCESS_SWITCH(LongrangecorrDerived, processTpcft0aSE, "same event TPC vs FT0A", false); |
| 333 | + PROCESS_SWITCH(LongrangecorrDerived, processTpcft0aME, "mixed event TPC vs FT0A", false); |
| 334 | + PROCESS_SWITCH(LongrangecorrDerived, processTpcft0cSE, "same event TPC vs FT0C", false); |
| 335 | + PROCESS_SWITCH(LongrangecorrDerived, processTpcft0cME, "mixed event TPC vs FT0C", false); |
| 336 | + PROCESS_SWITCH(LongrangecorrDerived, processTpcmftSE, "same event TPC vs MFT", false); |
| 337 | + PROCESS_SWITCH(LongrangecorrDerived, processTpcmftME, "mixed event TPC vs MFT", false); |
| 338 | + PROCESS_SWITCH(LongrangecorrDerived, processMftft0aSE, "same event MFT vs FT0A", false); |
| 339 | + PROCESS_SWITCH(LongrangecorrDerived, processMftft0aME, "mixed event MFT vs FT0A", false); |
| 340 | + PROCESS_SWITCH(LongrangecorrDerived, processV0ft0aSE, "same event V0 vs FT0A", false); |
| 341 | + PROCESS_SWITCH(LongrangecorrDerived, processV0ft0aME, "mixed event V0 vs FT0A", false); |
| 342 | + PROCESS_SWITCH(LongrangecorrDerived, processV0mftSE, "same event V0 vs MFT", false); |
| 343 | + PROCESS_SWITCH(LongrangecorrDerived, processV0mftME, "mixed event V0 vs MFT", false); |
| 344 | + PROCESS_SWITCH(LongrangecorrDerived, processTpcmftbestSE, "same event TPC vs best MFT", false); |
| 345 | + PROCESS_SWITCH(LongrangecorrDerived, processTpcmftbestME, "mixed event TPC vs best MFT", false); |
| 346 | + PROCESS_SWITCH(LongrangecorrDerived, processMftbestft0aSE, "same event best MFT vs FT0A", false); |
| 347 | + PROCESS_SWITCH(LongrangecorrDerived, processMftbestft0aME, "mixed event best MFT vs FT0A", false); |
| 348 | + PROCESS_SWITCH(LongrangecorrDerived, processV0mftbestSE, "same event V0 vs best MFT", false); |
| 349 | + PROCESS_SWITCH(LongrangecorrDerived, processV0mftbestME, "mixed event V0 vs best MFT", false); |
| 350 | +}; |
| 351 | + |
| 352 | +WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) |
| 353 | +{ |
| 354 | + return WorkflowSpec{ |
| 355 | + adaptAnalysisTask<LongrangecorrDerived>(cfgc)}; |
| 356 | +} |
0 commit comments