diff --git a/PWGCF/TwoParticleCorrelations/Tasks/hParticleCorrelation.cxx b/PWGCF/TwoParticleCorrelations/Tasks/hParticleCorrelation.cxx index 9f23c51d17f..1325cf71f8a 100644 --- a/PWGCF/TwoParticleCorrelations/Tasks/hParticleCorrelation.cxx +++ b/PWGCF/TwoParticleCorrelations/Tasks/hParticleCorrelation.cxx @@ -128,7 +128,7 @@ DECLARE_SOA_COLUMN(MixingBin, mixingBin, int32_t); DECLARE_SOA_COLUMN(CorrMask, corrMask, uint64_t); } // namespace hpcorrcollision -DECLARE_SOA_TABLE(HPCorrCollisions, "AOD", "HPCORRCOLLS", o2::soa::Index<>, +DECLARE_SOA_TABLE(HPCorrColls, "AOD", "HPCORRCOLL", o2::soa::Index<>, hpcorrcollision::GlobalCollisionId, hpcorrcollision::OriginalCollisionId, o2::aod::origins::DataframeID, @@ -144,7 +144,7 @@ DECLARE_SOA_TABLE(HPCorrCollisions, "AOD", "HPCORRCOLLS", o2::soa::Index<>, namespace hpcorrtrack { -DECLARE_SOA_INDEX_COLUMN(HPCorrCollision, hpCorrCollision); // o2-linter: disable=name/o2-column (Keep HPCorrCollision naming consistent with the existing derived collision table) +DECLARE_SOA_INDEX_COLUMN(HPCorrColl, hpCorrColl); // o2-linter: disable=name/o2-column (Keep HPCorrColl naming consistent with the existing derived collision table) DECLARE_SOA_COLUMN(GlobalColRefId, globalColRefId, int64_t); DECLARE_SOA_COLUMN(OriginalColRefId, originalColRefId, int64_t); @@ -188,8 +188,8 @@ DECLARE_SOA_COLUMN(TofNSigmaDe, tofNSigmaDe, float); } // namespace hpcorrtrack -DECLARE_SOA_TABLE(HPCorrTracks, "AOD", "HPCORRTRKS", o2::soa::Index<>, - hpcorrtrack::HPCorrCollisionId, +DECLARE_SOA_TABLE(HPCorrTracks, "AOD", "HPCORRTRACK", o2::soa::Index<>, + hpcorrtrack::HPCorrCollId, hpcorrtrack::GlobalColRefId, hpcorrtrack::OriginalColRefId, @@ -231,7 +231,7 @@ DECLARE_SOA_TABLE(HPCorrTracks, "AOD", "HPCORRTRKS", o2::soa::Index<>, //______________________________________________________________________________ namespace hpcorrresonance { -DECLARE_SOA_INDEX_COLUMN(HPCorrCollision, hpCorrCollision); // o2-linter: disable=name/o2-column (Keep HPCorrCollision naming consistent with the existing derived collision table) +DECLARE_SOA_INDEX_COLUMN(HPCorrColl, hpCorrColl); // o2-linter: disable=name/o2-column (Keep HPCorrColl naming consistent with the existing derived collision table) DECLARE_SOA_INDEX_COLUMN_FULL(PosTrack, posTrack, int, HPCorrTracks, "_Pos"); DECLARE_SOA_INDEX_COLUMN_FULL(NegTrack, negTrack, int, HPCorrTracks, "_Neg"); @@ -272,10 +272,10 @@ DECLARE_SOA_COLUMN(Lambda1520BarTag, lambda1520BarTag, uint8_t); } // namespace hpcorrresonance -DECLARE_SOA_TABLE(HPCorrResonances, "AOD", "HPCORRRESOS", o2::soa::Index<>, +DECLARE_SOA_TABLE(HPCorrResonances, "AOD", "HPCORRRESO", o2::soa::Index<>, // Derived-table relations - hpcorrresonance::HPCorrCollisionId, + hpcorrresonance::HPCorrCollId, hpcorrresonance::PosTrackId, hpcorrresonance::NegTrackId, @@ -1191,66 +1191,66 @@ void addIdentifiedQAHistos(H& histReg, const std::string& basePath, const AxisSp // Common Histograms booking functions are over //__________________________________________________________________________________________________________________________ -struct HParticleCorrelationResonanceProducer { +struct HParticleCorrelation1ResonanceProducer { Produces resonanceCndts; HistogramRegistry resonanceQAPlots{"resonanceQAPlots", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; static constexpr float ResonancePidNSigmaMax = 3.5f; struct : ConfigurableGroup { - Configurable printDebugMessages{"printDebugMessages", false, "Print debug messages"}; + Configurable c0001printDebugMessages{"c0001printDebugMessages", false, "Print debug messages"}; } cfgDebug; struct : ConfigurableGroup { - Configurable requireSel8{"requireSel8", true, "Require sel8 event selection"}; - Configurable cutZvertex{"cutZvertex", 10.0f, "Maximum |z_{vtx}| (cm)"}; + Configurable c0002requireSel8{"c0002requireSel8", true, "Require sel8 event selection"}; + Configurable c0003cutZvertex{"c0003cutZvertex", 10.0f, "Maximum |z_{vtx}| (cm)"}; } cfgEvent; struct : ConfigurableGroup { - Configurable ptMin{"ptMin", 0.15f, "Minimum track pT (GeV/c)"}; - Configurable ptMax{"ptMax", 100.0f, "Maximum track pT (GeV/c)"}; - Configurable etaMax{"etaMax", 0.8f, "Maximum |eta|"}; + Configurable c0004ptMin{"c0004ptMin", 0.15f, "Minimum track pT (GeV/c)"}; + Configurable c0005ptMax{"c0005ptMax", 100.0f, "Maximum track pT (GeV/c)"}; + Configurable c0006etaMax{"c0006etaMax", 0.8f, "Maximum |eta|"}; - Configurable useFixedDCAxy{"useFixedDCAxy", false, "Apply fixed DCAxy cut"}; - Configurable dcaXYMax{"dcaXYMax", 0.1f, "Maximum |DCAxy| (cm)"}; + Configurable c0007useFixedDCAxy{"c0007useFixedDCAxy", false, "Apply fixed DCAxy cut"}; + Configurable c0008dcaXYMax{"c0008dcaXYMax", 0.1f, "Maximum |DCAxy| (cm)"}; - Configurable useFixedDCAz{"useFixedDCAz", false, "Apply fixed DCAz cut"}; - Configurable dcaZMax{"dcaZMax", 0.2f, "Maximum |DCAz| (cm)"}; + Configurable c0009useFixedDCAz{"c0009useFixedDCAz", false, "Apply fixed DCAz cut"}; + Configurable c0010dcaZMax{"c0010dcaZMax", 0.2f, "Maximum |DCAz| (cm)"}; } cfgTrackCuts; struct : ConfigurableGroup { - Configurable doPhi1020{"doPhi1020", true, "Build Phi(1020) candidates"}; - Configurable doKStar892{"doKStar892", true, "Build K*(892)0 candidates"}; - Configurable doKStar892Bar{"doKStar892Bar", true, "Build anti-K*(892)0 candidates"}; - Configurable doLambda1520{"doLambda1520", true, "Build Lambda(1520) candidates"}; - Configurable doLambda1520Bar{"doLambda1520Bar", true, "Build anti-Lambda(1520) candidates"}; + Configurable c0011doPhi1020{"c0011doPhi1020", true, "Build Phi(1020) candidates"}; + Configurable c0012doKStar892{"c0012doKStar892", true, "Build K*(892)0 candidates"}; + Configurable c0013doKStar892Bar{"c0013doKStar892Bar", true, "Build anti-K*(892)0 candidates"}; + Configurable c0014doLambda1520{"c0014doLambda1520", true, "Build Lambda(1520) candidates"}; + Configurable c0015doLambda1520Bar{"c0015doLambda1520Bar", true, "Build anti-Lambda(1520) candidates"}; } cfgResonances; struct : ConfigurableGroup { - Configurable phi1020PeakLow{"phi1020PeakLow", 1.013f, "Phi(1020) peak lower mass"}; - Configurable phi1020PeakUp{"phi1020PeakUp", 1.026f, "Phi(1020) peak upper mass"}; - Configurable phi1020LSBLow{"phi1020LSBLow", 0.995f, "Phi(1020) LSB lower mass"}; - Configurable phi1020LSBUp{"phi1020LSBUp", 1.005f, "Phi(1020) LSB upper mass"}; - Configurable phi1020RSBLow{"phi1020RSBLow", 1.040f, "Phi(1020) RSB lower mass"}; - Configurable phi1020RSBUp{"phi1020RSBUp", 1.060f, "Phi(1020) RSB upper mass"}; + Configurable c0016phi1020PeakLow{"c0016phi1020PeakLow", 1.013f, "Phi(1020) peak lower mass"}; + Configurable c0017phi1020PeakUp{"c0017phi1020PeakUp", 1.026f, "Phi(1020) peak upper mass"}; + Configurable c0018phi1020LSBLow{"c0018phi1020LSBLow", 0.995f, "Phi(1020) LSB lower mass"}; + Configurable c0019phi1020LSBUp{"c0019phi1020LSBUp", 1.005f, "Phi(1020) LSB upper mass"}; + Configurable c0020phi1020RSBLow{"c0020phi1020RSBLow", 1.040f, "Phi(1020) RSB lower mass"}; + Configurable c0021phi1020RSBUp{"c0021phi1020RSBUp", 1.060f, "Phi(1020) RSB upper mass"}; } cfgPhi1020Mass; struct : ConfigurableGroup { - Configurable kstar892PeakLow{"kstar892PeakLow", 0.846f, "K*(892)0 peak lower mass"}; - Configurable kstar892PeakUp{"kstar892PeakUp", 0.946f, "K*(892)0 peak upper mass"}; - Configurable kstar892LSBLow{"kstar892LSBLow", 0.700f, "K*(892)0 LSB lower mass"}; - Configurable kstar892LSBUp{"kstar892LSBUp", 0.780f, "K*(892)0 LSB upper mass"}; - Configurable kstar892RSBLow{"kstar892RSBLow", 1.010f, "K*(892)0 RSB lower mass"}; - Configurable kstar892RSBUp{"kstar892RSBUp", 1.090f, "K*(892)0 RSB upper mass"}; + Configurable c0022kstar892PeakLow{"c0022kstar892PeakLow", 0.846f, "K*(892)0 peak lower mass"}; + Configurable c0023kstar892PeakUp{"c0023kstar892PeakUp", 0.946f, "K*(892)0 peak upper mass"}; + Configurable c0024kstar892LSBLow{"c0024kstar892LSBLow", 0.700f, "K*(892)0 LSB lower mass"}; + Configurable c0025kstar892LSBUp{"c0025kstar892LSBUp", 0.780f, "K*(892)0 LSB upper mass"}; + Configurable c0026kstar892RSBLow{"c0026kstar892RSBLow", 1.010f, "K*(892)0 RSB lower mass"}; + Configurable c0027kstar892RSBUp{"c0027kstar892RSBUp", 1.090f, "K*(892)0 RSB upper mass"}; } cfgKstar892Mass; struct : ConfigurableGroup { - Configurable lambda1520PeakLow{"lambda1520PeakLow", 1.500f, "Lambda(1520) peak lower mass"}; - Configurable lambda1520PeakUp{"lambda1520PeakUp", 1.540f, "Lambda(1520) peak upper mass"}; - Configurable lambda1520LSBLow{"lambda1520LSBLow", 1.440f, "Lambda(1520) LSB lower mass"}; - Configurable lambda1520LSBUp{"lambda1520LSBUp", 1.480f, "Lambda(1520) LSB upper mass"}; - Configurable lambda1520RSBLow{"lambda1520RSBLow", 1.560f, "Lambda(1520) RSB lower mass"}; - Configurable lambda1520RSBUp{"lambda1520RSBUp", 1.600f, "Lambda(1520) RSB upper mass"}; + Configurable c0028lambda1520PeakLow{"c0028lambda1520PeakLow", 1.500f, "Lambda(1520) peak lower mass"}; + Configurable c0029lambda1520PeakUp{"c0029lambda1520PeakUp", 1.540f, "Lambda(1520) peak upper mass"}; + Configurable c0030lambda1520LSBLow{"c0030lambda1520LSBLow", 1.440f, "Lambda(1520) LSB lower mass"}; + Configurable c0031lambda1520LSBUp{"c0031lambda1520LSBUp", 1.480f, "Lambda(1520) LSB upper mass"}; + Configurable c0032lambda1520RSBLow{"c0032lambda1520RSBLow", 1.560f, "Lambda(1520) RSB lower mass"}; + Configurable c0033lambda1520RSBUp{"c0033lambda1520RSBUp", 1.600f, "Lambda(1520) RSB upper mass"}; } cfgLambda1520Mass; void init(InitContext const&) @@ -1309,14 +1309,14 @@ struct HParticleCorrelationResonanceProducer { } // Event Filter - Filter eventFilter = (!cfgEvent.requireSel8) || (o2::aod::evsel::sel8 == true); - Filter posZFilter = (nabs(o2::aod::collision::posZ) < cfgEvent.cutZvertex); + Filter eventFilter = (!cfgEvent.c0002requireSel8) || (o2::aod::evsel::sel8 == true); + Filter posZFilter = (nabs(o2::aod::collision::posZ) < cfgEvent.c0003cutZvertex); // Track Filter - Filter ptFilter = (o2::aod::track::pt > cfgTrackCuts.ptMin) && (o2::aod::track::pt < cfgTrackCuts.ptMax); - Filter etaFilter = (nabs(o2::aod::track::eta) < cfgTrackCuts.etaMax); - Filter dcaFilter = ((!cfgTrackCuts.useFixedDCAxy) || (nabs(o2::aod::track::dcaXY) < cfgTrackCuts.dcaXYMax)) && - ((!cfgTrackCuts.useFixedDCAz) || (nabs(o2::aod::track::dcaZ) < cfgTrackCuts.dcaZMax)); + Filter ptFilter = (o2::aod::track::pt > cfgTrackCuts.c0004ptMin) && (o2::aod::track::pt < cfgTrackCuts.c0005ptMax); + Filter etaFilter = (nabs(o2::aod::track::eta) < cfgTrackCuts.c0006etaMax); + Filter dcaFilter = ((!cfgTrackCuts.c0007useFixedDCAxy) || (nabs(o2::aod::track::dcaXY) < cfgTrackCuts.c0008dcaXYMax)) && + ((!cfgTrackCuts.c0009useFixedDCAz) || (nabs(o2::aod::track::dcaZ) < cfgTrackCuts.c0010dcaZMax)); using MyFilteredCollisions = soa::Filtered>; using MyFilteredTracks = soa::Filtered>; @@ -1326,21 +1326,21 @@ struct HParticleCorrelationResonanceProducer { Partition negTracks = aod::track::signed1Pt < 0.0f; int dfNumber = 0; - // void processNothing(aod::HPCorrCollisions const&) + // void processNothing(aod::HPCorrColls const&) void processNothing(aod::Origins const& origins) { - if (cfgDebug.printDebugMessages) { + if (cfgDebug.c0001printDebugMessages) { LOG(info) << "DEBUG :: Process Nothing :: df_" << dfNumber << " :: origins = " << origins.size(); } // Intentionally empty. // Keeps the task alive when running purely on derived data. } - PROCESS_SWITCH(HParticleCorrelationResonanceProducer, processNothing, "Dummy process for derived-data analysis", true); + PROCESS_SWITCH(HParticleCorrelation1ResonanceProducer, processNothing, "Dummy process for derived-data analysis", true); void processSameEvent(MyFilteredCollisions const& collisions, MyFilteredTracks const& fullTracks, o2::aod::Origins const& /*Origins*/) { dfNumber++; - if (cfgDebug.printDebugMessages) { + if (cfgDebug.c0001printDebugMessages) { LOG(info) << "DEBUG :: df_" << dfNumber << " :: SE :: collisions = " << collisions.size() << " :: fullTracks = " << fullTracks.size(); } @@ -1422,9 +1422,9 @@ struct HParticleCorrelationResonanceProducer { lambda1520BarTag = kMassOutside; // phi(1020) -> K+ + K- - if (cfgResonances.doPhi1020 && posIsKa && negIsKa) { + if (cfgResonances.c0011doPhi1020 && posIsKa && negIsKa) { mPhi1020 = RecoDecay::m(p, ePosKa + eNegKa); - phi1020Tag = getMassRegionTag(mPhi1020, cfgPhi1020Mass.phi1020LSBLow, cfgPhi1020Mass.phi1020LSBUp, cfgPhi1020Mass.phi1020PeakLow, cfgPhi1020Mass.phi1020PeakUp, cfgPhi1020Mass.phi1020RSBLow, cfgPhi1020Mass.phi1020RSBUp); + phi1020Tag = getMassRegionTag(mPhi1020, cfgPhi1020Mass.c0018phi1020LSBLow, cfgPhi1020Mass.c0019phi1020LSBUp, cfgPhi1020Mass.c0016phi1020PeakLow, cfgPhi1020Mass.c0017phi1020PeakUp, cfgPhi1020Mass.c0020phi1020RSBLow, cfgPhi1020Mass.c0021phi1020RSBUp); if (phi1020Tag != kMassOutside) { fillTable = true; } @@ -1432,9 +1432,9 @@ struct HParticleCorrelationResonanceProducer { } // K(892)* -> K+ + pi- - if (cfgResonances.doKStar892 && posIsKa && negIsPi) { + if (cfgResonances.c0012doKStar892 && posIsKa && negIsPi) { mKStar892 = RecoDecay::m(p, ePosKa + eNegPi); - kStar892Tag = getMassRegionTag(mKStar892, cfgKstar892Mass.kstar892LSBLow, cfgKstar892Mass.kstar892LSBUp, cfgKstar892Mass.kstar892PeakLow, cfgKstar892Mass.kstar892PeakUp, cfgKstar892Mass.kstar892RSBLow, cfgKstar892Mass.kstar892RSBUp); + kStar892Tag = getMassRegionTag(mKStar892, cfgKstar892Mass.c0024kstar892LSBLow, cfgKstar892Mass.c0025kstar892LSBUp, cfgKstar892Mass.c0022kstar892PeakLow, cfgKstar892Mass.c0023kstar892PeakUp, cfgKstar892Mass.c0026kstar892RSBLow, cfgKstar892Mass.c0027kstar892RSBUp); if (kStar892Tag != kMassOutside) { fillTable = true; } @@ -1442,9 +1442,9 @@ struct HParticleCorrelationResonanceProducer { } // K(892)*Bar -> K- + pi+ - if (cfgResonances.doKStar892Bar && posIsPi && negIsKa) { + if (cfgResonances.c0013doKStar892Bar && posIsPi && negIsKa) { mKStar892Bar = RecoDecay::m(p, ePosPi + eNegKa); - kStar892BarTag = getMassRegionTag(mKStar892Bar, cfgKstar892Mass.kstar892LSBLow, cfgKstar892Mass.kstar892LSBUp, cfgKstar892Mass.kstar892PeakLow, cfgKstar892Mass.kstar892PeakUp, cfgKstar892Mass.kstar892RSBLow, cfgKstar892Mass.kstar892RSBUp); + kStar892BarTag = getMassRegionTag(mKStar892Bar, cfgKstar892Mass.c0024kstar892LSBLow, cfgKstar892Mass.c0025kstar892LSBUp, cfgKstar892Mass.c0022kstar892PeakLow, cfgKstar892Mass.c0023kstar892PeakUp, cfgKstar892Mass.c0026kstar892RSBLow, cfgKstar892Mass.c0027kstar892RSBUp); if (kStar892BarTag != kMassOutside) { fillTable = true; } @@ -1452,9 +1452,9 @@ struct HParticleCorrelationResonanceProducer { } // Λ(1520) -> P+ + Ka- - if (cfgResonances.doLambda1520 && posIsPr && negIsKa) { + if (cfgResonances.c0014doLambda1520 && posIsPr && negIsKa) { mLambda1520 = RecoDecay::m(p, ePosPr + eNegKa); - lambda1520Tag = getMassRegionTag(mLambda1520, cfgLambda1520Mass.lambda1520LSBLow, cfgLambda1520Mass.lambda1520LSBUp, cfgLambda1520Mass.lambda1520PeakLow, cfgLambda1520Mass.lambda1520PeakUp, cfgLambda1520Mass.lambda1520RSBLow, cfgLambda1520Mass.lambda1520RSBUp); + lambda1520Tag = getMassRegionTag(mLambda1520, cfgLambda1520Mass.c0030lambda1520LSBLow, cfgLambda1520Mass.c0031lambda1520LSBUp, cfgLambda1520Mass.c0028lambda1520PeakLow, cfgLambda1520Mass.c0029lambda1520PeakUp, cfgLambda1520Mass.c0032lambda1520RSBLow, cfgLambda1520Mass.c0033lambda1520RSBUp); if (lambda1520Tag != kMassOutside) { fillTable = true; } @@ -1462,9 +1462,9 @@ struct HParticleCorrelationResonanceProducer { } // Λ(1520)Bar -> PBar + Ka+ - if (cfgResonances.doLambda1520Bar && posIsKa && negIsPr) { + if (cfgResonances.c0015doLambda1520Bar && posIsKa && negIsPr) { mLambda1520Bar = RecoDecay::m(p, ePosKa + eNegPr); - lambda1520BarTag = getMassRegionTag(mLambda1520Bar, cfgLambda1520Mass.lambda1520LSBLow, cfgLambda1520Mass.lambda1520LSBUp, cfgLambda1520Mass.lambda1520PeakLow, cfgLambda1520Mass.lambda1520PeakUp, cfgLambda1520Mass.lambda1520RSBLow, cfgLambda1520Mass.lambda1520RSBUp); + lambda1520BarTag = getMassRegionTag(mLambda1520Bar, cfgLambda1520Mass.c0030lambda1520LSBLow, cfgLambda1520Mass.c0031lambda1520LSBUp, cfgLambda1520Mass.c0028lambda1520PeakLow, cfgLambda1520Mass.c0029lambda1520PeakUp, cfgLambda1520Mass.c0032lambda1520RSBLow, cfgLambda1520Mass.c0033lambda1520RSBUp); if (lambda1520BarTag != kMassOutside) { fillTable = true; } @@ -1486,12 +1486,12 @@ struct HParticleCorrelationResonanceProducer { } // Pos Tracks } // collision Loop is over } - PROCESS_SWITCH(HParticleCorrelationResonanceProducer, processSameEvent, "Process Same event", true); + PROCESS_SWITCH(HParticleCorrelation1ResonanceProducer, processSameEvent, "Process Same event", true); }; -struct HParticleCorrelationSameEvent { +struct HParticleCorrelation2SameEvent { - Produces derivedCollisions; + Produces derivedCollisions; Produces derivedTracks; Produces derivedResonances; @@ -1509,220 +1509,220 @@ struct HParticleCorrelationSameEvent { HistogramRegistry mixingQA{"mixingQA", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; struct : ConfigurableGroup { - Configurable printDebugMessages{"printDebugMessages", false, "Print debug messages"}; + Configurable c1001printDebugMessages{"c1001printDebugMessages", false, "Print debug messages"}; } cfgDebug; struct : ConfigurableGroup { // Basic event selection - Configurable cutZvertex{"cutZvertex", 10.f, "Maximum |z_{vtx}| (cm)"}; // Imp : All - Configurable requireSel8{"requireSel8", true, "Require sel8 event selection"}; // Imp : All - Configurable requireTriggerTVX{"requireTriggerTVX", false, "Require kIsTriggerTVX"}; + Configurable c1002cutZvertex{"c1002cutZvertex", 10.f, "Maximum |z_{vtx}| (cm)"}; // Imp : All + Configurable c1003requireSel8{"c1003requireSel8", true, "Require sel8 event selection"}; // Imp : All + Configurable c1004requireTriggerTVX{"c1004requireTriggerTVX", false, "Require kIsTriggerTVX"}; - Configurable minNFilteredTracks{"minNFilteredTracks", 3, "Minimum number of filtered tracks required per collision"}; - Configurable minNSelectedTracks{"minNSelectedTracks", 3, "Minimum number of selected tracks required per collision"}; + Configurable c1005minNFilteredTracks{"c1005minNFilteredTracks", 3, "Minimum number of filtered tracks required per collision"}; + Configurable c1006minNSelectedTracks{"c1006minNSelectedTracks", 3, "Minimum number of selected tracks required per collision"}; // Time-frame / ROF border selections - Configurable requireNoITSROFrameBorder{"requireNoITSROFrameBorder", false, "Require kNoITSROFrameBorder"}; - Configurable requireNoTimeFrameBorder{"requireNoTimeFrameBorder", false, "Require kNoTimeFrameBorder"}; + Configurable c1007requireNoITSROFrameBorder{"c1007requireNoITSROFrameBorder", false, "Require kNoITSROFrameBorder"}; + Configurable c1008requireNoTimeFrameBorder{"c1008requireNoTimeFrameBorder", false, "Require kNoTimeFrameBorder"}; // Vertex quality - Configurable requireVertexITSTPC{"requireVertexITSTPC", true, "Require kIsVertexITSTPC"}; // Imp : Light Ions + pp - Configurable requireGoodZvtxFT0vsPV{"requireGoodZvtxFT0vsPV", false, "Require kIsGoodZvtxFT0vsPV"}; // Imp : Light Ions - Configurable requireVertexTOFmatched{"requireVertexTOFmatched", false, "Require kIsVertexTOFmatched"}; - Configurable requireVertexTRDmatched{"requireVertexTRDmatched", false, "Require kIsVertexTRDmatched"}; - Configurable requireGoodITSLayersAll{"requireGoodITSLayersAll", false, "Require kIsGoodITSLayersAll"}; // Imp : Light Ions + Configurable c1009requireVertexITSTPC{"c1009requireVertexITSTPC", true, "Require kIsVertexITSTPC"}; // Imp : Light Ions + pp + Configurable c1010requireGoodZvtxFT0vsPV{"c1010requireGoodZvtxFT0vsPV", false, "Require kIsGoodZvtxFT0vsPV"}; // Imp : Light Ions + Configurable c1011requireVertexTOFmatched{"c1011requireVertexTOFmatched", false, "Require kIsVertexTOFmatched"}; + Configurable c1012requireVertexTRDmatched{"c1012requireVertexTRDmatched", false, "Require kIsVertexTRDmatched"}; + Configurable c1013requireGoodITSLayersAll{"c1013requireGoodITSLayersAll", false, "Require kIsGoodITSLayersAll"}; // Imp : Light Ions // Pileup / neighbouring-collision rejection - Configurable requireNoSameBunchPileup{"requireNoSameBunchPileup", true, "Require kNoSameBunchPileup"}; // Imp : Light Ions + pp - Configurable requireNoCollInTimeRangeStandard{"requireNoCollInTimeRangeStandard", false, "Require kNoCollInTimeRangeStandard"}; - Configurable requireNoCollInTimeRangeStrict{"requireNoCollInTimeRangeStrict", false, "Require kNoCollInTimeRangeStrict"}; - Configurable requireNoCollInTimeRangeNarrow{"requireNoCollInTimeRangeNarrow", false, "Require kNoCollInTimeRangeNarrow"}; - Configurable requireNoCollInRofStandard{"requireNoCollInRofStandard", false, "Require kNoCollInRofStandard"}; - Configurable requireNoCollInRofStrict{"requireNoCollInRofStrict", false, "Require kNoCollInRofStrict"}; - Configurable requireNoHighMultCollInPrevRof{"requireNoHighMultCollInPrevRof", false, "Require kNoHighMultCollInPrevRof"}; + Configurable c1014requireNoSameBunchPileup{"c1014requireNoSameBunchPileup", true, "Require kNoSameBunchPileup"}; // Imp : Light Ions + pp + Configurable c1015requireNoCollInTimeRangeStandard{"c1015requireNoCollInTimeRangeStandard", false, "Require kNoCollInTimeRangeStandard"}; + Configurable c1016requireNoCollInTimeRangeStrict{"c1016requireNoCollInTimeRangeStrict", false, "Require kNoCollInTimeRangeStrict"}; + Configurable c1017requireNoCollInTimeRangeNarrow{"c1017requireNoCollInTimeRangeNarrow", false, "Require kNoCollInTimeRangeNarrow"}; + Configurable c1018requireNoCollInRofStandard{"c1018requireNoCollInRofStandard", false, "Require kNoCollInRofStandard"}; + Configurable c1019requireNoCollInRofStrict{"c1019requireNoCollInRofStrict", false, "Require kNoCollInRofStrict"}; + Configurable c1020requireNoHighMultCollInPrevRof{"c1020requireNoHighMultCollInPrevRof", false, "Require kNoHighMultCollInPrevRof"}; // INEL event classes - Configurable requireINELgt0{"requireINELgt0", false, "Require INEL > 0"}; - Configurable requireINELgt1{"requireINELgt1", false, "Require INEL > 1"}; + Configurable c1021requireINELgt0{"c1021requireINELgt0", false, "Require INEL > 0"}; + Configurable c1022requireINELgt1{"c1022requireINELgt1", false, "Require INEL > 1"}; // Multiplicity selection - Configurable useMultiplicitySelection{"useMultiplicitySelection", false, "Apply multiplicity selection"}; - Configurable multiplicityEstimator{"multiplicityEstimator", 0, "0: multNTracksPV, 1: numContrib, 2: multFT0C, 3: multFT0M"}; - Configurable minMultiplicity{"minMultiplicity", 0.f, "Minimum multiplicity"}; - Configurable maxMultiplicity{"maxMultiplicity", 1.e9f, "Maximum multiplicity"}; + Configurable c1023useMultiplicitySelection{"c1023useMultiplicitySelection", false, "Apply multiplicity selection"}; + Configurable c1024multiplicityEstimator{"c1024multiplicityEstimator", 0, "0: multNTracksPV, 1: numContrib, 2: multFT0C, 3: multFT0M"}; + Configurable c1025minMultiplicity{"c1025minMultiplicity", 0.f, "Minimum multiplicity"}; + Configurable c1026maxMultiplicity{"c1026maxMultiplicity", 1.e9f, "Maximum multiplicity"}; // Centrality selection - Configurable useCentralitySelection{"useCentralitySelection", false, "Apply centrality selection"}; - Configurable centralityEstimator{"centralityEstimator", 0, "0: centFT0C, 1: centFT0M, 2: centFT0A, 3: centFV0A"}; - Configurable minCentrality{"minCentrality", 0.f, "Minimum centrality percentile"}; - Configurable maxCentrality{"maxCentrality", 100.f, "Maximum centrality percentile"}; + Configurable c1027useCentralitySelection{"c1027useCentralitySelection", false, "Apply centrality selection"}; + Configurable c1028centralityEstimator{"c1028centralityEstimator", 0, "0: centFT0C, 1: centFT0M, 2: centFT0A, 3: centFV0A"}; + Configurable c1029minCentrality{"c1029minCentrality", 0.f, "Minimum centrality percentile"}; + Configurable c1030maxCentrality{"c1030maxCentrality", 100.f, "Maximum centrality percentile"}; // Occupancy selection - Configurable useOccupancySelection{"useOccupancySelection", false, "Apply event occupancy selection"}; - Configurable useFT0CbasedOccupancy{"useFT0CbasedOccupancy", false, "Use FT0C occupancy instead of track occupancy"}; - Configurable minOccupancy{"minOccupancy", -1.f, "Minimum occupancy"}; - Configurable maxOccupancy{"maxOccupancy", 1.e9f, "Maximum occupancy"}; + Configurable c1031useOccupancySelection{"c1031useOccupancySelection", false, "Apply event occupancy selection"}; + Configurable c1032useFT0CbasedOccupancy{"c1032useFT0CbasedOccupancy", false, "Use FT0C occupancy instead of track occupancy"}; + Configurable c1033minOccupancy{"c1033minOccupancy", -1.f, "Minimum occupancy"}; + Configurable c1034maxOccupancy{"c1034maxOccupancy", 1.e9f, "Maximum occupancy"}; // Interaction-rate selection - Configurable useInteractionRateSelection{"useInteractionRateSelection", false, "Apply interaction-rate selection"}; - Configurable minInteractionRate{"minInteractionRate", -1.f, "Minimum interaction rate"}; - Configurable maxInteractionRate{"maxInteractionRate", 1.e9f, "Maximum interaction rate"}; + Configurable c1035useInteractionRateSelection{"c1035useInteractionRateSelection", false, "Apply interaction-rate selection"}; + Configurable c1036minInteractionRate{"c1036minInteractionRate", -1.f, "Minimum interaction rate"}; + Configurable c1037maxInteractionRate{"c1037maxInteractionRate", 1.e9f, "Maximum interaction rate"}; // RCT / detector-quality selection - Configurable requireRCTFlagChecker{"requireRCTFlagChecker", false, "Apply Run Condition Table event-quality selection"}; - Configurable requireCorrelationAnalysisRCTFlagChecker{"requireCorrelationAnalysisRCTFlagChecker", false, "Apply correlation-analysis RCT selection"}; - Configurable rctFlagCheckerLabel{"rctFlagCheckerLabel", "CBT_muon_global", "RCT flag checker label"}; - Configurable rctCheckZDC{"rctCheckZDC", false, "Include ZDC in RCT detector-quality check"}; - Configurable rctTreatLimitedAcceptanceAsBad{"rctTreatLimitedAcceptanceAsBad", false, "Treat limited detector acceptance as bad"}; + Configurable c1038requireRCTFlagChecker{"c1038requireRCTFlagChecker", false, "Apply Run Condition Table event-quality selection"}; + Configurable c1039requireCorrelationAnalysisRCTFlagChecker{"c1039requireCorrelationAnalysisRCTFlagChecker", false, "Apply correlation-analysis RCT selection"}; + Configurable c1040rctFlagCheckerLabel{"c1040rctFlagCheckerLabel", "CBT_muon_global", "RCT flag checker label"}; + Configurable c1041rctCheckZDC{"c1041rctCheckZDC", false, "Include ZDC in RCT detector-quality check"}; + Configurable c1042rctTreatLimitedAcceptanceAsBad{"c1042rctTreatLimitedAcceptanceAsBad", false, "Treat limited detector acceptance as bad"}; } cfgEvent; struct : ConfigurableGroup { // Kinematics - Configurable ptMin{"ptMin", 0.2f, "Minimum track pT (GeV/c)"}; - Configurable ptMax{"ptMax", 1.e10f, "Maximum track pT (GeV/c)"}; - Configurable etaMax{"etaMax", 0.8f, "Maximum |eta|"}; + Configurable c1043ptMin{"c1043ptMin", 0.2f, "Minimum track pT (GeV/c)"}; + Configurable c1044ptMax{"c1044ptMax", 1.e10f, "Maximum track pT (GeV/c)"}; + Configurable c1045etaMax{"c1045etaMax", 0.8f, "Maximum |eta|"}; // Standard O2 track-selection flags - Configurable requireGlobalTrack{"requireGlobalTrack", false, "Require isGlobalTrack()"}; - Configurable requireGlobalTrackWoDCA{"requireGlobalTrackWoDCA", false, "Require isGlobalTrackWoDCA()"}; - Configurable requirePVContributor{"requirePVContributor", false, "Require track to be a PV contributor"}; + Configurable c1046requireGlobalTrack{"c1046requireGlobalTrack", false, "Require isGlobalTrack()"}; + Configurable c1047requireGlobalTrackWoDCA{"c1047requireGlobalTrackWoDCA", false, "Require isGlobalTrackWoDCA()"}; + Configurable c1048requirePVContributor{"c1048requirePVContributor", false, "Require track to be a PV contributor"}; // Detector matching / presence - Configurable requireITS{"requireITS", false, "Require ITS information"}; - Configurable requireTPC{"requireTPC", false, "Require TPC information"}; - Configurable requireTOF{"requireTOF", false, "Require TOF information"}; - Configurable requireTRD{"requireTRD", false, "Require TRD information"}; + Configurable c1049requireITS{"c1049requireITS", false, "Require ITS information"}; + Configurable c1050requireTPC{"c1050requireTPC", false, "Require TPC information"}; + Configurable c1051requireTOF{"c1051requireTOF", false, "Require TOF information"}; + Configurable c1052requireTRD{"c1052requireTRD", false, "Require TRD information"}; // TPC quality - Configurable tpcNClsFoundMin{"tpcNClsFoundMin", 0, "Minimum number of found TPC clusters"}; - Configurable tpcNClsCrossedRowsMin{"tpcNClsCrossedRowsMin", 80, "Minimum number of TPC crossed rows"}; - Configurable tpcCrossedRowsOverFindableMin{"tpcCrossedRowsOverFindableMin", 0.f, "Minimum TPC crossed rows / findable clusters"}; - Configurable tpcFoundOverFindableMin{"tpcFoundOverFindableMin", 0.f, "Minimum TPC found / findable clusters"}; - Configurable tpcFractionSharedMax{"tpcFractionSharedMax", 1.f, "Maximum fraction of shared TPC clusters"}; - Configurable tpcChi2NClMin{"tpcChi2NClMin", 0.f, "Minimum TPC chi2 per cluster"}; - Configurable tpcChi2NClMax{"tpcChi2NClMax", 1.e10f, "Maximum TPC chi2 per cluster"}; + Configurable c1053tpcNClsFoundMin{"c1053tpcNClsFoundMin", 0, "Minimum number of found TPC clusters"}; + Configurable c1054tpcNClsCrossedRowsMin{"c1054tpcNClsCrossedRowsMin", 80, "Minimum number of TPC crossed rows"}; + Configurable c1055tpcCrossedRowsOverFindableMin{"c1055tpcCrossedRowsOverFindableMin", 0.f, "Minimum TPC crossed rows / findable clusters"}; + Configurable c1056tpcFoundOverFindableMin{"c1056tpcFoundOverFindableMin", 0.f, "Minimum TPC found / findable clusters"}; + Configurable c1057tpcFractionSharedMax{"c1057tpcFractionSharedMax", 1.f, "Maximum fraction of shared TPC clusters"}; + Configurable c1058tpcChi2NClMin{"c1058tpcChi2NClMin", 0.f, "Minimum TPC chi2 per cluster"}; + Configurable c1059tpcChi2NClMax{"c1059tpcChi2NClMax", 1.e10f, "Maximum TPC chi2 per cluster"}; // ITS quality - Configurable itsNClsMin{"itsNClsMin", 0, "Minimum number of ITS clusters"}; - Configurable itsNClsMax{"itsNClsMax", 7, "Maximum number of ITS clusters"}; - Configurable itsNClsInnerBarrelMin{"itsNClsInnerBarrelMin", 0, "Minimum number of ITS inner-barrel clusters"}; - Configurable itsChi2NClMin{"itsChi2NClMin", 0.f, "Minimum ITS chi2 per cluster"}; - Configurable itsChi2NClMax{"itsChi2NClMax", 1.e10f, "Maximum ITS chi2 per cluster"}; + Configurable c1060itsNClsMin{"c1060itsNClsMin", 0, "Minimum number of ITS clusters"}; + Configurable c1061itsNClsMax{"c1061itsNClsMax", 7, "Maximum number of ITS clusters"}; + Configurable c1062itsNClsInnerBarrelMin{"c1062itsNClsInnerBarrelMin", 0, "Minimum number of ITS inner-barrel clusters"}; + Configurable c1063itsChi2NClMin{"c1063itsChi2NClMin", 0.f, "Minimum ITS chi2 per cluster"}; + Configurable c1064itsChi2NClMax{"c1064itsChi2NClMax", 1.e10f, "Maximum ITS chi2 per cluster"}; // Fixed DCA - Configurable useFixedDCAxy{"useFixedDCAxy", true, "Apply fixed |DCAxy| cut"}; - Configurable dcaXYMax{"dcaXYMax", 0.1f, "Maximum fixed |DCAxy| (cm)"}; - Configurable useFixedDCAz{"useFixedDCAz", true, "Apply fixed |DCAz| cut"}; - Configurable dcaZMax{"dcaZMax", 0.2f, "Maximum fixed |DCAz| (cm)"}; + Configurable c1065useFixedDCAxy{"c1065useFixedDCAxy", true, "Apply fixed |DCAxy| cut"}; + Configurable c1066dcaXYMax{"c1066dcaXYMax", 0.1f, "Maximum fixed |DCAxy| (cm)"}; + Configurable c1067useFixedDCAz{"c1067useFixedDCAz", true, "Apply fixed |DCAz| cut"}; + Configurable c1068dcaZMax{"c1068dcaZMax", 0.2f, "Maximum fixed |DCAz| (cm)"}; // pT-dependent DCAxy: // |DCAxy| < A + B * pT^C - Configurable usePtDependentDCAxy{"usePtDependentDCAxy", false, "Apply pT-dependent DCAxy cut"}; - Configurable dcaXYPtA{"dcaXYPtA", 0.0105f, "A coefficient of pT-dependent DCAxy cut"}; - Configurable dcaXYPtB{"dcaXYPtB", 0.035f, "B coefficient of pT-dependent DCAxy cut"}; - Configurable dcaXYPtC{"dcaXYPtC", 1.1f, "Power C of pT-dependent DCAxy cut"}; + Configurable c1069usePtDependentDCAxy{"c1069usePtDependentDCAxy", false, "Apply pT-dependent DCAxy cut"}; + Configurable c1070dcaXYPtA{"c1070dcaXYPtA", 0.0105f, "A coefficient of pT-dependent DCAxy cut"}; + Configurable c1071dcaXYPtB{"c1071dcaXYPtB", 0.035f, "B coefficient of pT-dependent DCAxy cut"}; + Configurable c1072dcaXYPtC{"c1072dcaXYPtC", 1.1f, "Power C of pT-dependent DCAxy cut"}; // pT-dependent DCAz: // |DCAz| < A + B * pT^C - Configurable usePtDependentDCAz{"usePtDependentDCAz", false, "Apply pT-dependent DCAz cut"}; - Configurable dcaZPtA{"dcaZPtA", 0.1f, "A coefficient of pT-dependent DCAz cut"}; - Configurable dcaZPtB{"dcaZPtB", 0.0f, "B coefficient of pT-dependent DCAz cut"}; - Configurable dcaZPtC{"dcaZPtC", 0.0f, "Power C of pT-dependent DCAz cut"}; + Configurable c1073usePtDependentDCAz{"c1073usePtDependentDCAz", false, "Apply pT-dependent DCAz cut"}; + Configurable c1074dcaZPtA{"c1074dcaZPtA", 0.1f, "A coefficient of pT-dependent DCAz cut"}; + Configurable c1075dcaZPtB{"c1075dcaZPtB", 0.0f, "B coefficient of pT-dependent DCAz cut"}; + Configurable c1076dcaZPtC{"c1076dcaZPtC", 0.0f, "Power C of pT-dependent DCAz cut"}; } cfgTrackCuts; struct : ConfigurableGroup { - Configurable triggerPtLow{"triggerPtLow", 4.0f, "Minimum pT for trigger tracks"}; - Configurable triggerPtHigh{"triggerPtHigh", 8.0f, "Maximum pT for trigger tracks"}; - Configurable assocPtLowMin{"assocPtLowMin", 0.0f, "Minimum pT for low-pT associated tracks"}; - Configurable assocPtLowMax{"assocPtLowMax", 2.0f, "Maximum pT for low-pT associated tracks"}; - Configurable assocPtHighMin{"assocPtHighMin", 2.0f, "Minimum pT for high-pT associated tracks"}; - Configurable assocPtHighMax{"assocPtHighMax", 4.0f, "Maximum pT for high-pT associated tracks"}; + Configurable c1077triggerPtLow{"c1077triggerPtLow", 4.0f, "Minimum pT for trigger tracks"}; + Configurable c1078triggerPtHigh{"c1078triggerPtHigh", 8.0f, "Maximum pT for trigger tracks"}; + Configurable c1079assocPtLowMin{"c1079assocPtLowMin", 0.0f, "Minimum pT for low-pT associated tracks"}; + Configurable c1080assocPtLowMax{"c1080assocPtLowMax", 2.0f, "Maximum pT for low-pT associated tracks"}; + Configurable c1081assocPtHighMin{"c1081assocPtHighMin", 2.0f, "Minimum pT for high-pT associated tracks"}; + Configurable c1082assocPtHighMax{"c1082assocPtHighMax", 4.0f, "Maximum pT for high-pT associated tracks"}; } cfgPartitions; struct : ConfigurableGroup { - Configurable resoRapidityMin{"resoRapidityMin", -0.5f, "Minimum rapidity for resonance candidates"}; - Configurable resoRapidityMax{"resoRapidityMax", 0.5f, "Maximum rapidity for resonance candidates"}; - - Configurable phiPtLowMin{"phiPtLowMin", 0.0f, "Minimum pT for low-pT Phi(1020)"}; - Configurable phiPtLowMax{"phiPtLowMax", 2.0f, "Maximum pT for low-pT Phi(1020)"}; - Configurable phiPtHighMin{"phiPtHighMin", 2.0f, "Minimum pT for high-pT Phi(1020)"}; - Configurable phiPtHighMax{"phiPtHighMax", 4.0f, "Maximum pT for high-pT Phi(1020)"}; - - Configurable kstarPtLowMin{"kstarPtLowMin", 0.0f, "Minimum pT for low-pT K*(892)0"}; - Configurable kstarPtLowMax{"kstarPtLowMax", 2.0f, "Maximum pT for low-pT K*(892)0"}; - Configurable kstarPtHighMin{"kstarPtHighMin", 2.0f, "Minimum pT for high-pT K*(892)0"}; - Configurable kstarPtHighMax{"kstarPtHighMax", 4.0f, "Maximum pT for high-pT K*(892)0"}; - - Configurable kstarBarPtLowMin{"kstarBarPtLowMin", 0.0f, "Minimum pT for low-pT anti-K*(892)0"}; - Configurable kstarBarPtLowMax{"kstarBarPtLowMax", 2.0f, "Maximum pT for low-pT anti-K*(892)0"}; - Configurable kstarBarPtHighMin{"kstarBarPtHighMin", 2.0f, "Minimum pT for high-pT anti-K*(892)0"}; - Configurable kstarBarPtHighMax{"kstarBarPtHighMax", 4.0f, "Maximum pT for high-pT anti-K*(892)0"}; - - Configurable lambda1520PtLowMin{"lambda1520PtLowMin", 0.0f, "Minimum pT for low-pT Lambda(1520)"}; - Configurable lambda1520PtLowMax{"lambda1520PtLowMax", 2.0f, "Maximum pT for low-pT Lambda(1520)"}; - Configurable lambda1520PtHighMin{"lambda1520PtHighMin", 2.0f, "Minimum pT for high-pT Lambda(1520)"}; - Configurable lambda1520PtHighMax{"lambda1520PtHighMax", 4.0f, "Maximum pT for high-pT Lambda(1520)"}; - - Configurable lambda1520BarPtLowMin{"lambda1520BarPtLowMin", 0.0f, "Minimum pT for low-pT anti-Lambda(1520)"}; - Configurable lambda1520BarPtLowMax{"lambda1520BarPtLowMax", 2.0f, "Maximum pT for low-pT anti-Lambda(1520)"}; - Configurable lambda1520BarPtHighMin{"lambda1520BarPtHighMin", 2.0f, "Minimum pT for high-pT anti-Lambda(1520)"}; - Configurable lambda1520BarPtHighMax{"lambda1520BarPtHighMax", 4.0f, "Maximum pT for high-pT anti-Lambda(1520)"}; + Configurable c1083resoRapidityMin{"c1083resoRapidityMin", -0.5f, "Minimum rapidity for resonance candidates"}; + Configurable c1084resoRapidityMax{"c1084resoRapidityMax", 0.5f, "Maximum rapidity for resonance candidates"}; + + Configurable c1085phiPtLowMin{"c1085phiPtLowMin", 0.0f, "Minimum pT for low-pT Phi(1020)"}; + Configurable c1086phiPtLowMax{"c1086phiPtLowMax", 2.0f, "Maximum pT for low-pT Phi(1020)"}; + Configurable c1087phiPtHighMin{"c1087phiPtHighMin", 2.0f, "Minimum pT for high-pT Phi(1020)"}; + Configurable c1088phiPtHighMax{"c1088phiPtHighMax", 4.0f, "Maximum pT for high-pT Phi(1020)"}; + + Configurable c1089kstarPtLowMin{"c1089kstarPtLowMin", 0.0f, "Minimum pT for low-pT K*(892)0"}; + Configurable c1090kstarPtLowMax{"c1090kstarPtLowMax", 2.0f, "Maximum pT for low-pT K*(892)0"}; + Configurable c1091kstarPtHighMin{"c1091kstarPtHighMin", 2.0f, "Minimum pT for high-pT K*(892)0"}; + Configurable c1092kstarPtHighMax{"c1092kstarPtHighMax", 4.0f, "Maximum pT for high-pT K*(892)0"}; + + Configurable c1093kstarBarPtLowMin{"c1093kstarBarPtLowMin", 0.0f, "Minimum pT for low-pT anti-K*(892)0"}; + Configurable c1094kstarBarPtLowMax{"c1094kstarBarPtLowMax", 2.0f, "Maximum pT for low-pT anti-K*(892)0"}; + Configurable c1095kstarBarPtHighMin{"c1095kstarBarPtHighMin", 2.0f, "Minimum pT for high-pT anti-K*(892)0"}; + Configurable c1096kstarBarPtHighMax{"c1096kstarBarPtHighMax", 4.0f, "Maximum pT for high-pT anti-K*(892)0"}; + + Configurable c1097lambda1520PtLowMin{"c1097lambda1520PtLowMin", 0.0f, "Minimum pT for low-pT Lambda(1520)"}; + Configurable c1098lambda1520PtLowMax{"c1098lambda1520PtLowMax", 2.0f, "Maximum pT for low-pT Lambda(1520)"}; + Configurable c1099lambda1520PtHighMin{"c1099lambda1520PtHighMin", 2.0f, "Minimum pT for high-pT Lambda(1520)"}; + Configurable c1100lambda1520PtHighMax{"c1100lambda1520PtHighMax", 4.0f, "Maximum pT for high-pT Lambda(1520)"}; + + Configurable c1101lambda1520BarPtLowMin{"c1101lambda1520BarPtLowMin", 0.0f, "Minimum pT for low-pT anti-Lambda(1520)"}; + Configurable c1102lambda1520BarPtLowMax{"c1102lambda1520BarPtLowMax", 2.0f, "Maximum pT for low-pT anti-Lambda(1520)"}; + Configurable c1103lambda1520BarPtHighMin{"c1103lambda1520BarPtHighMin", 2.0f, "Minimum pT for high-pT anti-Lambda(1520)"}; + Configurable c1104lambda1520BarPtHighMax{"c1104lambda1520BarPtHighMax", 4.0f, "Maximum pT for high-pT anti-Lambda(1520)"}; } cfgResPartitions; struct : ConfigurableGroup { - ConfigurableAxis axisDeltaPhi{"axisDeltaPhi", {80, -2.0f, 6.0f}, "#Delta#varphi"}; - ConfigurableAxis axisDeltaEta{"axisDeltaEta", {84, -2.1f, 2.1f}, "#Delta#eta"}; + ConfigurableAxis c1105axisDeltaPhi{"c1105axisDeltaPhi", {80, -2.0f, 6.0f}, "#Delta#varphi"}; + ConfigurableAxis c1106axisDeltaEta{"c1106axisDeltaEta", {84, -2.1f, 2.1f}, "#Delta#eta"}; - ConfigurableAxis axisCorrSparseTriggerPt{"axisCorrSparseTriggerPt", {8, 4.0f, 8.0f}, "#it{p}_{T}^{trig} (GeV/#it{c})"}; - ConfigurableAxis axisCorrSparseAssocPt{"axisCorrSparseAssocPt", {8, 0.0f, 4.0f}, "#it{p}_{T}^{assoc} (GeV/#it{c})"}; - ConfigurableAxis axisCorrSparseDeltaPhi{"axisCorrSparseDeltaPhi", {32, -2.0f, 6.0f}, "#Delta#varphi"}; - ConfigurableAxis axisCorrSparseDeltaEta{"axisCorrSparseDeltaEta", {24, -2.1f, 2.1f}, "#Delta#eta"}; + ConfigurableAxis c1107axisCorrSparseTriggerPt{"c1107axisCorrSparseTriggerPt", {8, 4.0f, 8.0f}, "#it{p}_{T}^{trig} (GeV/#it{c})"}; + ConfigurableAxis c1108axisCorrSparseAssocPt{"c1108axisCorrSparseAssocPt", {8, 0.0f, 4.0f}, "#it{p}_{T}^{assoc} (GeV/#it{c})"}; + ConfigurableAxis c1109axisCorrSparseDeltaPhi{"c1109axisCorrSparseDeltaPhi", {32, -2.0f, 6.0f}, "#Delta#varphi"}; + ConfigurableAxis c1110axisCorrSparseDeltaEta{"c1110axisCorrSparseDeltaEta", {24, -2.1f, 2.1f}, "#Delta#eta"}; } cfgAxis; - Configurable fillDauQAOnce{"fillDauQAOnce", false, "Fill each resonance daughter in QA only once per event"}; - Configurable rejectResoWithAnyTriggerDaughter{"rejectResoWithAnyTriggerDaughter", false, "Reject resonance if either daughter belongs to the event trigger population"}; - Configurable requireSelectedTriggerForInvariantMass{"requireSelectedTriggerForInvariantMass", true, "Require at least one selected trigger track before filling resonance invariant-mass spectra"}; + Configurable c1111fillDauQAOnce{"c1111fillDauQAOnce", false, "Fill each resonance daughter in QA only once per event"}; + Configurable c1112rejectResoWithAnyTriggerDaughter{"c1112rejectResoWithAnyTriggerDaughter", false, "Reject resonance if either daughter belongs to the event trigger population"}; + Configurable c1113requireSelectedTriggerForInvariantMass{"c1113requireSelectedTriggerForInvariantMass", true, "Require at least one selected trigger track before filling resonance invariant-mass spectra"}; struct : ConfigurableGroup { - Configurable phi1020PeakLow{"phi1020PeakLow", 1.013f, "Phi(1020) peak lower mass"}; - Configurable phi1020PeakUp{"phi1020PeakUp", 1.026f, "Phi(1020) peak upper mass"}; - Configurable phi1020LSBLow{"phi1020LSBLow", 0.995f, "Phi(1020) LSB lower mass"}; - Configurable phi1020LSBUp{"phi1020LSBUp", 1.005f, "Phi(1020) LSB upper mass"}; - Configurable phi1020RSBLow{"phi1020RSBLow", 1.040f, "Phi(1020) RSB lower mass"}; - Configurable phi1020RSBUp{"phi1020RSBUp", 1.060f, "Phi(1020) RSB upper mass"}; + Configurable c1114phi1020PeakLow{"c1114phi1020PeakLow", 1.013f, "Phi(1020) peak lower mass"}; + Configurable c1115phi1020PeakUp{"c1115phi1020PeakUp", 1.026f, "Phi(1020) peak upper mass"}; + Configurable c1116phi1020LSBLow{"c1116phi1020LSBLow", 0.995f, "Phi(1020) LSB lower mass"}; + Configurable c1117phi1020LSBUp{"c1117phi1020LSBUp", 1.005f, "Phi(1020) LSB upper mass"}; + Configurable c1118phi1020RSBLow{"c1118phi1020RSBLow", 1.040f, "Phi(1020) RSB lower mass"}; + Configurable c1119phi1020RSBUp{"c1119phi1020RSBUp", 1.060f, "Phi(1020) RSB upper mass"}; } cfgPhi1020CorrMass; struct : ConfigurableGroup { - Configurable kStar892PeakLow{"kStar892PeakLow", 0.846f, "K*(892)0 correlation peak lower mass"}; - Configurable kStar892PeakUp{"kStar892PeakUp", 0.946f, "K*(892)0 correlation peak upper mass"}; - Configurable kStar892LSBLow{"kStar892LSBLow", 0.700f, "K*(892)0 correlation LSB lower mass"}; - Configurable kStar892LSBUp{"kStar892LSBUp", 0.780f, "K*(892)0 correlation LSB upper mass"}; - Configurable kStar892RSBLow{"kStar892RSBLow", 1.010f, "K*(892)0 correlation RSB lower mass"}; - Configurable kStar892RSBUp{"kStar892RSBUp", 1.090f, "K*(892)0 correlation RSB upper mass"}; + Configurable c1120kStar892PeakLow{"c1120kStar892PeakLow", 0.846f, "K*(892)0 correlation peak lower mass"}; + Configurable c1121kStar892PeakUp{"c1121kStar892PeakUp", 0.946f, "K*(892)0 correlation peak upper mass"}; + Configurable c1122kStar892LSBLow{"c1122kStar892LSBLow", 0.700f, "K*(892)0 correlation LSB lower mass"}; + Configurable c1123kStar892LSBUp{"c1123kStar892LSBUp", 0.780f, "K*(892)0 correlation LSB upper mass"}; + Configurable c1124kStar892RSBLow{"c1124kStar892RSBLow", 1.010f, "K*(892)0 correlation RSB lower mass"}; + Configurable c1125kStar892RSBUp{"c1125kStar892RSBUp", 1.090f, "K*(892)0 correlation RSB upper mass"}; } cfgKStar892CorrMass; struct : ConfigurableGroup { - Configurable lambda1520PeakLow{"lambda1520PeakLow", 1.500f, "Lambda(1520) correlation peak lower mass"}; - Configurable lambda1520PeakUp{"lambda1520PeakUp", 1.540f, "Lambda(1520) correlation peak upper mass"}; - Configurable lambda1520LSBLow{"lambda1520LSBLow", 1.440f, "Lambda(1520) correlation LSB lower mass"}; - Configurable lambda1520LSBUp{"lambda1520LSBUp", 1.480f, "Lambda(1520) correlation LSB upper mass"}; - Configurable lambda1520RSBLow{"lambda1520RSBLow", 1.560f, "Lambda(1520) correlation RSB lower mass"}; - Configurable lambda1520RSBUp{"lambda1520RSBUp", 1.600f, "Lambda(1520) correlation RSB upper mass"}; + Configurable c1126lambda1520PeakLow{"c1126lambda1520PeakLow", 1.500f, "Lambda(1520) correlation peak lower mass"}; + Configurable c1127lambda1520PeakUp{"c1127lambda1520PeakUp", 1.540f, "Lambda(1520) correlation peak upper mass"}; + Configurable c1128lambda1520LSBLow{"c1128lambda1520LSBLow", 1.440f, "Lambda(1520) correlation LSB lower mass"}; + Configurable c1129lambda1520LSBUp{"c1129lambda1520LSBUp", 1.480f, "Lambda(1520) correlation LSB upper mass"}; + Configurable c1130lambda1520RSBLow{"c1130lambda1520RSBLow", 1.560f, "Lambda(1520) correlation RSB lower mass"}; + Configurable c1131lambda1520RSBUp{"c1131lambda1520RSBUp", 1.600f, "Lambda(1520) correlation RSB upper mass"}; } cfgLambda1520CorrMass; struct : ConfigurableGroup { - Configurable pairMask{"pairMask", 0ULL, "Correlation mask to store; 0 = any non-zero correlation"}; - Configurable mixingBin{"mixingBin", -1, "Mixing bin to store; -1 = all valid mixing bins"}; - Configurable requireAllPairBits{"requireAllPairBits", false, "Require all requested pair-mask bits instead of any requested bit"}; - Configurable resetGlobalCountersPerDF{"resetGlobalCountersPerDF", false, "Reset derived-data global counters at the beginning of every dataframe"}; + Configurable c1132pairMask{"c1132pairMask", 0ULL, "Correlation mask to store; 0 = any non-zero correlation"}; + Configurable c1133mixingBin{"c1133mixingBin", -1, "Mixing bin to store; -1 = all valid mixing bins"}; + Configurable c1134requireAllPairBits{"c1134requireAllPairBits", false, "Require all requested pair-mask bits instead of any requested bit"}; + Configurable c1135resetGlobalCountersPerDF{"c1135resetGlobalCountersPerDF", false, "Reset derived-data global counters at the beginning of every dataframe"}; } cfgDerivedData; struct : ConfigurableGroup { - Configurable nEvtMixing{"nEvtMixing", 5, "Number of events to mix"}; - Configurable mixingEstimator{"mixingEstimator", kMixCentFT0C, "Mixing estimator: 0=FT0C, 1=FT0M, 2=FT0A, 3=FV0A"}; - ConfigurableAxis axisVtxMixing{"axisVtxMixing", {VARIABLE_WIDTH, -10.0, -8.0, -6.0, -4.0, -2.0, 0.0, 2.0, 4.0, 6.0, 8.0, 10.0}, "Mixing bins - z vertex"}; - ConfigurableAxis axisCentMixing{"axisCentMixing", {VARIABLE_WIDTH, -1.0, 20.0, 50.0, 80.0, 101.0}, "Mixing bins - centrality"}; - ConfigurableAxis axisMixingOccupancy{"axisMixingOccupancy", {101, -0.5, 100.5}, "Number of collisions in mixing pool"}; + Configurable c1136nEvtMixing{"c1136nEvtMixing", 5, "Number of events to mix"}; + Configurable c1137mixingEstimator{"c1137mixingEstimator", kMixCentFT0C, "Mixing estimator: 0=FT0C, 1=FT0M, 2=FT0A, 3=FV0A"}; + ConfigurableAxis c1138axisVtxMixing{"c1138axisVtxMixing", {VARIABLE_WIDTH, -10.0, -8.0, -6.0, -4.0, -2.0, 0.0, 2.0, 4.0, 6.0, 8.0, 10.0}, "Mixing bins - z vertex"}; + ConfigurableAxis c1139axisCentMixing{"c1139axisCentMixing", {VARIABLE_WIDTH, -1.0, 20.0, 50.0, 80.0, 101.0}, "Mixing bins - centrality"}; + ConfigurableAxis c1140axisMixingOccupancy{"c1140axisMixingOccupancy", {101, -0.5, 100.5}, "Number of collisions in mixing pool"}; } cfgMixing; using BinningTypeVtxZFT0C = ColumnBinningPolicy; @@ -1730,17 +1730,17 @@ struct HParticleCorrelationSameEvent { using BinningTypeVtxZFT0A = ColumnBinningPolicy; using BinningTypeVtxZFV0A = ColumnBinningPolicy; - BinningTypeVtxZFT0C colBinningFT0C{{cfgMixing.axisVtxMixing, cfgMixing.axisCentMixing}, true}; - BinningTypeVtxZFT0M colBinningFT0M{{cfgMixing.axisVtxMixing, cfgMixing.axisCentMixing}, true}; - BinningTypeVtxZFT0A colBinningFT0A{{cfgMixing.axisVtxMixing, cfgMixing.axisCentMixing}, true}; - BinningTypeVtxZFV0A colBinningFV0A{{cfgMixing.axisVtxMixing, cfgMixing.axisCentMixing}, true}; + BinningTypeVtxZFT0C colBinningFT0C{{cfgMixing.c1138axisVtxMixing, cfgMixing.c1139axisCentMixing}, true}; + BinningTypeVtxZFT0M colBinningFT0M{{cfgMixing.c1138axisVtxMixing, cfgMixing.c1139axisCentMixing}, true}; + BinningTypeVtxZFT0A colBinningFT0A{{cfgMixing.c1138axisVtxMixing, cfgMixing.c1139axisCentMixing}, true}; + BinningTypeVtxZFV0A colBinningFV0A{{cfgMixing.c1138axisVtxMixing, cfgMixing.c1139axisCentMixing}, true}; int nMixBins = 0; template int getMixingBin(const C& collision) { - switch (cfgMixing.mixingEstimator) { + switch (cfgMixing.c1137mixingEstimator) { case kMixCentFT0C: return colBinningFT0C.getBin({collision.posZ(), collision.centFT0C()}); case kMixCentFT0M: @@ -1757,7 +1757,7 @@ struct HParticleCorrelationSameEvent { template float getMixingEstimatorValue(const C& collision) { - switch (cfgMixing.mixingEstimator) { + switch (cfgMixing.c1137mixingEstimator) { case kMixCentFT0C: return collision.centFT0C(); case kMixCentFT0M: @@ -1772,14 +1772,14 @@ struct HParticleCorrelationSameEvent { } struct : ConfigurableGroup { - Configurable> pidConfigSetting{"pidConfigSetting", {DefaultPIDcheckValues[0].data(), kNPid, kNCutSettings, {"Pi", "Ka", "Pr", "El", "Mu", "De"}, {"ThrPforTOF", "IdCutTypeLowP", "NSigmaTPCLowP", "NSigmaTOFLowP", "NSigmaRadLowP", "IdCutTypeHighP", "NSigmaTPCHighP", "NSigmaTOFHighP", "NSigmaRadHighP", "doVetoOthers", "doRelativeTPCCheck", "doRelativeTOFcheck", "doRelativeTPCTOFcheck"}}, "Cut values for particle identification"}; - Configurable> pidVetoSetting{"pidVetoSetting", {DefaultPidVetoValues[0].data(), kNPid, kNVetoSettings, {"Pi", "Ka", "Pr", "El", "Mu", "De"}, {"doVetoTPC", "doVetoTOF", "vetoTPC", "vetoTOF"}}, "Veto cuts for particle identification"}; - Configurable cfgId07CheckTofBeta{"cfgId07CheckTofBeta", false, "Require beta > 0 for reliable TOF"}; + Configurable> c1141pidConfigSetting{"c1141pidConfigSetting", {DefaultPIDcheckValues[0].data(), kNPid, kNCutSettings, {"Pi", "Ka", "Pr", "El", "Mu", "De"}, {"ThrPforTOF", "IdCutTypeLowP", "NSigmaTPCLowP", "NSigmaTOFLowP", "NSigmaRadLowP", "IdCutTypeHighP", "NSigmaTPCHighP", "NSigmaTOFHighP", "NSigmaRadHighP", "doVetoOthers", "doRelativeTPCCheck", "doRelativeTOFcheck", "doRelativeTPCTOFcheck"}}, "Cut values for particle identification"}; + Configurable> c1142pidVetoSetting{"c1142pidVetoSetting", {DefaultPidVetoValues[0].data(), kNPid, kNVetoSettings, {"Pi", "Ka", "Pr", "El", "Mu", "De"}, {"doVetoTPC", "doVetoTOF", "vetoTPC", "vetoTOF"}}, "Veto cuts for particle identification"}; + Configurable c1143cfgId07CheckTofBeta{"c1143cfgId07CheckTofBeta", false, "Require beta > 0 for reliable TOF"}; } cfgIdCut; void init(InitContext const&) { - if (cfgDebug.printDebugMessages) { + if (cfgDebug.c1001printDebugMessages) { LOGF(info, "Starting init"); } // Axes @@ -1815,22 +1815,22 @@ struct HParticleCorrelationSameEvent { const AxisSpec axisTOFNSigma = {200, -10.0f, 10.0f, "n#sigma_{TOF}"}; const AxisSpec axisIdMethod = {2, -0.5f, 1.5f, "ID method (0=TPC, 1=TPC+TOF)"}; - AxisSpec axisDeltaPhiSpec{cfgAxis.axisDeltaPhi, "#Delta#varphi"}; - AxisSpec axisDeltaEtaSpec{cfgAxis.axisDeltaEta, "#Delta#eta"}; + AxisSpec axisDeltaPhiSpec{cfgAxis.c1105axisDeltaPhi, "#Delta#varphi"}; + AxisSpec axisDeltaEtaSpec{cfgAxis.c1106axisDeltaEta, "#Delta#eta"}; - AxisSpec axisCorrSparseTriggerPt{cfgAxis.axisCorrSparseTriggerPt, "#it{p}_{T}^{trig} (GeV/#it{c})"}; - AxisSpec axisCorrSparseAssocPt{cfgAxis.axisCorrSparseAssocPt, "#it{p}_{T}^{assoc} (GeV/#it{c})"}; - AxisSpec axisCorrSparseDeltaPhi{cfgAxis.axisCorrSparseDeltaPhi, "#Delta#varphi"}; - AxisSpec axisCorrSparseDeltaEta{cfgAxis.axisCorrSparseDeltaEta, "#Delta#eta"}; + AxisSpec axisCorrSparseTriggerPt{cfgAxis.c1107axisCorrSparseTriggerPt, "#it{p}_{T}^{trig} (GeV/#it{c})"}; + AxisSpec axisCorrSparseAssocPt{cfgAxis.c1108axisCorrSparseAssocPt, "#it{p}_{T}^{assoc} (GeV/#it{c})"}; + AxisSpec axisCorrSparseDeltaPhi{cfgAxis.c1109axisCorrSparseDeltaPhi, "#Delta#varphi"}; + AxisSpec axisCorrSparseDeltaEta{cfgAxis.c1110axisCorrSparseDeltaEta, "#Delta#eta"}; const AxisSpec axisPhi1020Mass = {300, 0.98f, 1.08f, "m_{K^{+}K^{-}} (GeV/#it{c}^{2})"}; const AxisSpec axisKStar892Mass = {300, 0.65f, 1.15f, "m_{K#pi} (GeV/#it{c}^{2})"}; const AxisSpec axisLambda1520Mass = {300, 1.40f, 1.65f, "m_{pK} (GeV/#it{c}^{2})"}; const AxisSpec axisResoMassCent = {102, -1.0f, 101.0f, "Centrality (%)"}; - AxisSpec axisVtxMixSpec{cfgMixing.axisVtxMixing, "z_{vtx} (cm)"}; - AxisSpec axisCentMixSpec{cfgMixing.axisCentMixing, "Centrality (%)"}; - AxisSpec axisPoolOccupancy{cfgMixing.axisMixingOccupancy, "N eligible collisions"}; + AxisSpec axisVtxMixSpec{cfgMixing.c1138axisVtxMixing, "z_{vtx} (cm)"}; + AxisSpec axisCentMixSpec{cfgMixing.c1139axisCentMixing, "Centrality (%)"}; + AxisSpec axisPoolOccupancy{cfgMixing.c1140axisMixingOccupancy, "N eligible collisions"}; nMixBins = axisVtxMixSpec.getNbins() * axisCentMixSpec.getNbins(); const AxisSpec axisMixBin{nMixBins, -0.5, static_cast(nMixBins) - 0.5, "Mixing bin"}; const AxisSpec axisCorrChannel{NCorrCountChannels, -0.5, static_cast(NCorrCountChannels) - 0.5, "Correlation channel"}; @@ -2123,7 +2123,7 @@ struct HParticleCorrelationSameEvent { setCorrChannelLabels(mixingQA.get(HIST("Mixing/PerDF/ReadyPoolMap"))->GetYaxis()); setCorrChannelLabels(mixingQA.get(HIST("Mixing/PerDF/NReadyMixBins"))->GetXaxis()); - if (cfgDebug.printDebugMessages) { + if (cfgDebug.c1001printDebugMessages) { LOGF(info, "Finishing init"); } } // Init function is over. @@ -2141,20 +2141,20 @@ struct HParticleCorrelationSameEvent { { // Static is only run once, ever. static const std::array doVetoTPC = { - getCfg(cfgIdCut.pidVetoSetting, kPi, kDoVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kKa, kDoVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kPr, kDoVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kEl, kDoVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kMu, kDoVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kDe, kDoVetoTPC)}; + getCfg(cfgIdCut.c1142pidVetoSetting, kPi, kDoVetoTPC), + getCfg(cfgIdCut.c1142pidVetoSetting, kKa, kDoVetoTPC), + getCfg(cfgIdCut.c1142pidVetoSetting, kPr, kDoVetoTPC), + getCfg(cfgIdCut.c1142pidVetoSetting, kEl, kDoVetoTPC), + getCfg(cfgIdCut.c1142pidVetoSetting, kMu, kDoVetoTPC), + getCfg(cfgIdCut.c1142pidVetoSetting, kDe, kDoVetoTPC)}; static const std::array vetoTPC = { - getCfg(cfgIdCut.pidVetoSetting, kPi, kVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kKa, kVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kPr, kVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kEl, kVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kMu, kVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kDe, kVetoTPC)}; + getCfg(cfgIdCut.c1142pidVetoSetting, kPi, kVetoTPC), + getCfg(cfgIdCut.c1142pidVetoSetting, kKa, kVetoTPC), + getCfg(cfgIdCut.c1142pidVetoSetting, kPr, kVetoTPC), + getCfg(cfgIdCut.c1142pidVetoSetting, kEl, kVetoTPC), + getCfg(cfgIdCut.c1142pidVetoSetting, kMu, kVetoTPC), + getCfg(cfgIdCut.c1142pidVetoSetting, kDe, kVetoTPC)}; return applyVetoOthersTPC(track, doVetoTPC, vetoTPC); } @@ -2164,20 +2164,20 @@ struct HParticleCorrelationSameEvent { { // Only computed once static const std::array doVetoTOF = { - getCfg(cfgIdCut.pidVetoSetting, kPi, kDoVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kKa, kDoVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kPr, kDoVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kEl, kDoVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kMu, kDoVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kDe, kDoVetoTOF)}; + getCfg(cfgIdCut.c1142pidVetoSetting, kPi, kDoVetoTOF), + getCfg(cfgIdCut.c1142pidVetoSetting, kKa, kDoVetoTOF), + getCfg(cfgIdCut.c1142pidVetoSetting, kPr, kDoVetoTOF), + getCfg(cfgIdCut.c1142pidVetoSetting, kEl, kDoVetoTOF), + getCfg(cfgIdCut.c1142pidVetoSetting, kMu, kDoVetoTOF), + getCfg(cfgIdCut.c1142pidVetoSetting, kDe, kDoVetoTOF)}; static const std::array vetoTOF = { - getCfg(cfgIdCut.pidVetoSetting, kPi, kVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kKa, kVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kPr, kVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kEl, kVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kMu, kVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kDe, kVetoTOF)}; + getCfg(cfgIdCut.c1142pidVetoSetting, kPi, kVetoTOF), + getCfg(cfgIdCut.c1142pidVetoSetting, kKa, kVetoTOF), + getCfg(cfgIdCut.c1142pidVetoSetting, kPr, kVetoTOF), + getCfg(cfgIdCut.c1142pidVetoSetting, kEl, kVetoTOF), + getCfg(cfgIdCut.c1142pidVetoSetting, kMu, kVetoTOF), + getCfg(cfgIdCut.c1142pidVetoSetting, kDe, kVetoTOF)}; return applyVetoOthersTOF(track, doVetoTOF, vetoTOF); } @@ -2194,7 +2194,7 @@ struct HParticleCorrelationSameEvent { inline bool checkReliableTOF(const T& track) { // which check makes the information of TOF relaiable? should track.beta() be checked? e.g.: - if (cfgIdCut.cfgId07CheckTofBeta) { + if (cfgIdCut.c1143cfgId07CheckTofBeta) { return (track.hasTOF() && track.beta() > 0.0f); } return track.hasTOF(); @@ -2219,7 +2219,7 @@ struct HParticleCorrelationSameEvent { nSigmaIdDistSq = 1000000; } - static const bool doVetoOthers = getCfg(cfgIdCut.pidConfigSetting, pidMode, kDoVetoOthers); + static const bool doVetoOthers = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kDoVetoOthers); if (doVetoOthers) { if (!vetoIdOthersTPC(track)) { // If vetoIdOthers = true; it passed all veto checks @@ -2228,7 +2228,7 @@ struct HParticleCorrelationSameEvent { } } - static const bool doRelativeTPCcheck = getCfg(cfgIdCut.pidConfigSetting, pidMode, kDoRelativeTPCcheck); + static const bool doRelativeTPCcheck = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kDoRelativeTPCcheck); if (doRelativeTPCcheck) { if (!relativeIdOthersTPC(track)) { // If relativeIdOthersTPC = true; particle has stronger nSigma compared to others @@ -2272,7 +2272,7 @@ struct HParticleCorrelationSameEvent { } else { nSigmaIdDistSq = 1000000; } - static const bool doVetoOthers = getCfg(cfgIdCut.pidConfigSetting, pidMode, kDoVetoOthers); + static const bool doVetoOthers = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kDoVetoOthers); if (doVetoOthers) { if (!vetoIdOthersTPCTOF(track)) { // If vetoIdOthers = true; it passed all veto checks @@ -2281,7 +2281,7 @@ struct HParticleCorrelationSameEvent { } } - static const bool doRelativeTOFcheck = getCfg(cfgIdCut.pidConfigSetting, pidMode, kDoRelativeTOFcheck); + static const bool doRelativeTOFcheck = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kDoRelativeTOFcheck); if (doRelativeTOFcheck) { if (!relativeIdOthersTOF(track)) { // If relativeIdOthersTOF = true; particle has stronger nSigma compared to others @@ -2290,7 +2290,7 @@ struct HParticleCorrelationSameEvent { } } - static const bool doRelativeTPCTOFcheck = getCfg(cfgIdCut.pidConfigSetting, pidMode, kDoRelativeTPCTOFcheck); + static const bool doRelativeTPCTOFcheck = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kDoRelativeTPCTOFcheck); if (doRelativeTPCTOFcheck) { if (!relativeIdOthersTPCTOF(track)) { // If relativeIdOthersTPCTOF = true; particle has stronger nSigma compared to others @@ -2315,15 +2315,15 @@ struct HParticleCorrelationSameEvent { bool selPdependent(const T& track, int& IdMethod, float& nSigmaIdDistSq) { // Static cache inside function - initialized once on first call - static const auto thrPforTOF = getCfg(cfgIdCut.pidConfigSetting, pidMode, kThrPforTOF); - static const auto idCutTypeLowP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kIdCutTypeLowP); - static const auto nSigmaTPCLowP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaTPCLowP); - static const auto nSigmaTOFLowP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaTOFLowP); - static const auto nSigmaRadLowP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaRadLowP); - static const auto idCutTypeHighP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kIdCutTypeHighP); - static const auto nSigmaTPCHighP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaTPCHighP); - static const auto nSigmaTOFHighP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaTOFHighP); - static const auto nSigmaRadHighP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaRadHighP); + static const auto thrPforTOF = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kThrPforTOF); + static const auto idCutTypeLowP = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kIdCutTypeLowP); + static const auto nSigmaTPCLowP = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kNSigmaTPCLowP); + static const auto nSigmaTOFLowP = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kNSigmaTOFLowP); + static const auto nSigmaRadLowP = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kNSigmaRadLowP); + static const auto idCutTypeHighP = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kIdCutTypeHighP); + static const auto nSigmaTPCHighP = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kNSigmaTPCHighP); + static const auto nSigmaTOFHighP = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kNSigmaTOFHighP); + static const auto nSigmaRadHighP = getCfg(cfgIdCut.c1141pidConfigSetting, pidMode, kNSigmaRadHighP); if (track.p() < thrPforTOF) { if (checkReliableTOF(track)) { @@ -2439,83 +2439,83 @@ struct HParticleCorrelationSameEvent { CollisionRejectionTag selCollision(T const& collision) { // Basic event selection - if (cfgEvent.requireSel8 && !collision.sel8()) { + if (cfgEvent.c1003requireSel8 && !collision.sel8()) { return kCollRejectSel8; } - if (std::abs(collision.posZ()) >= cfgEvent.cutZvertex) { + if (std::abs(collision.posZ()) >= cfgEvent.c1002cutZvertex) { return kCollRejectVertexZ; } - if (cfgEvent.requireTriggerTVX && !collision.selection_bit(o2::aod::evsel::kIsTriggerTVX)) { + if (cfgEvent.c1004requireTriggerTVX && !collision.selection_bit(o2::aod::evsel::kIsTriggerTVX)) { return kCollRejectTriggerTVX; } // TF / ITS-ROF borders - if (cfgEvent.requireNoITSROFrameBorder && !collision.selection_bit(o2::aod::evsel::kNoITSROFrameBorder)) { + if (cfgEvent.c1007requireNoITSROFrameBorder && !collision.selection_bit(o2::aod::evsel::kNoITSROFrameBorder)) { return kCollRejectITSROFrameBorder; } - if (cfgEvent.requireNoTimeFrameBorder && !collision.selection_bit(o2::aod::evsel::kNoTimeFrameBorder)) { + if (cfgEvent.c1008requireNoTimeFrameBorder && !collision.selection_bit(o2::aod::evsel::kNoTimeFrameBorder)) { return kCollRejectTimeFrameBorder; } // Vertex quality - if (cfgEvent.requireVertexITSTPC && !collision.selection_bit(o2::aod::evsel::kIsVertexITSTPC)) { + if (cfgEvent.c1009requireVertexITSTPC && !collision.selection_bit(o2::aod::evsel::kIsVertexITSTPC)) { return kCollRejectVertexITSTPC; } - if (cfgEvent.requireGoodZvtxFT0vsPV && !collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) { + if (cfgEvent.c1010requireGoodZvtxFT0vsPV && !collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) { return kCollRejectGoodZvtxFT0vsPV; } - if (cfgEvent.requireVertexTOFmatched && !collision.selection_bit(o2::aod::evsel::kIsVertexTOFmatched)) { + if (cfgEvent.c1011requireVertexTOFmatched && !collision.selection_bit(o2::aod::evsel::kIsVertexTOFmatched)) { return kCollRejectVertexTOFmatched; } - if (cfgEvent.requireVertexTRDmatched && !collision.selection_bit(o2::aod::evsel::kIsVertexTRDmatched)) { + if (cfgEvent.c1012requireVertexTRDmatched && !collision.selection_bit(o2::aod::evsel::kIsVertexTRDmatched)) { return kCollRejectVertexTRDmatched; } - if (cfgEvent.requireGoodITSLayersAll && !collision.selection_bit(o2::aod::evsel::kIsGoodITSLayersAll)) { + if (cfgEvent.c1013requireGoodITSLayersAll && !collision.selection_bit(o2::aod::evsel::kIsGoodITSLayersAll)) { return kCollRejectGoodITSLayersAll; } // Pileup / neighbouring-collision rejection - if (cfgEvent.requireNoSameBunchPileup && !collision.selection_bit(o2::aod::evsel::kNoSameBunchPileup)) { + if (cfgEvent.c1014requireNoSameBunchPileup && !collision.selection_bit(o2::aod::evsel::kNoSameBunchPileup)) { return kCollRejectSameBunchPileup; } - if (cfgEvent.requireNoCollInTimeRangeStandard && !collision.selection_bit(o2::aod::evsel::kNoCollInTimeRangeStandard)) { + if (cfgEvent.c1015requireNoCollInTimeRangeStandard && !collision.selection_bit(o2::aod::evsel::kNoCollInTimeRangeStandard)) { return kCollRejectCollInTimeRangeStandard; } - if (cfgEvent.requireNoCollInTimeRangeStrict && !collision.selection_bit(o2::aod::evsel::kNoCollInTimeRangeStrict)) { + if (cfgEvent.c1016requireNoCollInTimeRangeStrict && !collision.selection_bit(o2::aod::evsel::kNoCollInTimeRangeStrict)) { return kCollRejectCollInTimeRangeStrict; } - if (cfgEvent.requireNoCollInTimeRangeNarrow && !collision.selection_bit(o2::aod::evsel::kNoCollInTimeRangeNarrow)) { + if (cfgEvent.c1017requireNoCollInTimeRangeNarrow && !collision.selection_bit(o2::aod::evsel::kNoCollInTimeRangeNarrow)) { return kCollRejectCollInTimeRangeNarrow; } - if (cfgEvent.requireNoCollInRofStandard && !collision.selection_bit(o2::aod::evsel::kNoCollInRofStandard)) { + if (cfgEvent.c1018requireNoCollInRofStandard && !collision.selection_bit(o2::aod::evsel::kNoCollInRofStandard)) { return kCollRejectCollInRofStandard; } - if (cfgEvent.requireNoCollInRofStrict && !collision.selection_bit(o2::aod::evsel::kNoCollInRofStrict)) { + if (cfgEvent.c1019requireNoCollInRofStrict && !collision.selection_bit(o2::aod::evsel::kNoCollInRofStrict)) { return kCollRejectCollInRofStrict; } - if (cfgEvent.requireNoHighMultCollInPrevRof && !collision.selection_bit(o2::aod::evsel::kNoHighMultCollInPrevRof)) { + if (cfgEvent.c1020requireNoHighMultCollInPrevRof && !collision.selection_bit(o2::aod::evsel::kNoHighMultCollInPrevRof)) { return kCollRejectHighMultCollInPrevRof; } // INEL classes - if (cfgEvent.requireINELgt0 && !collision.isInelGt0()) { + if (cfgEvent.c1021requireINELgt0 && !collision.isInelGt0()) { return kCollRejectINELgt0; } - if (cfgEvent.requireINELgt1 && !collision.isInelGt1()) { + if (cfgEvent.c1022requireINELgt1 && !collision.isInelGt1()) { return kCollRejectINELgt1; } @@ -2526,83 +2526,83 @@ struct HParticleCorrelationSameEvent { TrackRejectionTag selectionTrack(T const& track) { // Standard O2 flags - if (cfgTrackCuts.requireGlobalTrack && !track.isGlobalTrack()) { + if (cfgTrackCuts.c1046requireGlobalTrack && !track.isGlobalTrack()) { return kTrackRejectGlobalTrack; } - if (cfgTrackCuts.requireGlobalTrackWoDCA && !track.isGlobalTrackWoDCA()) { + if (cfgTrackCuts.c1047requireGlobalTrackWoDCA && !track.isGlobalTrackWoDCA()) { return kTrackRejectGlobalTrackWoDCA; } - if (cfgTrackCuts.requirePVContributor && !track.isPVContributor()) { + if (cfgTrackCuts.c1048requirePVContributor && !track.isPVContributor()) { return kTrackRejectPVContributor; } // Detector presence - if (cfgTrackCuts.requireITS && !track.hasITS()) { + if (cfgTrackCuts.c1049requireITS && !track.hasITS()) { return kTrackRejectITS; } - if (cfgTrackCuts.requireTPC && !track.hasTPC()) { + if (cfgTrackCuts.c1050requireTPC && !track.hasTPC()) { return kTrackRejectTPC; } - if (cfgTrackCuts.requireTOF && !track.hasTOF()) { + if (cfgTrackCuts.c1051requireTOF && !track.hasTOF()) { return kTrackRejectTOF; } - if (cfgTrackCuts.requireTRD && !track.hasTRD()) { + if (cfgTrackCuts.c1052requireTRD && !track.hasTRD()) { return kTrackRejectTRD; } // TPC quality - if (track.tpcNClsFound() < cfgTrackCuts.tpcNClsFoundMin) { + if (track.tpcNClsFound() < cfgTrackCuts.c1053tpcNClsFoundMin) { return kTrackRejectTPCNClsFound; } - if (track.tpcNClsCrossedRows() < cfgTrackCuts.tpcNClsCrossedRowsMin) { + if (track.tpcNClsCrossedRows() < cfgTrackCuts.c1054tpcNClsCrossedRowsMin) { return kTrackRejectTPCCrossedRows; } - if (track.tpcCrossedRowsOverFindableCls() < cfgTrackCuts.tpcCrossedRowsOverFindableMin) { + if (track.tpcCrossedRowsOverFindableCls() < cfgTrackCuts.c1055tpcCrossedRowsOverFindableMin) { return kTrackRejectTPCCrossedRowsOverFindable; } - if (track.tpcFoundOverFindableCls() < cfgTrackCuts.tpcFoundOverFindableMin) { + if (track.tpcFoundOverFindableCls() < cfgTrackCuts.c1056tpcFoundOverFindableMin) { return kTrackRejectTPCFoundOverFindable; } - if (track.tpcFractionSharedCls() > cfgTrackCuts.tpcFractionSharedMax) { + if (track.tpcFractionSharedCls() > cfgTrackCuts.c1057tpcFractionSharedMax) { return kTrackRejectTPCFractionShared; } - if (track.tpcChi2NCl() < cfgTrackCuts.tpcChi2NClMin || track.tpcChi2NCl() > cfgTrackCuts.tpcChi2NClMax) { + if (track.tpcChi2NCl() < cfgTrackCuts.c1058tpcChi2NClMin || track.tpcChi2NCl() > cfgTrackCuts.c1059tpcChi2NClMax) { return kTrackRejectTPCChi2; } // ITS quality - if (track.itsNCls() < cfgTrackCuts.itsNClsMin || track.itsNCls() > cfgTrackCuts.itsNClsMax) { + if (track.itsNCls() < cfgTrackCuts.c1060itsNClsMin || track.itsNCls() > cfgTrackCuts.c1061itsNClsMax) { return kTrackRejectITSNCls; } - if (track.itsNClsInnerBarrel() < cfgTrackCuts.itsNClsInnerBarrelMin) { + if (track.itsNClsInnerBarrel() < cfgTrackCuts.c1062itsNClsInnerBarrelMin) { return kTrackRejectITSNClsInnerBarrel; } - if (track.itsChi2NCl() < cfgTrackCuts.itsChi2NClMin || track.itsChi2NCl() > cfgTrackCuts.itsChi2NClMax) { + if (track.itsChi2NCl() < cfgTrackCuts.c1063itsChi2NClMin || track.itsChi2NCl() > cfgTrackCuts.c1064itsChi2NClMax) { return kTrackRejectITSChi2; } // pT-dependent DCA - if (cfgTrackCuts.usePtDependentDCAxy) { - const float dcaXYMax = cfgTrackCuts.dcaXYPtA + cfgTrackCuts.dcaXYPtB / std::pow(track.pt(), cfgTrackCuts.dcaXYPtC); + if (cfgTrackCuts.c1069usePtDependentDCAxy) { + const float dcaXYMax = cfgTrackCuts.c1070dcaXYPtA + cfgTrackCuts.c1071dcaXYPtB / std::pow(track.pt(), cfgTrackCuts.c1072dcaXYPtC); if (std::abs(track.dcaXY()) > dcaXYMax) { return kTrackRejectPtDependentDCAxy; } } - if (cfgTrackCuts.usePtDependentDCAz) { - const float dcaZMax = cfgTrackCuts.dcaZPtA; + if (cfgTrackCuts.c1073usePtDependentDCAz) { + const float dcaZMax = cfgTrackCuts.c1074dcaZPtA; if (std::abs(track.dcaZ()) > dcaZMax) { return kTrackRejectPtDependentDCAz; } @@ -2931,19 +2931,19 @@ struct HParticleCorrelationSameEvent { { if constexpr (pairType == kHPhi) { invMass = associate.mPhi1020(); - return getMassRegionTag(invMass, cfgPhi1020CorrMass.phi1020LSBLow, cfgPhi1020CorrMass.phi1020LSBUp, cfgPhi1020CorrMass.phi1020PeakLow, cfgPhi1020CorrMass.phi1020PeakUp, cfgPhi1020CorrMass.phi1020RSBLow, cfgPhi1020CorrMass.phi1020RSBUp); + return getMassRegionTag(invMass, cfgPhi1020CorrMass.c1116phi1020LSBLow, cfgPhi1020CorrMass.c1117phi1020LSBUp, cfgPhi1020CorrMass.c1114phi1020PeakLow, cfgPhi1020CorrMass.c1115phi1020PeakUp, cfgPhi1020CorrMass.c1118phi1020RSBLow, cfgPhi1020CorrMass.c1119phi1020RSBUp); } else if constexpr (pairType == kHKStar) { invMass = associate.mKStar892(); - return getMassRegionTag(invMass, cfgKStar892CorrMass.kStar892LSBLow, cfgKStar892CorrMass.kStar892LSBUp, cfgKStar892CorrMass.kStar892PeakLow, cfgKStar892CorrMass.kStar892PeakUp, cfgKStar892CorrMass.kStar892RSBLow, cfgKStar892CorrMass.kStar892RSBUp); + return getMassRegionTag(invMass, cfgKStar892CorrMass.c1122kStar892LSBLow, cfgKStar892CorrMass.c1123kStar892LSBUp, cfgKStar892CorrMass.c1120kStar892PeakLow, cfgKStar892CorrMass.c1121kStar892PeakUp, cfgKStar892CorrMass.c1124kStar892RSBLow, cfgKStar892CorrMass.c1125kStar892RSBUp); } else if constexpr (pairType == kHKStarBar) { invMass = associate.mKStar892Bar(); - return getMassRegionTag(invMass, cfgKStar892CorrMass.kStar892LSBLow, cfgKStar892CorrMass.kStar892LSBUp, cfgKStar892CorrMass.kStar892PeakLow, cfgKStar892CorrMass.kStar892PeakUp, cfgKStar892CorrMass.kStar892RSBLow, cfgKStar892CorrMass.kStar892RSBUp); + return getMassRegionTag(invMass, cfgKStar892CorrMass.c1122kStar892LSBLow, cfgKStar892CorrMass.c1123kStar892LSBUp, cfgKStar892CorrMass.c1120kStar892PeakLow, cfgKStar892CorrMass.c1121kStar892PeakUp, cfgKStar892CorrMass.c1124kStar892RSBLow, cfgKStar892CorrMass.c1125kStar892RSBUp); } else if constexpr (pairType == kHLambda) { invMass = associate.mLambda1520(); - return getMassRegionTag(invMass, cfgLambda1520CorrMass.lambda1520LSBLow, cfgLambda1520CorrMass.lambda1520LSBUp, cfgLambda1520CorrMass.lambda1520PeakLow, cfgLambda1520CorrMass.lambda1520PeakUp, cfgLambda1520CorrMass.lambda1520RSBLow, cfgLambda1520CorrMass.lambda1520RSBUp); + return getMassRegionTag(invMass, cfgLambda1520CorrMass.c1128lambda1520LSBLow, cfgLambda1520CorrMass.c1129lambda1520LSBUp, cfgLambda1520CorrMass.c1126lambda1520PeakLow, cfgLambda1520CorrMass.c1127lambda1520PeakUp, cfgLambda1520CorrMass.c1130lambda1520RSBLow, cfgLambda1520CorrMass.c1131lambda1520RSBUp); } else if constexpr (pairType == kHLambdaBar) { invMass = associate.mLambda1520Bar(); - return getMassRegionTag(invMass, cfgLambda1520CorrMass.lambda1520LSBLow, cfgLambda1520CorrMass.lambda1520LSBUp, cfgLambda1520CorrMass.lambda1520PeakLow, cfgLambda1520CorrMass.lambda1520PeakUp, cfgLambda1520CorrMass.lambda1520RSBLow, cfgLambda1520CorrMass.lambda1520RSBUp); + return getMassRegionTag(invMass, cfgLambda1520CorrMass.c1128lambda1520LSBLow, cfgLambda1520CorrMass.c1129lambda1520LSBUp, cfgLambda1520CorrMass.c1126lambda1520PeakLow, cfgLambda1520CorrMass.c1127lambda1520PeakUp, cfgLambda1520CorrMass.c1130lambda1520RSBLow, cfgLambda1520CorrMass.c1131lambda1520RSBUp); } invMass = -1.0f; @@ -3033,12 +3033,12 @@ struct HParticleCorrelationSameEvent { const float pz = dau1.pz() + dau2.pz(); const float energy = RecoDecay::e(dau1.px() + dau2.px(), dau1.py() + dau2.py(), pz, mass); const float rapidity = 0.5f * std::log((energy + pz) / (energy - pz)); - if (rapidity < cfgResPartitions.resoRapidityMin || rapidity > cfgResPartitions.resoRapidityMax) { + if (rapidity < cfgResPartitions.c1083resoRapidityMin || rapidity > cfgResPartitions.c1084resoRapidityMax) { return false; } float centrality = -1.0f; - switch (cfgEvent.centralityEstimator) { + switch (cfgEvent.c1028centralityEstimator) { case 0: centrality = collision.centFT0C(); break; @@ -3145,17 +3145,17 @@ struct HParticleCorrelationSameEvent { return false; } - if (cfgDerivedData.mixingBin >= 0 && mixingBin != cfgDerivedData.mixingBin) { + if (cfgDerivedData.c1133mixingBin >= 0 && mixingBin != cfgDerivedData.c1133mixingBin) { return false; } - const uint64_t requestedMask = cfgDerivedData.pairMask; + const uint64_t requestedMask = cfgDerivedData.c1132pairMask; if (requestedMask == 0ULL) { return corrMask != 0ULL; } - if (cfgDerivedData.requireAllPairBits) { + if (cfgDerivedData.c1134requireAllPairBits) { return (corrMask & requestedMask) == requestedMask; } @@ -3234,12 +3234,12 @@ struct HParticleCorrelationSameEvent { float invMass = -1.0f; const uint8_t massRegion = getResonanceMassRegion(associate, invMass); const float rapidity = computeRapidity(associate, invMass); - if (rapidity < cfgResPartitions.resoRapidityMin || rapidity > cfgResPartitions.resoRapidityMax) { + if (rapidity < cfgResPartitions.c1083resoRapidityMin || rapidity > cfgResPartitions.c1084resoRapidityMax) { continue; } // Trigger-resonance daughter overlap -----expensive check ---- - if (rejectResoWithAnyTriggerDaughter) { + if (c1112rejectResoWithAnyTriggerDaughter) { // Strict mode: reject the whole resonance if either daughter belongs to the event trigger population. if (checkTrackInList(posDauTrack, triggerGIList) || checkTrackInList(negDauTrack, triggerGIList)) { continue; @@ -3294,7 +3294,7 @@ struct HParticleCorrelationSameEvent { std::vector posDauGIListRSSB; std::vector negDauGIListRSSB; - if (rejectResoWithAnyTriggerDaughter) { + if (c1112rejectResoWithAnyTriggerDaughter) { for (const auto& trigger : triggers) { if (selectionTrack(trigger) != kTrackAccepted) { continue; @@ -3319,14 +3319,14 @@ struct HParticleCorrelationSameEvent { } // execute Correlation Function is over // Event Filter - Filter eventFilter = (!cfgEvent.requireSel8) || (o2::aod::evsel::sel8 == true); - Filter posZFilter = (nabs(o2::aod::collision::posZ) < cfgEvent.cutZvertex); + Filter eventFilter = (!cfgEvent.c1003requireSel8) || (o2::aod::evsel::sel8 == true); + Filter posZFilter = (nabs(o2::aod::collision::posZ) < cfgEvent.c1002cutZvertex); // Track Filter - Filter ptFilter = (o2::aod::track::pt > cfgTrackCuts.ptMin) && (o2::aod::track::pt < cfgTrackCuts.ptMax); - Filter etaFilter = (nabs(o2::aod::track::eta) < cfgTrackCuts.etaMax); - Filter dcaFilter = ((!cfgTrackCuts.useFixedDCAxy) || (nabs(o2::aod::track::dcaXY) < cfgTrackCuts.dcaXYMax)) && - ((!cfgTrackCuts.useFixedDCAz) || (nabs(o2::aod::track::dcaZ) < cfgTrackCuts.dcaZMax)); + Filter ptFilter = (o2::aod::track::pt > cfgTrackCuts.c1043ptMin) && (o2::aod::track::pt < cfgTrackCuts.c1044ptMax); + Filter etaFilter = (nabs(o2::aod::track::eta) < cfgTrackCuts.c1045etaMax); + Filter dcaFilter = ((!cfgTrackCuts.c1065useFixedDCAxy) || (nabs(o2::aod::track::dcaXY) < cfgTrackCuts.c1066dcaXYMax)) && + ((!cfgTrackCuts.c1067useFixedDCAz) || (nabs(o2::aod::track::dcaZ) < cfgTrackCuts.c1068dcaZMax)); using MyFilteredCollisions = soa::Filtered>; // , // using MyFilteredTracks = soa::Filtered>; using MyFilteredTracks = soa::Filtered>; @@ -3336,27 +3336,27 @@ struct HParticleCorrelationSameEvent { // // definition of partitions SliceCache cache; - Partition triggerTracks = cfgPartitions.triggerPtLow < aod::track::pt && aod::track::pt < cfgPartitions.triggerPtHigh; + Partition triggerTracks = cfgPartitions.c1077triggerPtLow < aod::track::pt && aod::track::pt < cfgPartitions.c1078triggerPtHigh; Partition posTracks = aod::track::signed1Pt > 0.0f; Partition negTracks = aod::track::signed1Pt < 0.0f; - Partition assocTracksLowPt = cfgPartitions.assocPtLowMin < aod::track::pt && aod::track::pt < cfgPartitions.assocPtLowMax; - Partition assocTracksHighPt = cfgPartitions.assocPtHighMin < aod::track::pt && aod::track::pt < cfgPartitions.assocPtHighMax; + Partition assocTracksLowPt = cfgPartitions.c1079assocPtLowMin < aod::track::pt && aod::track::pt < cfgPartitions.c1080assocPtLowMax; + Partition assocTracksHighPt = cfgPartitions.c1081assocPtHighMin < aod::track::pt && aod::track::pt < cfgPartitions.c1082assocPtHighMax; - Partition assocPhiLowPt = (cfgResPartitions.phiPtLowMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.phiPtLowMax) && (aod::resonancecndt::phi1020Tag != static_cast(kMassOutside)); - Partition assocPhiHighPt = (cfgResPartitions.phiPtHighMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.phiPtHighMax) && (aod::resonancecndt::phi1020Tag != static_cast(kMassOutside)); + Partition assocPhiLowPt = (cfgResPartitions.c1085phiPtLowMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.c1086phiPtLowMax) && (aod::resonancecndt::phi1020Tag != static_cast(kMassOutside)); + Partition assocPhiHighPt = (cfgResPartitions.c1087phiPtHighMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.c1088phiPtHighMax) && (aod::resonancecndt::phi1020Tag != static_cast(kMassOutside)); - Partition assocKStarLowPt = (cfgResPartitions.kstarPtLowMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.kstarPtLowMax) && (aod::resonancecndt::kStar892Tag != static_cast(kMassOutside)); - Partition assocKStarHighPt = (cfgResPartitions.kstarPtHighMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.kstarPtHighMax) && (aod::resonancecndt::kStar892Tag != static_cast(kMassOutside)); + Partition assocKStarLowPt = (cfgResPartitions.c1089kstarPtLowMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.c1090kstarPtLowMax) && (aod::resonancecndt::kStar892Tag != static_cast(kMassOutside)); + Partition assocKStarHighPt = (cfgResPartitions.c1091kstarPtHighMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.c1092kstarPtHighMax) && (aod::resonancecndt::kStar892Tag != static_cast(kMassOutside)); - Partition assocKStarBarLowPt = (cfgResPartitions.kstarBarPtLowMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.kstarBarPtLowMax) && (aod::resonancecndt::kStar892BarTag != static_cast(kMassOutside)); - Partition assocKStarBarHighPt = (cfgResPartitions.kstarBarPtHighMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.kstarBarPtHighMax) && (aod::resonancecndt::kStar892BarTag != static_cast(kMassOutside)); + Partition assocKStarBarLowPt = (cfgResPartitions.c1093kstarBarPtLowMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.c1094kstarBarPtLowMax) && (aod::resonancecndt::kStar892BarTag != static_cast(kMassOutside)); + Partition assocKStarBarHighPt = (cfgResPartitions.c1095kstarBarPtHighMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.c1096kstarBarPtHighMax) && (aod::resonancecndt::kStar892BarTag != static_cast(kMassOutside)); - Partition assocLambda1520LowPt = (cfgResPartitions.lambda1520PtLowMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.lambda1520PtLowMax) && (aod::resonancecndt::lambda1520Tag != static_cast(kMassOutside)); - Partition assocLambda1520HighPt = (cfgResPartitions.lambda1520PtHighMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.lambda1520PtHighMax) && (aod::resonancecndt::lambda1520Tag != static_cast(kMassOutside)); + Partition assocLambda1520LowPt = (cfgResPartitions.c1097lambda1520PtLowMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.c1098lambda1520PtLowMax) && (aod::resonancecndt::lambda1520Tag != static_cast(kMassOutside)); + Partition assocLambda1520HighPt = (cfgResPartitions.c1099lambda1520PtHighMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.c1100lambda1520PtHighMax) && (aod::resonancecndt::lambda1520Tag != static_cast(kMassOutside)); - Partition assocLambda1520BarLowPt = (cfgResPartitions.lambda1520BarPtLowMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.lambda1520BarPtLowMax) && (aod::resonancecndt::lambda1520BarTag != static_cast(kMassOutside)); - Partition assocLambda1520BarHighPt = (cfgResPartitions.lambda1520BarPtHighMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.lambda1520BarPtHighMax) && (aod::resonancecndt::lambda1520BarTag != static_cast(kMassOutside)); + Partition assocLambda1520BarLowPt = (cfgResPartitions.c1101lambda1520BarPtLowMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.c1102lambda1520BarPtLowMax) && (aod::resonancecndt::lambda1520BarTag != static_cast(kMassOutside)); + Partition assocLambda1520BarHighPt = (cfgResPartitions.c1103lambda1520BarPtHighMin < aod::resonancecndt::pt) && (aod::resonancecndt::pt < cfgResPartitions.c1104lambda1520BarPtHighMax) && (aod::resonancecndt::lambda1520BarTag != static_cast(kMassOutside)); int dfNumber = 0; int64_t iCollGlobalCount = -1; @@ -3368,13 +3368,13 @@ struct HParticleCorrelationSameEvent { void processNothing(aod::Origins const& origins) { - if (cfgDebug.printDebugMessages) { + if (cfgDebug.c1001printDebugMessages) { LOG(info) << "DEBUG :: Process Nothing :: df_" << dfNumber << " :: origins = " << origins.size(); } // Intentionally empty. // Keeps the task alive when running purely on derived data. } - PROCESS_SWITCH(HParticleCorrelationSameEvent, processNothing, "Dummy process for derived-data analysis", true); + PROCESS_SWITCH(HParticleCorrelation2SameEvent, processNothing, "Dummy process for derived-data analysis", true); void processSameEvent(MyFilteredCollisions const& collisions, MyFilteredTracks const& fullTracks, aod::ResonanceCndts const& resonanceCndts, o2::aod::Origins const& Origins, aod::BCsWithTimestamps const&) { @@ -3384,7 +3384,7 @@ struct HParticleCorrelationSameEvent { // LOG(info)<<"DEBUG :: Origins :: "<(); int currentRunNumber = bc.runNumber(); @@ -3441,7 +3441,7 @@ struct HParticleCorrelationSameEvent { seEventQA.fill(HIST("SE/Events/EventSelection"), static_cast(kEventPassedSelCollision)); const auto tracksPerCollision = fullTracks.sliceBy(tracksPerCollisionPreslice, collision.globalIndex()); - if (tracksPerCollision.size() < cfgEvent.minNFilteredTracks) { + if (tracksPerCollision.size() < cfgEvent.c1005minNFilteredTracks) { continue; } seEventQA.fill(HIST("SE/Events/EventSelection"), static_cast(kEventPassedMinFilteredTracks)); @@ -3463,7 +3463,7 @@ struct HParticleCorrelationSameEvent { nTrack++; } // track loop is over. - if (nTrack < cfgEvent.minNSelectedTracks) { + if (nTrack < cfgEvent.c1006minNSelectedTracks) { continue; } @@ -3508,7 +3508,7 @@ struct HParticleCorrelationSameEvent { // Unlike Sign Signal // LikeSign Signal bool hasSelectedTrigger = false; - if (requireSelectedTriggerForInvariantMass) { + if (c1113requireSelectedTriggerForInvariantMass) { for (const auto& trigger : triggerTracksPerColl) { if (selectionTrack(trigger) == kTrackAccepted) { hasSelectedTrigger = true; @@ -3517,7 +3517,7 @@ struct HParticleCorrelationSameEvent { } } - if (!requireSelectedTriggerForInvariantMass || hasSelectedTrigger) { + if (!c1113requireSelectedTriggerForInvariantMass || hasSelectedTrigger) { auto posTracksPerColl = posTracks->sliceByCached(aod::track::collisionId, collision.globalIndex(), cache); auto negTracksPerColl = negTracks->sliceByCached(aod::track::collisionId, collision.globalIndex(), cache); @@ -3579,7 +3579,7 @@ struct HParticleCorrelationSameEvent { collision.centFT0M(), collision.centFT0A(), collision.centFV0A(), - static_cast(cfgMixing.mixingEstimator), + static_cast(cfgMixing.c1137mixingEstimator), mixingBin, corrPresenceMask); @@ -3709,7 +3709,7 @@ struct HParticleCorrelationSameEvent { mixingQA.fill(HIST("Mixing/PerDF/EligiblePoolOccupancy"), iMixBin, corrChannel, nEligibleCollisions); mixingQA.fill(HIST("Mixing/PerDF/PoolOccupancyDistribution"), corrChannel, nEligibleCollisions); - if (nEligibleCollisions >= static_cast(cfgMixing.nEvtMixing)) { + if (nEligibleCollisions >= static_cast(cfgMixing.c1136nEvtMixing)) { ++nReadyMixBins[corrChannel]; mixingQA.fill(HIST("Mixing/PerDF/ReadyPoolMap"), iMixBin, corrChannel); } @@ -3721,10 +3721,10 @@ struct HParticleCorrelationSameEvent { mixingQA.fill(HIST("Mixing/PerDF/NReadyMixBins"), corrChannel, nReadyMixBins[corrChannel]); } } - PROCESS_SWITCH(HParticleCorrelationSameEvent, processSameEvent, "Process Same event", true); + PROCESS_SWITCH(HParticleCorrelation2SameEvent, processSameEvent, "Process Same event", true); }; -struct HParticleCorrelationMixedEvent { +struct HParticleCorrelation3MixedEvent { HistogramRegistry hhCorrelation{"hhCorrelation", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; HistogramRegistry hIdCorrelation{"hIdCorrelation", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; @@ -3809,101 +3809,101 @@ struct HParticleCorrelationMixedEvent { } struct : ConfigurableGroup { - Configurable printDebugMessages{"printDebugMessages", false, "Print debug messages"}; + Configurable c2001printDebugMessages{"c2001printDebugMessages", false, "Print debug messages"}; } cfgDebug; struct : ConfigurableGroup { - ConfigurableAxis axisDeltaPhi{"axisDeltaPhi", {80, -2.0f, 6.0f}, "#Delta#varphi"}; - ConfigurableAxis axisDeltaEta{"axisDeltaEta", {84, -2.1f, 2.1f}, "#Delta#eta"}; - ConfigurableAxis axisCorrSparseTriggerPt{"axisCorrSparseTriggerPt", {8, 4.0f, 8.0f}, "#it{p}_{T}^{trig} (GeV/#it{c})"}; - ConfigurableAxis axisCorrSparseAssocPt{"axisCorrSparseAssocPt", {8, 0.0f, 4.0f}, "#it{p}_{T}^{assoc} (GeV/#it{c})"}; - ConfigurableAxis axisCorrSparseDeltaPhi{"axisCorrSparseDeltaPhi", {32, -2.0f, 6.0f}, "#Delta#varphi"}; - ConfigurableAxis axisCorrSparseDeltaEta{"axisCorrSparseDeltaEta", {24, -2.1f, 2.1f}, "#Delta#eta"}; + ConfigurableAxis c2002axisDeltaPhi{"c2002axisDeltaPhi", {80, -2.0f, 6.0f}, "#Delta#varphi"}; + ConfigurableAxis c2003axisDeltaEta{"c2003axisDeltaEta", {84, -2.1f, 2.1f}, "#Delta#eta"}; + ConfigurableAxis c2004axisCorrSparseTriggerPt{"c2004axisCorrSparseTriggerPt", {8, 4.0f, 8.0f}, "#it{p}_{T}^{trig} (GeV/#it{c})"}; + ConfigurableAxis c2005axisCorrSparseAssocPt{"c2005axisCorrSparseAssocPt", {8, 0.0f, 4.0f}, "#it{p}_{T}^{assoc} (GeV/#it{c})"}; + ConfigurableAxis c2006axisCorrSparseDeltaPhi{"c2006axisCorrSparseDeltaPhi", {32, -2.0f, 6.0f}, "#Delta#varphi"}; + ConfigurableAxis c2007axisCorrSparseDeltaEta{"c2007axisCorrSparseDeltaEta", {24, -2.1f, 2.1f}, "#Delta#eta"}; } cfgAxis; struct : ConfigurableGroup { - Configurable nEvtMixing{"nEvtMixing", 5, "Number of events to mix"}; - Configurable mixingEstimator{"mixingEstimator", kMixCentFT0C, "Mixing estimator: 0=FT0C, 1=FT0M, 2=FT0A, 3=FV0A"}; - ConfigurableAxis axisVtxMixing{"axisVtxMixing", {VARIABLE_WIDTH, -10.0, -8.0, -6.0, -4.0, -2.0, 0.0, 2.0, 4.0, 6.0, 8.0, 10.0}, "Mixing bins - z vertex"}; - ConfigurableAxis axisCentMixing{"axisCentMixing", {VARIABLE_WIDTH, -1.0, 20.0, 50.0, 80.0, 101.0}, "Mixing bins - centrality"}; + Configurable c2008nEvtMixing{"c2008nEvtMixing", 5, "Number of events to mix"}; + Configurable c2009mixingEstimator{"c2009mixingEstimator", kMixCentFT0C, "Mixing estimator: 0=FT0C, 1=FT0M, 2=FT0A, 3=FV0A"}; + ConfigurableAxis c2010axisVtxMixing{"c2010axisVtxMixing", {VARIABLE_WIDTH, -10.0, -8.0, -6.0, -4.0, -2.0, 0.0, 2.0, 4.0, 6.0, 8.0, 10.0}, "Mixing bins - z vertex"}; + ConfigurableAxis c2011axisCentMixing{"c2011axisCentMixing", {VARIABLE_WIDTH, -1.0, 20.0, 50.0, 80.0, 101.0}, "Mixing bins - centrality"}; } cfgMixing; struct : ConfigurableGroup { - Configurable triggerPtLow{"triggerPtLow", 4.0f, "Minimum pT for trigger tracks"}; - Configurable triggerPtHigh{"triggerPtHigh", 8.0f, "Maximum pT for trigger tracks"}; - Configurable assocPtLowMin{"assocPtLowMin", 0.0f, "Minimum pT for low-pT associated tracks"}; - Configurable assocPtLowMax{"assocPtLowMax", 2.0f, "Maximum pT for low-pT associated tracks"}; - Configurable assocPtHighMin{"assocPtHighMin", 2.0f, "Minimum pT for high-pT associated tracks"}; - Configurable assocPtHighMax{"assocPtHighMax", 4.0f, "Maximum pT for high-pT associated tracks"}; + Configurable c2012triggerPtLow{"c2012triggerPtLow", 4.0f, "Minimum pT for trigger tracks"}; + Configurable c2013triggerPtHigh{"c2013triggerPtHigh", 8.0f, "Maximum pT for trigger tracks"}; + Configurable c2014assocPtLowMin{"c2014assocPtLowMin", 0.0f, "Minimum pT for low-pT associated tracks"}; + Configurable c2015assocPtLowMax{"c2015assocPtLowMax", 2.0f, "Maximum pT for low-pT associated tracks"}; + Configurable c2016assocPtHighMin{"c2016assocPtHighMin", 2.0f, "Minimum pT for high-pT associated tracks"}; + Configurable c2017assocPtHighMax{"c2017assocPtHighMax", 4.0f, "Maximum pT for high-pT associated tracks"}; } cfgPartitions; struct : ConfigurableGroup { - Configurable resoRapidityMin{"resoRapidityMin", -0.5f, "Minimum rapidity for resonance candidates"}; - Configurable resoRapidityMax{"resoRapidityMax", 0.5f, "Maximum rapidity for resonance candidates"}; - - Configurable phiPtLowMin{"phiPtLowMin", 0.0f, "Minimum pT for low-pT Phi(1020)"}; - Configurable phiPtLowMax{"phiPtLowMax", 2.0f, "Maximum pT for low-pT Phi(1020)"}; - Configurable phiPtHighMin{"phiPtHighMin", 2.0f, "Minimum pT for high-pT Phi(1020)"}; - Configurable phiPtHighMax{"phiPtHighMax", 4.0f, "Maximum pT for high-pT Phi(1020)"}; - - Configurable kstarPtLowMin{"kstarPtLowMin", 0.0f, "Minimum pT for low-pT K*(892)0"}; - Configurable kstarPtLowMax{"kstarPtLowMax", 2.0f, "Maximum pT for low-pT K*(892)0"}; - Configurable kstarPtHighMin{"kstarPtHighMin", 2.0f, "Minimum pT for high-pT K*(892)0"}; - Configurable kstarPtHighMax{"kstarPtHighMax", 4.0f, "Maximum pT for high-pT K*(892)0"}; - - Configurable kstarBarPtLowMin{"kstarBarPtLowMin", 0.0f, "Minimum pT for low-pT anti-K*(892)0"}; - Configurable kstarBarPtLowMax{"kstarBarPtLowMax", 2.0f, "Maximum pT for low-pT anti-K*(892)0"}; - Configurable kstarBarPtHighMin{"kstarBarPtHighMin", 2.0f, "Minimum pT for high-pT anti-K*(892)0"}; - Configurable kstarBarPtHighMax{"kstarBarPtHighMax", 4.0f, "Maximum pT for high-pT anti-K*(892)0"}; - - Configurable lambda1520PtLowMin{"lambda1520PtLowMin", 0.0f, "Minimum pT for low-pT Lambda(1520)"}; - Configurable lambda1520PtLowMax{"lambda1520PtLowMax", 2.0f, "Maximum pT for low-pT Lambda(1520)"}; - Configurable lambda1520PtHighMin{"lambda1520PtHighMin", 2.0f, "Minimum pT for high-pT Lambda(1520)"}; - Configurable lambda1520PtHighMax{"lambda1520PtHighMax", 4.0f, "Maximum pT for high-pT Lambda(1520)"}; - - Configurable lambda1520BarPtLowMin{"lambda1520BarPtLowMin", 0.0f, "Minimum pT for low-pT anti-Lambda(1520)"}; - Configurable lambda1520BarPtLowMax{"lambda1520BarPtLowMax", 2.0f, "Maximum pT for low-pT anti-Lambda(1520)"}; - Configurable lambda1520BarPtHighMin{"lambda1520BarPtHighMin", 2.0f, "Minimum pT for high-pT anti-Lambda(1520)"}; - Configurable lambda1520BarPtHighMax{"lambda1520BarPtHighMax", 4.0f, "Maximum pT for high-pT anti-Lambda(1520)"}; + Configurable c2018resoRapidityMin{"c2018resoRapidityMin", -0.5f, "Minimum rapidity for resonance candidates"}; + Configurable c2019resoRapidityMax{"c2019resoRapidityMax", 0.5f, "Maximum rapidity for resonance candidates"}; + + Configurable c2020phiPtLowMin{"c2020phiPtLowMin", 0.0f, "Minimum pT for low-pT Phi(1020)"}; + Configurable c2021phiPtLowMax{"c2021phiPtLowMax", 2.0f, "Maximum pT for low-pT Phi(1020)"}; + Configurable c2022phiPtHighMin{"c2022phiPtHighMin", 2.0f, "Minimum pT for high-pT Phi(1020)"}; + Configurable c2023phiPtHighMax{"c2023phiPtHighMax", 4.0f, "Maximum pT for high-pT Phi(1020)"}; + + Configurable c2024kstarPtLowMin{"c2024kstarPtLowMin", 0.0f, "Minimum pT for low-pT K*(892)0"}; + Configurable c2025kstarPtLowMax{"c2025kstarPtLowMax", 2.0f, "Maximum pT for low-pT K*(892)0"}; + Configurable c2026kstarPtHighMin{"c2026kstarPtHighMin", 2.0f, "Minimum pT for high-pT K*(892)0"}; + Configurable c2027kstarPtHighMax{"c2027kstarPtHighMax", 4.0f, "Maximum pT for high-pT K*(892)0"}; + + Configurable c2028kstarBarPtLowMin{"c2028kstarBarPtLowMin", 0.0f, "Minimum pT for low-pT anti-K*(892)0"}; + Configurable c2029kstarBarPtLowMax{"c2029kstarBarPtLowMax", 2.0f, "Maximum pT for low-pT anti-K*(892)0"}; + Configurable c2030kstarBarPtHighMin{"c2030kstarBarPtHighMin", 2.0f, "Minimum pT for high-pT anti-K*(892)0"}; + Configurable c2031kstarBarPtHighMax{"c2031kstarBarPtHighMax", 4.0f, "Maximum pT for high-pT anti-K*(892)0"}; + + Configurable c2032lambda1520PtLowMin{"c2032lambda1520PtLowMin", 0.0f, "Minimum pT for low-pT Lambda(1520)"}; + Configurable c2033lambda1520PtLowMax{"c2033lambda1520PtLowMax", 2.0f, "Maximum pT for low-pT Lambda(1520)"}; + Configurable c2034lambda1520PtHighMin{"c2034lambda1520PtHighMin", 2.0f, "Minimum pT for high-pT Lambda(1520)"}; + Configurable c2035lambda1520PtHighMax{"c2035lambda1520PtHighMax", 4.0f, "Maximum pT for high-pT Lambda(1520)"}; + + Configurable c2036lambda1520BarPtLowMin{"c2036lambda1520BarPtLowMin", 0.0f, "Minimum pT for low-pT anti-Lambda(1520)"}; + Configurable c2037lambda1520BarPtLowMax{"c2037lambda1520BarPtLowMax", 2.0f, "Maximum pT for low-pT anti-Lambda(1520)"}; + Configurable c2038lambda1520BarPtHighMin{"c2038lambda1520BarPtHighMin", 2.0f, "Minimum pT for high-pT anti-Lambda(1520)"}; + Configurable c2039lambda1520BarPtHighMax{"c2039lambda1520BarPtHighMax", 4.0f, "Maximum pT for high-pT anti-Lambda(1520)"}; } cfgResPartitions; struct : ConfigurableGroup { - Configurable phi1020PeakLow{"phi1020PeakLow", 1.013f, "Phi(1020) peak lower mass"}; - Configurable phi1020PeakUp{"phi1020PeakUp", 1.026f, "Phi(1020) peak upper mass"}; - Configurable phi1020LSBLow{"phi1020LSBLow", 0.995f, "Phi(1020) LSB lower mass"}; - Configurable phi1020LSBUp{"phi1020LSBUp", 1.005f, "Phi(1020) LSB upper mass"}; - Configurable phi1020RSBLow{"phi1020RSBLow", 1.040f, "Phi(1020) RSB lower mass"}; - Configurable phi1020RSBUp{"phi1020RSBUp", 1.060f, "Phi(1020) RSB upper mass"}; + Configurable c2040phi1020PeakLow{"c2040phi1020PeakLow", 1.013f, "Phi(1020) peak lower mass"}; + Configurable c2041phi1020PeakUp{"c2041phi1020PeakUp", 1.026f, "Phi(1020) peak upper mass"}; + Configurable c2042phi1020LSBLow{"c2042phi1020LSBLow", 0.995f, "Phi(1020) LSB lower mass"}; + Configurable c2043phi1020LSBUp{"c2043phi1020LSBUp", 1.005f, "Phi(1020) LSB upper mass"}; + Configurable c2044phi1020RSBLow{"c2044phi1020RSBLow", 1.040f, "Phi(1020) RSB lower mass"}; + Configurable c2045phi1020RSBUp{"c2045phi1020RSBUp", 1.060f, "Phi(1020) RSB upper mass"}; } cfgPhi1020CorrMass; struct : ConfigurableGroup { - Configurable kStar892PeakLow{"kStar892PeakLow", 0.846f, "K*(892)0 correlation peak lower mass"}; - Configurable kStar892PeakUp{"kStar892PeakUp", 0.946f, "K*(892)0 correlation peak upper mass"}; - Configurable kStar892LSBLow{"kStar892LSBLow", 0.700f, "K*(892)0 correlation LSB lower mass"}; - Configurable kStar892LSBUp{"kStar892LSBUp", 0.780f, "K*(892)0 correlation LSB upper mass"}; - Configurable kStar892RSBLow{"kStar892RSBLow", 1.010f, "K*(892)0 correlation RSB lower mass"}; - Configurable kStar892RSBUp{"kStar892RSBUp", 1.090f, "K*(892)0 correlation RSB upper mass"}; + Configurable c2046kStar892PeakLow{"c2046kStar892PeakLow", 0.846f, "K*(892)0 correlation peak lower mass"}; + Configurable c2047kStar892PeakUp{"c2047kStar892PeakUp", 0.946f, "K*(892)0 correlation peak upper mass"}; + Configurable c2048kStar892LSBLow{"c2048kStar892LSBLow", 0.700f, "K*(892)0 correlation LSB lower mass"}; + Configurable c2049kStar892LSBUp{"c2049kStar892LSBUp", 0.780f, "K*(892)0 correlation LSB upper mass"}; + Configurable c2050kStar892RSBLow{"c2050kStar892RSBLow", 1.010f, "K*(892)0 correlation RSB lower mass"}; + Configurable c2051kStar892RSBUp{"c2051kStar892RSBUp", 1.090f, "K*(892)0 correlation RSB upper mass"}; } cfgKStar892CorrMass; struct : ConfigurableGroup { - Configurable lambda1520PeakLow{"lambda1520PeakLow", 1.500f, "Lambda(1520) correlation peak lower mass"}; - Configurable lambda1520PeakUp{"lambda1520PeakUp", 1.540f, "Lambda(1520) correlation peak upper mass"}; - Configurable lambda1520LSBLow{"lambda1520LSBLow", 1.440f, "Lambda(1520) correlation LSB lower mass"}; - Configurable lambda1520LSBUp{"lambda1520LSBUp", 1.480f, "Lambda(1520) correlation LSB upper mass"}; - Configurable lambda1520RSBLow{"lambda1520RSBLow", 1.560f, "Lambda(1520) correlation RSB lower mass"}; - Configurable lambda1520RSBUp{"lambda1520RSBUp", 1.600f, "Lambda(1520) correlation RSB upper mass"}; + Configurable c2052lambda1520PeakLow{"c2052lambda1520PeakLow", 1.500f, "Lambda(1520) correlation peak lower mass"}; + Configurable c2053lambda1520PeakUp{"c2053lambda1520PeakUp", 1.540f, "Lambda(1520) correlation peak upper mass"}; + Configurable c2054lambda1520LSBLow{"c2054lambda1520LSBLow", 1.440f, "Lambda(1520) correlation LSB lower mass"}; + Configurable c2055lambda1520LSBUp{"c2055lambda1520LSBUp", 1.480f, "Lambda(1520) correlation LSB upper mass"}; + Configurable c2056lambda1520RSBLow{"c2056lambda1520RSBLow", 1.560f, "Lambda(1520) correlation RSB lower mass"}; + Configurable c2057lambda1520RSBUp{"c2057lambda1520RSBUp", 1.600f, "Lambda(1520) correlation RSB upper mass"}; } cfgLambda1520CorrMass; struct : ConfigurableGroup { - Configurable> pidConfigSetting{"pidConfigSetting", {DefaultPIDcheckValues[0].data(), kNPid, kNCutSettings, {"Pi", "Ka", "Pr", "El", "Mu", "De"}, {"ThrPforTOF", "IdCutTypeLowP", "NSigmaTPCLowP", "NSigmaTOFLowP", "NSigmaRadLowP", "IdCutTypeHighP", "NSigmaTPCHighP", "NSigmaTOFHighP", "NSigmaRadHighP", "doVetoOthers", "doRelativeTPCCheck", "doRelativeTOFcheck", "doRelativeTPCTOFcheck"}}, "Cut values for particle identification"}; - Configurable> pidVetoSetting{"pidVetoSetting", {DefaultPidVetoValues[0].data(), kNPid, kNVetoSettings, {"Pi", "Ka", "Pr", "El", "Mu", "De"}, {"doVetoTPC", "doVetoTOF", "vetoTPC", "vetoTOF"}}, "Veto cuts for particle identification"}; - Configurable cfgId07CheckTofBeta{"cfgId07CheckTofBeta", false, "Require beta > 0 for reliable TOF"}; + Configurable> c2058pidConfigSetting{"c2058pidConfigSetting", {DefaultPIDcheckValues[0].data(), kNPid, kNCutSettings, {"Pi", "Ka", "Pr", "El", "Mu", "De"}, {"ThrPforTOF", "IdCutTypeLowP", "NSigmaTPCLowP", "NSigmaTOFLowP", "NSigmaRadLowP", "IdCutTypeHighP", "NSigmaTPCHighP", "NSigmaTOFHighP", "NSigmaRadHighP", "doVetoOthers", "doRelativeTPCCheck", "doRelativeTOFcheck", "doRelativeTPCTOFcheck"}}, "Cut values for particle identification"}; + Configurable> c2059pidVetoSetting{"c2059pidVetoSetting", {DefaultPidVetoValues[0].data(), kNPid, kNVetoSettings, {"Pi", "Ka", "Pr", "El", "Mu", "De"}, {"doVetoTPC", "doVetoTOF", "vetoTPC", "vetoTOF"}}, "Veto cuts for particle identification"}; + Configurable c2060cfgId07CheckTofBeta{"c2060cfgId07CheckTofBeta", false, "Require beta > 0 for reliable TOF"}; } cfgIdCut; void init(InitContext const&) { - if (cfgDebug.printDebugMessages) { + if (cfgDebug.c2001printDebugMessages) { LOGF(info, "Starting init"); } @@ -3926,25 +3926,25 @@ struct HParticleCorrelationMixedEvent { const AxisSpec axisTOFNSigma = {200, -10.0f, 10.0f, "n#sigma_{TOF}"}; const AxisSpec axisIdMethod = {2, -0.5f, 1.5f, "ID method (0=TPC, 1=TPC+TOF)"}; - AxisSpec axisDeltaPhiSpec{cfgAxis.axisDeltaPhi, "#Delta#varphi"}; - AxisSpec axisDeltaEtaSpec{cfgAxis.axisDeltaEta, "#Delta#eta"}; - AxisSpec axisCorrSparseTriggerPt{cfgAxis.axisCorrSparseTriggerPt, "#it{p}_{T}^{trig} (GeV/#it{c})"}; - AxisSpec axisCorrSparseAssocPt{cfgAxis.axisCorrSparseAssocPt, "#it{p}_{T}^{assoc} (GeV/#it{c})"}; - AxisSpec axisCorrSparseDeltaPhi{cfgAxis.axisCorrSparseDeltaPhi, "#Delta#varphi"}; - AxisSpec axisCorrSparseDeltaEta{cfgAxis.axisCorrSparseDeltaEta, "#Delta#eta"}; + AxisSpec axisDeltaPhiSpec{cfgAxis.c2002axisDeltaPhi, "#Delta#varphi"}; + AxisSpec axisDeltaEtaSpec{cfgAxis.c2003axisDeltaEta, "#Delta#eta"}; + AxisSpec axisCorrSparseTriggerPt{cfgAxis.c2004axisCorrSparseTriggerPt, "#it{p}_{T}^{trig} (GeV/#it{c})"}; + AxisSpec axisCorrSparseAssocPt{cfgAxis.c2005axisCorrSparseAssocPt, "#it{p}_{T}^{assoc} (GeV/#it{c})"}; + AxisSpec axisCorrSparseDeltaPhi{cfgAxis.c2006axisCorrSparseDeltaPhi, "#Delta#varphi"}; + AxisSpec axisCorrSparseDeltaEta{cfgAxis.c2007axisCorrSparseDeltaEta, "#Delta#eta"}; const AxisSpec axisPhi1020Mass = {300, 0.98f, 1.08f, "m_{K^{+}K^{-}} (GeV/#it{c}^{2})"}; const AxisSpec axisKStar892Mass = {300, 0.65f, 1.15f, "m_{K#pi} (GeV/#it{c}^{2})"}; const AxisSpec axisLambda1520Mass = {300, 1.40f, 1.65f, "m_{pK} (GeV/#it{c}^{2})"}; - AxisSpec axisVtxMixOperation{cfgMixing.axisVtxMixing, "z_{vtx} (cm)"}; - AxisSpec axisCentMixOperation{cfgMixing.axisCentMixing, "Centrality (%)"}; + AxisSpec axisVtxMixOperation{cfgMixing.c2010axisVtxMixing, "z_{vtx} (cm)"}; + AxisSpec axisCentMixOperation{cfgMixing.c2011axisCentMixing, "Centrality (%)"}; const int nMixOperationBins = axisVtxMixOperation.getNbins() * axisCentMixOperation.getNbins(); const AxisSpec axisMixOperationBin = {nMixOperationBins, -0.5, static_cast(nMixOperationBins) - 0.5, "Mixing bin"}; const AxisSpec axisMixOperationChannel = {NMixOperationChannels, -0.5, static_cast(NMixOperationChannels) - 0.5, "Mixing channel"}; - const AxisSpec axisMixPartners = {static_cast(cfgMixing.nEvtMixing) + 1, -0.5, static_cast(cfgMixing.nEvtMixing) + 0.5, "N mixed partner events"}; + const AxisSpec axisMixPartners = {static_cast(cfgMixing.c2008nEvtMixing) + 1, -0.5, static_cast(cfgMixing.c2008nEvtMixing) + 0.5, "N mixed partner events"}; const AxisSpec axisMixVtxZQA = {100, -10.0f, 10.0f, "z_{vtx} (cm)"}; const AxisSpec axisMixDeltaVtxZQA = {100, -20.0f, 20.0f, "#Delta z_{vtx} (cm)"}; @@ -4076,15 +4076,15 @@ struct HParticleCorrelationMixedEvent { using BinningTypeVtxZFT0A = ColumnBinningPolicy; using BinningTypeVtxZFV0A = ColumnBinningPolicy; - BinningTypeVtxZFT0C colBinningFT0C{{cfgMixing.axisVtxMixing, cfgMixing.axisCentMixing}, true}; - BinningTypeVtxZFT0M colBinningFT0M{{cfgMixing.axisVtxMixing, cfgMixing.axisCentMixing}, true}; - BinningTypeVtxZFT0A colBinningFT0A{{cfgMixing.axisVtxMixing, cfgMixing.axisCentMixing}, true}; - BinningTypeVtxZFV0A colBinningFV0A{{cfgMixing.axisVtxMixing, cfgMixing.axisCentMixing}, true}; + BinningTypeVtxZFT0C colBinningFT0C{{cfgMixing.c2010axisVtxMixing, cfgMixing.c2011axisCentMixing}, true}; + BinningTypeVtxZFT0M colBinningFT0M{{cfgMixing.c2010axisVtxMixing, cfgMixing.c2011axisCentMixing}, true}; + BinningTypeVtxZFT0A colBinningFT0A{{cfgMixing.c2010axisVtxMixing, cfgMixing.c2011axisCentMixing}, true}; + BinningTypeVtxZFV0A colBinningFV0A{{cfgMixing.c2010axisVtxMixing, cfgMixing.c2011axisCentMixing}, true}; template int getDerivedMixingBin(const C& collision) { - switch (cfgMixing.mixingEstimator) { + switch (cfgMixing.c2009mixingEstimator) { case kMixCentFT0C: return colBinningFT0C.getBin({collision.posZ(), collision.centFT0C()}); case kMixCentFT0M: @@ -4101,7 +4101,7 @@ struct HParticleCorrelationMixedEvent { template float getDerivedMixingEstimatorValue(const C& collision) { - switch (cfgMixing.mixingEstimator) { + switch (cfgMixing.c2009mixingEstimator) { case kMixCentFT0C: return collision.centFT0C(); case kMixCentFT0M: @@ -4128,20 +4128,20 @@ struct HParticleCorrelationMixedEvent { { // Static is only run once, ever. static const std::array doVetoTPC = { - getCfg(cfgIdCut.pidVetoSetting, kPi, kDoVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kKa, kDoVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kPr, kDoVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kEl, kDoVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kMu, kDoVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kDe, kDoVetoTPC)}; + getCfg(cfgIdCut.c2059pidVetoSetting, kPi, kDoVetoTPC), + getCfg(cfgIdCut.c2059pidVetoSetting, kKa, kDoVetoTPC), + getCfg(cfgIdCut.c2059pidVetoSetting, kPr, kDoVetoTPC), + getCfg(cfgIdCut.c2059pidVetoSetting, kEl, kDoVetoTPC), + getCfg(cfgIdCut.c2059pidVetoSetting, kMu, kDoVetoTPC), + getCfg(cfgIdCut.c2059pidVetoSetting, kDe, kDoVetoTPC)}; static const std::array vetoTPC = { - getCfg(cfgIdCut.pidVetoSetting, kPi, kVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kKa, kVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kPr, kVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kEl, kVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kMu, kVetoTPC), - getCfg(cfgIdCut.pidVetoSetting, kDe, kVetoTPC)}; + getCfg(cfgIdCut.c2059pidVetoSetting, kPi, kVetoTPC), + getCfg(cfgIdCut.c2059pidVetoSetting, kKa, kVetoTPC), + getCfg(cfgIdCut.c2059pidVetoSetting, kPr, kVetoTPC), + getCfg(cfgIdCut.c2059pidVetoSetting, kEl, kVetoTPC), + getCfg(cfgIdCut.c2059pidVetoSetting, kMu, kVetoTPC), + getCfg(cfgIdCut.c2059pidVetoSetting, kDe, kVetoTPC)}; return applyVetoOthersTPC(track, doVetoTPC, vetoTPC); } @@ -4151,20 +4151,20 @@ struct HParticleCorrelationMixedEvent { { // Only computed once static const std::array doVetoTOF = { - getCfg(cfgIdCut.pidVetoSetting, kPi, kDoVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kKa, kDoVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kPr, kDoVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kEl, kDoVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kMu, kDoVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kDe, kDoVetoTOF)}; + getCfg(cfgIdCut.c2059pidVetoSetting, kPi, kDoVetoTOF), + getCfg(cfgIdCut.c2059pidVetoSetting, kKa, kDoVetoTOF), + getCfg(cfgIdCut.c2059pidVetoSetting, kPr, kDoVetoTOF), + getCfg(cfgIdCut.c2059pidVetoSetting, kEl, kDoVetoTOF), + getCfg(cfgIdCut.c2059pidVetoSetting, kMu, kDoVetoTOF), + getCfg(cfgIdCut.c2059pidVetoSetting, kDe, kDoVetoTOF)}; static const std::array vetoTOF = { - getCfg(cfgIdCut.pidVetoSetting, kPi, kVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kKa, kVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kPr, kVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kEl, kVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kMu, kVetoTOF), - getCfg(cfgIdCut.pidVetoSetting, kDe, kVetoTOF)}; + getCfg(cfgIdCut.c2059pidVetoSetting, kPi, kVetoTOF), + getCfg(cfgIdCut.c2059pidVetoSetting, kKa, kVetoTOF), + getCfg(cfgIdCut.c2059pidVetoSetting, kPr, kVetoTOF), + getCfg(cfgIdCut.c2059pidVetoSetting, kEl, kVetoTOF), + getCfg(cfgIdCut.c2059pidVetoSetting, kMu, kVetoTOF), + getCfg(cfgIdCut.c2059pidVetoSetting, kDe, kVetoTOF)}; return applyVetoOthersTOF(track, doVetoTOF, vetoTOF); } @@ -4181,7 +4181,7 @@ struct HParticleCorrelationMixedEvent { inline bool checkReliableTOF(const T& track) { // which check makes the information of TOF relaiable? should track.beta() be checked? e.g.: - if (cfgIdCut.cfgId07CheckTofBeta) { + if (cfgIdCut.c2060cfgId07CheckTofBeta) { return (track.hasTOF() && track.beta() > 0.0f); } return track.hasTOF(); @@ -4206,7 +4206,7 @@ struct HParticleCorrelationMixedEvent { nSigmaIdDistSq = 1000000; } - static const bool doVetoOthers = getCfg(cfgIdCut.pidConfigSetting, pidMode, kDoVetoOthers); + static const bool doVetoOthers = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kDoVetoOthers); if (doVetoOthers) { if (!vetoIdOthersTPC(track)) { // If vetoIdOthers = true; it passed all veto checks @@ -4215,7 +4215,7 @@ struct HParticleCorrelationMixedEvent { } } - static const bool doRelativeTPCcheck = getCfg(cfgIdCut.pidConfigSetting, pidMode, kDoRelativeTPCcheck); + static const bool doRelativeTPCcheck = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kDoRelativeTPCcheck); if (doRelativeTPCcheck) { if (!relativeIdOthersTPC(track)) { // If relativeIdOthersTPC = true; particle has stronger nSigma compared to others @@ -4259,7 +4259,7 @@ struct HParticleCorrelationMixedEvent { } else { nSigmaIdDistSq = 1000000; } - static const bool doVetoOthers = getCfg(cfgIdCut.pidConfigSetting, pidMode, kDoVetoOthers); + static const bool doVetoOthers = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kDoVetoOthers); if (doVetoOthers) { if (!vetoIdOthersTPCTOF(track)) { // If vetoIdOthers = true; it passed all veto checks @@ -4268,7 +4268,7 @@ struct HParticleCorrelationMixedEvent { } } - static const bool doRelativeTOFcheck = getCfg(cfgIdCut.pidConfigSetting, pidMode, kDoRelativeTOFcheck); + static const bool doRelativeTOFcheck = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kDoRelativeTOFcheck); if (doRelativeTOFcheck) { if (!relativeIdOthersTOF(track)) { // If relativeIdOthersTOF = true; particle has stronger nSigma compared to others @@ -4277,7 +4277,7 @@ struct HParticleCorrelationMixedEvent { } } - static const bool doRelativeTPCTOFcheck = getCfg(cfgIdCut.pidConfigSetting, pidMode, kDoRelativeTPCTOFcheck); + static const bool doRelativeTPCTOFcheck = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kDoRelativeTPCTOFcheck); if (doRelativeTPCTOFcheck) { if (!relativeIdOthersTPCTOF(track)) { // If relativeIdOthersTPCTOF = true; particle has stronger nSigma compared to others @@ -4302,15 +4302,15 @@ struct HParticleCorrelationMixedEvent { bool selPdependent(const T& track, int& IdMethod, float& nSigmaIdDistSq) { // Static cache inside function - initialized once on first call - static const auto thrPforTOF = getCfg(cfgIdCut.pidConfigSetting, pidMode, kThrPforTOF); - static const auto idCutTypeLowP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kIdCutTypeLowP); - static const auto nSigmaTPCLowP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaTPCLowP); - static const auto nSigmaTOFLowP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaTOFLowP); - static const auto nSigmaRadLowP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaRadLowP); - static const auto idCutTypeHighP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kIdCutTypeHighP); - static const auto nSigmaTPCHighP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaTPCHighP); - static const auto nSigmaTOFHighP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaTOFHighP); - static const auto nSigmaRadHighP = getCfg(cfgIdCut.pidConfigSetting, pidMode, kNSigmaRadHighP); + static const auto thrPforTOF = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kThrPforTOF); + static const auto idCutTypeLowP = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kIdCutTypeLowP); + static const auto nSigmaTPCLowP = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kNSigmaTPCLowP); + static const auto nSigmaTOFLowP = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kNSigmaTOFLowP); + static const auto nSigmaRadLowP = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kNSigmaRadLowP); + static const auto idCutTypeHighP = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kIdCutTypeHighP); + static const auto nSigmaTPCHighP = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kNSigmaTPCHighP); + static const auto nSigmaTOFHighP = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kNSigmaTOFHighP); + static const auto nSigmaRadHighP = getCfg(cfgIdCut.c2058pidConfigSetting, pidMode, kNSigmaRadHighP); if (track.p() < thrPforTOF) { if (checkReliableTOF(track)) { @@ -4626,19 +4626,19 @@ struct HParticleCorrelationMixedEvent { { if constexpr (pairType == kHPhi) { invMass = associate.mPhi1020(); - return getMassRegionTag(invMass, cfgPhi1020CorrMass.phi1020LSBLow, cfgPhi1020CorrMass.phi1020LSBUp, cfgPhi1020CorrMass.phi1020PeakLow, cfgPhi1020CorrMass.phi1020PeakUp, cfgPhi1020CorrMass.phi1020RSBLow, cfgPhi1020CorrMass.phi1020RSBUp); + return getMassRegionTag(invMass, cfgPhi1020CorrMass.c2042phi1020LSBLow, cfgPhi1020CorrMass.c2043phi1020LSBUp, cfgPhi1020CorrMass.c2040phi1020PeakLow, cfgPhi1020CorrMass.c2041phi1020PeakUp, cfgPhi1020CorrMass.c2044phi1020RSBLow, cfgPhi1020CorrMass.c2045phi1020RSBUp); } else if constexpr (pairType == kHKStar) { invMass = associate.mKStar892(); - return getMassRegionTag(invMass, cfgKStar892CorrMass.kStar892LSBLow, cfgKStar892CorrMass.kStar892LSBUp, cfgKStar892CorrMass.kStar892PeakLow, cfgKStar892CorrMass.kStar892PeakUp, cfgKStar892CorrMass.kStar892RSBLow, cfgKStar892CorrMass.kStar892RSBUp); + return getMassRegionTag(invMass, cfgKStar892CorrMass.c2048kStar892LSBLow, cfgKStar892CorrMass.c2049kStar892LSBUp, cfgKStar892CorrMass.c2046kStar892PeakLow, cfgKStar892CorrMass.c2047kStar892PeakUp, cfgKStar892CorrMass.c2050kStar892RSBLow, cfgKStar892CorrMass.c2051kStar892RSBUp); } else if constexpr (pairType == kHKStarBar) { invMass = associate.mKStar892Bar(); - return getMassRegionTag(invMass, cfgKStar892CorrMass.kStar892LSBLow, cfgKStar892CorrMass.kStar892LSBUp, cfgKStar892CorrMass.kStar892PeakLow, cfgKStar892CorrMass.kStar892PeakUp, cfgKStar892CorrMass.kStar892RSBLow, cfgKStar892CorrMass.kStar892RSBUp); + return getMassRegionTag(invMass, cfgKStar892CorrMass.c2048kStar892LSBLow, cfgKStar892CorrMass.c2049kStar892LSBUp, cfgKStar892CorrMass.c2046kStar892PeakLow, cfgKStar892CorrMass.c2047kStar892PeakUp, cfgKStar892CorrMass.c2050kStar892RSBLow, cfgKStar892CorrMass.c2051kStar892RSBUp); } else if constexpr (pairType == kHLambda) { invMass = associate.mLambda1520(); - return getMassRegionTag(invMass, cfgLambda1520CorrMass.lambda1520LSBLow, cfgLambda1520CorrMass.lambda1520LSBUp, cfgLambda1520CorrMass.lambda1520PeakLow, cfgLambda1520CorrMass.lambda1520PeakUp, cfgLambda1520CorrMass.lambda1520RSBLow, cfgLambda1520CorrMass.lambda1520RSBUp); + return getMassRegionTag(invMass, cfgLambda1520CorrMass.c2054lambda1520LSBLow, cfgLambda1520CorrMass.c2055lambda1520LSBUp, cfgLambda1520CorrMass.c2052lambda1520PeakLow, cfgLambda1520CorrMass.c2053lambda1520PeakUp, cfgLambda1520CorrMass.c2056lambda1520RSBLow, cfgLambda1520CorrMass.c2057lambda1520RSBUp); } else if constexpr (pairType == kHLambdaBar) { invMass = associate.mLambda1520Bar(); - return getMassRegionTag(invMass, cfgLambda1520CorrMass.lambda1520LSBLow, cfgLambda1520CorrMass.lambda1520LSBUp, cfgLambda1520CorrMass.lambda1520PeakLow, cfgLambda1520CorrMass.lambda1520PeakUp, cfgLambda1520CorrMass.lambda1520RSBLow, cfgLambda1520CorrMass.lambda1520RSBUp); + return getMassRegionTag(invMass, cfgLambda1520CorrMass.c2054lambda1520LSBLow, cfgLambda1520CorrMass.c2055lambda1520LSBUp, cfgLambda1520CorrMass.c2052lambda1520PeakLow, cfgLambda1520CorrMass.c2053lambda1520PeakUp, cfgLambda1520CorrMass.c2056lambda1520RSBLow, cfgLambda1520CorrMass.c2057lambda1520RSBUp); } invMass = -1.0f; @@ -4777,7 +4777,7 @@ struct HParticleCorrelationMixedEvent { continue; } const float rapidity = computeDerivedRapidity(associate, invMass); - if (rapidity < cfgResPartitions.resoRapidityMin || rapidity > cfgResPartitions.resoRapidityMax) { + if (rapidity < cfgResPartitions.c2018resoRapidityMin || rapidity > cfgResPartitions.c2019resoRapidityMax) { continue; } if (requiredMassRegion != kMassNone && massRegion != requiredMassRegion) { @@ -4818,94 +4818,94 @@ struct HParticleCorrelationMixedEvent { } } - Preslice drTracksPerCollisionPreslice = aod::hpcorrtrack::hpCorrCollisionId; - Preslice drResoPerCollisionPreslice = aod::hpcorrresonance::hpCorrCollisionId; + Preslice drTracksPerCollisionPreslice = aod::hpcorrtrack::hpCorrCollId; + Preslice drResoPerCollisionPreslice = aod::hpcorrresonance::hpCorrCollId; // definition of partitions SliceCache cache; - Partition drMixHHLowPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHHLowPt)) != static_cast(0ULL); - Partition drMixHHHighPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHHHighPt)) != static_cast(0ULL); + Partition drMixHHLowPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHHLowPt)) != static_cast(0ULL); + Partition drMixHHHighPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHHHighPt)) != static_cast(0ULL); - Partition drMixHPiLowPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPiLowPt)) != static_cast(0ULL); - Partition drMixHPiHighPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPiHighPt)) != static_cast(0ULL); - Partition drMixHKaLowPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKaLowPt)) != static_cast(0ULL); - Partition drMixHKaHighPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKaHighPt)) != static_cast(0ULL); - Partition drMixHPrLowPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPrLowPt)) != static_cast(0ULL); - Partition drMixHPrHighPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPrHighPt)) != static_cast(0ULL); + Partition drMixHPiLowPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPiLowPt)) != static_cast(0ULL); + Partition drMixHPiHighPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPiHighPt)) != static_cast(0ULL); + Partition drMixHKaLowPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKaLowPt)) != static_cast(0ULL); + Partition drMixHKaHighPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKaHighPt)) != static_cast(0ULL); + Partition drMixHPrLowPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPrLowPt)) != static_cast(0ULL); + Partition drMixHPrHighPt = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPrHighPt)) != static_cast(0ULL); - Partition drMixHPhiLowPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiLowPtPeak)) != static_cast(0ULL); - Partition drMixHPhiLowPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiLowPtLSB)) != static_cast(0ULL); - Partition drMixHPhiLowPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiLowPtRSB)) != static_cast(0ULL); + Partition drMixHPhiLowPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiLowPtPeak)) != static_cast(0ULL); + Partition drMixHPhiLowPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiLowPtLSB)) != static_cast(0ULL); + Partition drMixHPhiLowPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiLowPtRSB)) != static_cast(0ULL); - Partition drMixHPhiHighPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiHighPtPeak)) != static_cast(0ULL); - Partition drMixHPhiHighPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiHighPtLSB)) != static_cast(0ULL); - Partition drMixHPhiHighPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiHighPtRSB)) != static_cast(0ULL); + Partition drMixHPhiHighPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiHighPtPeak)) != static_cast(0ULL); + Partition drMixHPhiHighPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiHighPtLSB)) != static_cast(0ULL); + Partition drMixHPhiHighPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHPhiHighPtRSB)) != static_cast(0ULL); - Partition drMixHKStarLowPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarLowPtPeak)) != static_cast(0ULL); - Partition drMixHKStarLowPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarLowPtLSB)) != static_cast(0ULL); - Partition drMixHKStarLowPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarLowPtRSB)) != static_cast(0ULL); + Partition drMixHKStarLowPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarLowPtPeak)) != static_cast(0ULL); + Partition drMixHKStarLowPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarLowPtLSB)) != static_cast(0ULL); + Partition drMixHKStarLowPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarLowPtRSB)) != static_cast(0ULL); - Partition drMixHKStarHighPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarHighPtPeak)) != static_cast(0ULL); - Partition drMixHKStarHighPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarHighPtLSB)) != static_cast(0ULL); - Partition drMixHKStarHighPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarHighPtRSB)) != static_cast(0ULL); + Partition drMixHKStarHighPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarHighPtPeak)) != static_cast(0ULL); + Partition drMixHKStarHighPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarHighPtLSB)) != static_cast(0ULL); + Partition drMixHKStarHighPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarHighPtRSB)) != static_cast(0ULL); - Partition drMixHKStarBarLowPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarLowPtPeak)) != static_cast(0ULL); - Partition drMixHKStarBarLowPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarLowPtLSB)) != static_cast(0ULL); - Partition drMixHKStarBarLowPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarLowPtRSB)) != static_cast(0ULL); + Partition drMixHKStarBarLowPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarLowPtPeak)) != static_cast(0ULL); + Partition drMixHKStarBarLowPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarLowPtLSB)) != static_cast(0ULL); + Partition drMixHKStarBarLowPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarLowPtRSB)) != static_cast(0ULL); - Partition drMixHKStarBarHighPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarHighPtPeak)) != static_cast(0ULL); - Partition drMixHKStarBarHighPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarHighPtLSB)) != static_cast(0ULL); - Partition drMixHKStarBarHighPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarHighPtRSB)) != static_cast(0ULL); + Partition drMixHKStarBarHighPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarHighPtPeak)) != static_cast(0ULL); + Partition drMixHKStarBarHighPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarHighPtLSB)) != static_cast(0ULL); + Partition drMixHKStarBarHighPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHKStarBarHighPtRSB)) != static_cast(0ULL); - Partition drMixHLambdaLowPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaLowPtPeak)) != static_cast(0ULL); - Partition drMixHLambdaLowPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaLowPtLSB)) != static_cast(0ULL); - Partition drMixHLambdaLowPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaLowPtRSB)) != static_cast(0ULL); + Partition drMixHLambdaLowPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaLowPtPeak)) != static_cast(0ULL); + Partition drMixHLambdaLowPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaLowPtLSB)) != static_cast(0ULL); + Partition drMixHLambdaLowPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaLowPtRSB)) != static_cast(0ULL); - Partition drMixHLambdaHighPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaHighPtPeak)) != static_cast(0ULL); - Partition drMixHLambdaHighPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaHighPtLSB)) != static_cast(0ULL); - Partition drMixHLambdaHighPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaHighPtRSB)) != static_cast(0ULL); + Partition drMixHLambdaHighPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaHighPtPeak)) != static_cast(0ULL); + Partition drMixHLambdaHighPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaHighPtLSB)) != static_cast(0ULL); + Partition drMixHLambdaHighPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaHighPtRSB)) != static_cast(0ULL); - Partition drMixHLambdaBarLowPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarLowPtPeak)) != static_cast(0ULL); - Partition drMixHLambdaBarLowPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarLowPtLSB)) != static_cast(0ULL); - Partition drMixHLambdaBarLowPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarLowPtRSB)) != static_cast(0ULL); + Partition drMixHLambdaBarLowPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarLowPtPeak)) != static_cast(0ULL); + Partition drMixHLambdaBarLowPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarLowPtLSB)) != static_cast(0ULL); + Partition drMixHLambdaBarLowPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarLowPtRSB)) != static_cast(0ULL); - Partition drMixHLambdaBarHighPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarHighPtPeak)) != static_cast(0ULL); - Partition drMixHLambdaBarHighPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarHighPtLSB)) != static_cast(0ULL); - Partition drMixHLambdaBarHighPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarHighPtRSB)) != static_cast(0ULL); + Partition drMixHLambdaBarHighPtPeak = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarHighPtPeak)) != static_cast(0ULL); + Partition drMixHLambdaBarHighPtLSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarHighPtLSB)) != static_cast(0ULL); + Partition drMixHLambdaBarHighPtRSB = (aod::hpcorrcollision::corrMask & static_cast(kMaskHLambdaBarHighPtRSB)) != static_cast(0ULL); - Partition drTriggerTracks = cfgPartitions.triggerPtLow < aod::hpcorrtrack::pt && aod::hpcorrtrack::pt < cfgPartitions.triggerPtHigh; + Partition drTriggerTracks = cfgPartitions.c2012triggerPtLow < aod::hpcorrtrack::pt && aod::hpcorrtrack::pt < cfgPartitions.c2013triggerPtHigh; Partition drPosTracks = aod::hpcorrtrack::sign > static_cast(0); Partition drNegTracks = aod::hpcorrtrack::sign < static_cast(0); - Partition drAssocTracksLowPt = cfgPartitions.assocPtLowMin < aod::hpcorrtrack::pt && aod::hpcorrtrack::pt < cfgPartitions.assocPtLowMax; - Partition drAssocTracksHighPt = cfgPartitions.assocPtHighMin < aod::hpcorrtrack::pt && aod::hpcorrtrack::pt < cfgPartitions.assocPtHighMax; - - Partition drAssocPhiLowPt = cfgResPartitions.phiPtLowMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.phiPtLowMax && aod::hpcorrresonance::phi1020Tag != static_cast(kMassOutside); - Partition drAssocPhiHighPt = cfgResPartitions.phiPtHighMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.phiPtHighMax && aod::hpcorrresonance::phi1020Tag != static_cast(kMassOutside); - Partition drAssocKStarLowPt = cfgResPartitions.kstarPtLowMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.kstarPtLowMax && aod::hpcorrresonance::kStar892Tag != static_cast(kMassOutside); - Partition drAssocKStarHighPt = cfgResPartitions.kstarPtHighMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.kstarPtHighMax && aod::hpcorrresonance::kStar892Tag != static_cast(kMassOutside); - Partition drAssocKStarBarLowPt = cfgResPartitions.kstarBarPtLowMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.kstarBarPtLowMax && aod::hpcorrresonance::kStar892BarTag != static_cast(kMassOutside); - Partition drAssocKStarBarHighPt = cfgResPartitions.kstarBarPtHighMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.kstarBarPtHighMax && aod::hpcorrresonance::kStar892BarTag != static_cast(kMassOutside); - Partition drAssocLambda1520LowPt = cfgResPartitions.lambda1520PtLowMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.lambda1520PtLowMax && aod::hpcorrresonance::lambda1520Tag != static_cast(kMassOutside); - Partition drAssocLambda1520HighPt = cfgResPartitions.lambda1520PtHighMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.lambda1520PtHighMax && aod::hpcorrresonance::lambda1520Tag != static_cast(kMassOutside); - Partition drAssocLambda1520BarLowPt = cfgResPartitions.lambda1520BarPtLowMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.lambda1520BarPtLowMax && aod::hpcorrresonance::lambda1520BarTag != static_cast(kMassOutside); - Partition drAssocLambda1520BarHighPt = cfgResPartitions.lambda1520BarPtHighMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.lambda1520BarPtHighMax && aod::hpcorrresonance::lambda1520BarTag != static_cast(kMassOutside); + Partition drAssocTracksLowPt = cfgPartitions.c2014assocPtLowMin < aod::hpcorrtrack::pt && aod::hpcorrtrack::pt < cfgPartitions.c2015assocPtLowMax; + Partition drAssocTracksHighPt = cfgPartitions.c2016assocPtHighMin < aod::hpcorrtrack::pt && aod::hpcorrtrack::pt < cfgPartitions.c2017assocPtHighMax; + + Partition drAssocPhiLowPt = cfgResPartitions.c2020phiPtLowMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.c2021phiPtLowMax && aod::hpcorrresonance::phi1020Tag != static_cast(kMassOutside); + Partition drAssocPhiHighPt = cfgResPartitions.c2022phiPtHighMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.c2023phiPtHighMax && aod::hpcorrresonance::phi1020Tag != static_cast(kMassOutside); + Partition drAssocKStarLowPt = cfgResPartitions.c2024kstarPtLowMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.c2025kstarPtLowMax && aod::hpcorrresonance::kStar892Tag != static_cast(kMassOutside); + Partition drAssocKStarHighPt = cfgResPartitions.c2026kstarPtHighMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.c2027kstarPtHighMax && aod::hpcorrresonance::kStar892Tag != static_cast(kMassOutside); + Partition drAssocKStarBarLowPt = cfgResPartitions.c2028kstarBarPtLowMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.c2029kstarBarPtLowMax && aod::hpcorrresonance::kStar892BarTag != static_cast(kMassOutside); + Partition drAssocKStarBarHighPt = cfgResPartitions.c2030kstarBarPtHighMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.c2031kstarBarPtHighMax && aod::hpcorrresonance::kStar892BarTag != static_cast(kMassOutside); + Partition drAssocLambda1520LowPt = cfgResPartitions.c2032lambda1520PtLowMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.c2033lambda1520PtLowMax && aod::hpcorrresonance::lambda1520Tag != static_cast(kMassOutside); + Partition drAssocLambda1520HighPt = cfgResPartitions.c2034lambda1520PtHighMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.c2035lambda1520PtHighMax && aod::hpcorrresonance::lambda1520Tag != static_cast(kMassOutside); + Partition drAssocLambda1520BarLowPt = cfgResPartitions.c2036lambda1520BarPtLowMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.c2037lambda1520BarPtLowMax && aod::hpcorrresonance::lambda1520BarTag != static_cast(kMassOutside); + Partition drAssocLambda1520BarHighPt = cfgResPartitions.c2038lambda1520BarPtHighMin < aod::hpcorrresonance::pt && aod::hpcorrresonance::pt < cfgResPartitions.c2039lambda1520BarPtHighMax && aod::hpcorrresonance::lambda1520BarTag != static_cast(kMassOutside); int dfNumber = 0; void processNothing(aod::Origins const& origins) { - if (cfgDebug.printDebugMessages) { + if (cfgDebug.c2001printDebugMessages) { LOG(info) << "DEBUG :: Process Nothing :: df_" << dfNumber << " :: origins = " << origins.size(); } // Intentionally empty. // Keeps the task alive when running purely on derived data. } - PROCESS_SWITCH(HParticleCorrelationMixedEvent, processNothing, "Dummy process for analysis", true); + PROCESS_SWITCH(HParticleCorrelation3MixedEvent, processNothing, "Dummy process for analysis", true); int nColl = 0; - void processMixEventInDeriveData(aod::Origins const& origins, aod::HPCorrCollisions const& drCollisions, aod::HPCorrTracks const& drFullTracks, aod::HPCorrResonances const& drResonanceCndts /*, o2::aod::Origins const& Origins, aod::BCsWithTimestamps const&*/) + void processMixEventInDeriveData(aod::Origins const& origins, aod::HPCorrColls const& drCollisions, aod::HPCorrTracks const& drFullTracks, aod::HPCorrResonances const& drResonanceCndts /*, o2::aod::Origins const& Origins, aod::BCsWithTimestamps const&*/) { dfNumber++; - if (cfgDebug.printDebugMessages) { + if (cfgDebug.c2001printDebugMessages) { LOG(info) << "DEBUG :: df_" << dfNumber << " :: origins = " << origins.size() << " :: drCollisions = " << drCollisions.size() << " :: drFullTracks = " << drFullTracks.size() << " :: drResonanceCndts = " << drResonanceCndts.size(); } @@ -4916,15 +4916,15 @@ struct HParticleCorrelationMixedEvent { int64_t nBadResonanceCollision = 0; int64_t nBadResonanceDaughters = 0; for (const auto& coll : drCollisions) { - auto drTracksPerColl = drFullTracks.sliceByCached(aod::hpcorrtrack::hpCorrCollisionId, coll.globalIndex(), cache); - auto drResonancesPerColl = drResonanceCndts.sliceByCached(aod::hpcorrresonance::hpCorrCollisionId, coll.globalIndex(), cache); - auto drTriggerTracksPerColl = drTriggerTracks->sliceByCached(aod::hpcorrtrack::hpCorrCollisionId, coll.globalIndex(), cache); - auto drPosTracksPerColl = drPosTracks->sliceByCached(aod::hpcorrtrack::hpCorrCollisionId, coll.globalIndex(), cache); - auto drNegTracksPerColl = drNegTracks->sliceByCached(aod::hpcorrtrack::hpCorrCollisionId, coll.globalIndex(), cache); - auto drAssocTracksLowPtPerColl = drAssocTracksLowPt->sliceByCached(aod::hpcorrtrack::hpCorrCollisionId, coll.globalIndex(), cache); - auto drAssocTracksHighPtPerColl = drAssocTracksHighPt->sliceByCached(aod::hpcorrtrack::hpCorrCollisionId, coll.globalIndex(), cache); - auto drAssocPhiLowPtPerColl = drAssocPhiLowPt->sliceByCached(aod::hpcorrresonance::hpCorrCollisionId, coll.globalIndex(), cache); - auto drAssocPhiHighPtPerColl = drAssocPhiHighPt->sliceByCached(aod::hpcorrresonance::hpCorrCollisionId, coll.globalIndex(), cache); + auto drTracksPerColl = drFullTracks.sliceByCached(aod::hpcorrtrack::hpCorrCollId, coll.globalIndex(), cache); + auto drResonancesPerColl = drResonanceCndts.sliceByCached(aod::hpcorrresonance::hpCorrCollId, coll.globalIndex(), cache); + auto drTriggerTracksPerColl = drTriggerTracks->sliceByCached(aod::hpcorrtrack::hpCorrCollId, coll.globalIndex(), cache); + auto drPosTracksPerColl = drPosTracks->sliceByCached(aod::hpcorrtrack::hpCorrCollId, coll.globalIndex(), cache); + auto drNegTracksPerColl = drNegTracks->sliceByCached(aod::hpcorrtrack::hpCorrCollId, coll.globalIndex(), cache); + auto drAssocTracksLowPtPerColl = drAssocTracksLowPt->sliceByCached(aod::hpcorrtrack::hpCorrCollId, coll.globalIndex(), cache); + auto drAssocTracksHighPtPerColl = drAssocTracksHighPt->sliceByCached(aod::hpcorrtrack::hpCorrCollId, coll.globalIndex(), cache); + auto drAssocPhiLowPtPerColl = drAssocPhiLowPt->sliceByCached(aod::hpcorrresonance::hpCorrCollId, coll.globalIndex(), cache); + auto drAssocPhiHighPtPerColl = drAssocPhiHighPt->sliceByCached(aod::hpcorrresonance::hpCorrCollId, coll.globalIndex(), cache); if (coll.globalIndex() != coll.globalCollisionId()) { nBadCollisionIndex++; @@ -4933,9 +4933,9 @@ struct HParticleCorrelationMixedEvent { for (const auto& track : drTracksPerColl) { nTrackChecks++; - if (track.hpCorrCollisionId() != coll.globalIndex()) { + if (track.hpCorrCollId() != coll.globalIndex()) { nBadTrackCollision++; - LOG(error) << "TRACK CHECK :: hpCorrCollisionId mismatch :: " << track.hpCorrCollisionId() << " != " << coll.globalIndex(); + LOG(error) << "TRACK CHECK :: hpCorrCollId mismatch :: " << track.hpCorrCollId() << " != " << coll.globalIndex(); } if (track.globalColRefId() != coll.globalCollisionId()) { nBadTrackCollision++; @@ -4958,9 +4958,9 @@ struct HParticleCorrelationMixedEvent { for (const auto& resonance : drResonancesPerColl) { nResonanceChecks++; - if (resonance.hpCorrCollisionId() != coll.globalIndex()) { + if (resonance.hpCorrCollId() != coll.globalIndex()) { nBadResonanceCollision++; - LOG(error) << "RESONANCE CHECK :: hpCorrCollisionId mismatch :: " << resonance.hpCorrCollisionId() << " != " << coll.globalIndex(); + LOG(error) << "RESONANCE CHECK :: hpCorrCollId mismatch :: " << resonance.hpCorrCollId() << " != " << coll.globalIndex(); } if (resonance.globalColRefId() != coll.globalCollisionId()) { nBadResonanceCollision++; @@ -5018,13 +5018,13 @@ struct HParticleCorrelationMixedEvent { LOG(error) << "DAUGHTER CHECK :: resonance/negTrack dataframeID mismatch :: " << resonance.dataframeID() << " != " << negTrack.dataframeID(); } - if (posTrack.hpCorrCollisionId() != coll.globalIndex()) { + if (posTrack.hpCorrCollId() != coll.globalIndex()) { nBadResonanceDaughters++; - LOG(error) << "DAUGHTER CHECK :: positive daughter belongs to wrong collision :: " << posTrack.hpCorrCollisionId() << " != " << coll.globalIndex(); + LOG(error) << "DAUGHTER CHECK :: positive daughter belongs to wrong collision :: " << posTrack.hpCorrCollId() << " != " << coll.globalIndex(); } - if (negTrack.hpCorrCollisionId() != coll.globalIndex()) { + if (negTrack.hpCorrCollId() != coll.globalIndex()) { nBadResonanceDaughters++; - LOG(error) << "DAUGHTER CHECK :: negative daughter belongs to wrong collision :: " << negTrack.hpCorrCollisionId() << " != " << coll.globalIndex(); + LOG(error) << "DAUGHTER CHECK :: negative daughter belongs to wrong collision :: " << negTrack.hpCorrCollId() << " != " << coll.globalIndex(); } if (posTrack.originalColRefId() != coll.originalCollisionId()) { @@ -5057,11 +5057,11 @@ struct HParticleCorrelationMixedEvent { nColl++; } // Collision loop is over - if (cfgDebug.printDebugMessages) { + if (cfgDebug.c2001printDebugMessages) { LOG(info) << "DEBUG :: SANITY CHECK SUMMARY :: bad collision indices = " << nBadCollisionIndex << " :: tracks checked = " << nTrackChecks << " :: bad track references = " << nBadTrackCollision << " :: resonances checked = " << nResonanceChecks << " :: bad resonance collision references = " << nBadResonanceCollision << " :: bad resonance daughter references = " << nBadResonanceDaughters; } if (nBadCollisionIndex == 0 && nBadTrackCollision == 0 && nBadResonanceCollision == 0 && nBadResonanceDaughters == 0) { - if (cfgDebug.printDebugMessages) { + if (cfgDebug.c2001printDebugMessages) { LOG(info) << "DEBUG :: SANITY CHECK PASSED"; } } else { @@ -5077,7 +5077,7 @@ struct HParticleCorrelationMixedEvent { partnerCountPerTriggerEvent[collision.globalIndex()] = 0; } - for (const auto& [collision1, collision2] : selfCombinations(colBinning, cfgMixing.nEvtMixing, -1, collisionPool, collisionPool)) { + for (const auto& [collision1, collision2] : selfCombinations(colBinning, cfgMixing.c2008nEvtMixing, -1, collisionPool, collisionPool)) { nMixedEventPairs++; if (collision1.dataframeID() == collision2.dataframeID() && collision1.originalCollisionId() == collision2.originalCollisionId()) { @@ -5139,8 +5139,8 @@ struct HParticleCorrelationMixedEvent { static_assert(MixChannel >= 0, "Invalid track mixing-operation channel"); runRestrictedMixing(colBinning, collisionPool, MixChannel, [&](const auto& collision1, const auto& collision2) { - auto triggerTracks1 = drTriggerTracks->sliceByCached(aod::hpcorrtrack::hpCorrCollisionId, collision1.globalIndex(), cache); - auto associates2 = assocPartition->sliceByCached(aod::hpcorrtrack::hpCorrCollisionId, collision2.globalIndex(), cache); + auto triggerTracks1 = drTriggerTracks->sliceByCached(aod::hpcorrtrack::hpCorrCollId, collision1.globalIndex(), cache); + auto associates2 = assocPartition->sliceByCached(aod::hpcorrtrack::hpCorrCollId, collision2.globalIndex(), cache); executeDerivedCorrelationRole(histReg, triggerTracks1, associates2); }); @@ -5165,8 +5165,8 @@ struct HParticleCorrelationMixedEvent { static_assert(MixChannel >= 0, "Invalid resonance mixing-operation channel"); runRestrictedMixing(colBinning, collisionPool, MixChannel, [&](const auto& collision1, const auto& collision2) { - auto triggerTracks1 = drTriggerTracks->sliceByCached(aod::hpcorrtrack::hpCorrCollisionId, collision1.globalIndex(), cache); - auto associates2 = assocPartition->sliceByCached(aod::hpcorrresonance::hpCorrCollisionId, collision2.globalIndex(), cache); + auto triggerTracks1 = drTriggerTracks->sliceByCached(aod::hpcorrtrack::hpCorrCollId, collision1.globalIndex(), cache); + auto associates2 = assocPartition->sliceByCached(aod::hpcorrresonance::hpCorrCollId, collision2.globalIndex(), cache); associates2.bindExternalIndices(&drFullTracks); @@ -5211,7 +5211,7 @@ struct HParticleCorrelationMixedEvent { runResoRegionMixing.template operator()(colBinning, drMixHLambdaBarHighPtRSB, drAssocLambda1520BarHighPt, hLambdaBarCorrelation); }; - switch (cfgMixing.mixingEstimator) { + switch (cfgMixing.c2009mixingEstimator) { case kMixCentFT0C: runAllTrackMixing(colBinningFT0C); runAllResoMixing(colBinningFT0C); @@ -5233,20 +5233,20 @@ struct HParticleCorrelationMixedEvent { break; default: - LOG(fatal) << "DEBUG :: Invalid mixingEstimator = " << static_cast(cfgMixing.mixingEstimator); + LOG(fatal) << "DEBUG :: Invalid mixingEstimator = " << static_cast(cfgMixing.c2009mixingEstimator); break; } - if (cfgDebug.printDebugMessages) { + if (cfgDebug.c2001printDebugMessages) { LOG(info) << "DEBUG :: EVENT MIXING SUMMARY :: mixed collision pairs = " << nMixedEventPairs; } } - PROCESS_SWITCH(HParticleCorrelationMixedEvent, processMixEventInDeriveData, "Process Mix event in derive data", true); + PROCESS_SWITCH(HParticleCorrelation3MixedEvent, processMixEventInDeriveData, "Process Mix event in derive data", true); }; WorkflowSpec defineDataProcessing(ConfigContext const& context) { return WorkflowSpec{ - adaptAnalysisTask(context), - adaptAnalysisTask(context), - adaptAnalysisTask(context)}; + adaptAnalysisTask(context), + adaptAnalysisTask(context), + adaptAnalysisTask(context)}; }