From d466afebe92ef61a2b3cd09c0706e4079c913afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Mon, 7 Jun 2021 20:02:00 +0200 Subject: [PATCH 1/6] Fix micro to mu --- .../DataModel/include/AnalysisDataModel/HFSecondaryVertex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Analysis/DataModel/include/AnalysisDataModel/HFSecondaryVertex.h b/Analysis/DataModel/include/AnalysisDataModel/HFSecondaryVertex.h index c6814461b288a..1db71decd538b 100644 --- a/Analysis/DataModel/include/AnalysisDataModel/HFSecondaryVertex.h +++ b/Analysis/DataModel/include/AnalysisDataModel/HFSecondaryVertex.h @@ -297,7 +297,7 @@ auto InvMassJpsiToEE(const T& candidate) return candidate.m(array{RecoDecay::getMassPDG(kElectron), RecoDecay::getMassPDG(kElectron)}); } -// J/ψ → µ+ µ− +// J/ψ → μ+ μ− template auto InvMassJpsiToMuMu(const T& candidate) From 725f485209ec81b3292b12d67b6e3de5ffe57075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Tue, 8 Jun 2021 12:11:59 +0200 Subject: [PATCH 2/6] Add ALICE 2/3 switch --- .../PWGHF/HFJpsiToEECandidateSelector.cxx | 50 ++++++++++--------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx b/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx index 0f6eb8e393dbe..4b6f8166910e8 100644 --- a/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx +++ b/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx @@ -91,13 +91,13 @@ struct Alice3PidIndexBuilder { struct HFJpsiToEECandidateSelector { Produces hfSelJpsiToEECandidate; + Configurable isALICE3{"isALICE3", false, "Switch between ALICE 2 and ALICE 3 detector setup"}; Configurable d_pTCandMin{"d_pTCandMin", 0., "Lower bound of candidate pT"}; Configurable d_pTCandMax{"d_pTCandMax", 50., "Upper bound of candidate pT"}; // TPC Configurable d_pidTPCMinpT{"d_pidTPCMinpT", 0.15, "Lower bound of track pT for TPC PID"}; Configurable d_pidTPCMaxpT{"d_pidTPCMaxpT", 10., "Upper bound of track pT for TPC PID"}; Configurable d_nSigmaTPC{"d_nSigmaTPC", 3., "Nsigma cut on TPC only"}; - //Configurable d_TPCNClsFindablePIDCut{"d_TPCNClsFindablePIDCut", 70., "Lower bound of TPC findable clusters for good PID"}; // TOF Configurable d_pidTOFMinpT{"d_pidTOFMinpT", 0.15, "Lower bound of track pT for TOF PID"}; Configurable d_pidTOFMaxpT{"d_pidTOFMaxpT", 5., "Upper bound of track pT for TOF PID"}; @@ -107,7 +107,6 @@ struct HFJpsiToEECandidateSelector { Configurable d_pidRICHMinpT{"d_pidRICHMinpT", 0.15, "Lower bound of track pT for RICH PID"}; Configurable d_pidRICHMaxpT{"d_pidRICHMaxpT", 10., "Upper bound of track pT for RICH PID"}; Configurable d_nSigmaRICH{"d_nSigmaRICH", 3., "Nsigma cut on RICH only"}; - // topological cuts Configurable> pTBins{"pTBins", std::vector{hf_cuts_jpsi_toee::pTBins_v}, "pT bin limits"}; Configurable> cuts{"Jpsi_to_ee_cuts", {hf_cuts_jpsi_toee::cuts[0], npTBins, nCutVars, pTBinLabels, cutVarLabels}, "Jpsi candidate selection per pT bin"}; @@ -191,13 +190,14 @@ struct HFJpsiToEECandidateSelector { continue; } - // track-level PID TPC selection - // FIXME: temporarily disabled for ALICE 3 development - //if (selectorElectron.getStatusTrackPIDTPC(trackPos) == TrackSelectorPID::Status::PIDRejected || - // selectorElectron.getStatusTrackPIDTPC(trackNeg) == TrackSelectorPID::Status::PIDRejected) { - // hfSelJpsiToEECandidate(0); - // continue; - //} + if (!isALICE3) { + // track-level PID TPC selection + if (selectorElectron.getStatusTrackPIDTPC(trackPos) == TrackSelectorPID::Status::PIDRejected || + selectorElectron.getStatusTrackPIDTPC(trackNeg) == TrackSelectorPID::Status::PIDRejected) { + hfSelJpsiToEECandidate(0); + continue; + } + } // track-level PID TOF selection if (selectorElectron.getStatusTrackPIDTOF(trackPos) == TrackSelectorPID::Status::PIDRejected || @@ -206,22 +206,24 @@ struct HFJpsiToEECandidateSelector { continue; } - // track-level PID RICH selection - if (selectorElectron.getStatusTrackPIDRICH(trackPos) == TrackSelectorPID::Status::PIDRejected || - selectorElectron.getStatusTrackPIDRICH(trackNeg) == TrackSelectorPID::Status::PIDRejected) { - hfSelJpsiToEECandidate(0); - continue; - } - - // track-level muon PID MID selection - //LOGF(info, "Muon selection: Start"); - if (selectorMuon.getStatusTrackPIDMID(trackPos) == TrackSelectorPID::Status::PIDRejected || - selectorMuon.getStatusTrackPIDMID(trackNeg) == TrackSelectorPID::Status::PIDRejected) { - //LOGF(info, "Muon selection: Rejected"); - hfSelJpsiToEECandidate(0); - continue; + if (isALICE3) { + // track-level PID RICH selection + if (selectorElectron.getStatusTrackPIDRICH(trackPos) == TrackSelectorPID::Status::PIDRejected || + selectorElectron.getStatusTrackPIDRICH(trackNeg) == TrackSelectorPID::Status::PIDRejected) { + hfSelJpsiToEECandidate(0); + continue; + } + + // track-level muon PID MID selection + //LOGF(info, "Muon selection: Start"); + if (selectorMuon.getStatusTrackPIDMID(trackPos) == TrackSelectorPID::Status::PIDRejected || + selectorMuon.getStatusTrackPIDMID(trackNeg) == TrackSelectorPID::Status::PIDRejected) { + //LOGF(info, "Muon selection: Rejected"); + hfSelJpsiToEECandidate(0); + continue; + } + //LOGF(info, "Muon selection: Selected"); } - //LOGF(info, "Muon selection: Selected"); hfSelJpsiToEECandidate(1); } From d31844f94e231649281efe28cf6b691579df745d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Tue, 8 Jun 2021 13:30:02 +0200 Subject: [PATCH 3/6] Reshuffle ALICE 2/3 detectors --- .../Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx b/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx index 4b6f8166910e8..dd0e1369fa10b 100644 --- a/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx +++ b/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx @@ -190,15 +190,6 @@ struct HFJpsiToEECandidateSelector { continue; } - if (!isALICE3) { - // track-level PID TPC selection - if (selectorElectron.getStatusTrackPIDTPC(trackPos) == TrackSelectorPID::Status::PIDRejected || - selectorElectron.getStatusTrackPIDTPC(trackNeg) == TrackSelectorPID::Status::PIDRejected) { - hfSelJpsiToEECandidate(0); - continue; - } - } - // track-level PID TOF selection if (selectorElectron.getStatusTrackPIDTOF(trackPos) == TrackSelectorPID::Status::PIDRejected || selectorElectron.getStatusTrackPIDTOF(trackNeg) == TrackSelectorPID::Status::PIDRejected) { @@ -223,6 +214,13 @@ struct HFJpsiToEECandidateSelector { continue; } //LOGF(info, "Muon selection: Selected"); + } else { + // track-level PID TPC selection + if (selectorElectron.getStatusTrackPIDTPC(trackPos) == TrackSelectorPID::Status::PIDRejected || + selectorElectron.getStatusTrackPIDTPC(trackNeg) == TrackSelectorPID::Status::PIDRejected) { + hfSelJpsiToEECandidate(0); + continue; + } } hfSelJpsiToEECandidate(1); From fa3b80227941941acdad2cbed830803a66d0cc2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Tue, 8 Jun 2021 13:30:23 +0200 Subject: [PATCH 4/6] =?UTF-8?q?Add=20=CE=BC+=20=CE=BC=E2=88=92=20selection?= =?UTF-8?q?=20column=20in=20selector?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HFCandidateSelectionTables.h | 6 +- Analysis/Tasks/PWGHF/HFCandidateCreatorX.cxx | 2 +- .../PWGHF/HFJpsiToEECandidateSelector.cxx | 69 ++++++++++++------- Analysis/Tasks/PWGHF/taskJpsi.cxx | 4 +- 4 files changed, 51 insertions(+), 30 deletions(-) diff --git a/Analysis/DataModel/include/AnalysisDataModel/HFCandidateSelectionTables.h b/Analysis/DataModel/include/AnalysisDataModel/HFCandidateSelectionTables.h index cd45f99573411..6780e2c324968 100644 --- a/Analysis/DataModel/include/AnalysisDataModel/HFCandidateSelectionTables.h +++ b/Analysis/DataModel/include/AnalysisDataModel/HFCandidateSelectionTables.h @@ -39,9 +39,11 @@ DECLARE_SOA_TABLE(HFSelLcCandidate, "AOD", "HFSELLCCAND", //! namespace hf_selcandidate_jpsi { DECLARE_SOA_COLUMN(IsSelJpsiToEE, isSelJpsiToEE, int); //! +DECLARE_SOA_COLUMN(IsSelJpsiToMuMu, isSelJpsiToMuMu, int); //! } // namespace hf_selcandidate_jpsi -DECLARE_SOA_TABLE(HFSelJpsiToEECandidate, "AOD", "HFSELJPSICAND", //! - hf_selcandidate_jpsi::IsSelJpsiToEE); +DECLARE_SOA_TABLE(HFSelJpsiCandidate, "AOD", "HFSELJPSICAND", //! + hf_selcandidate_jpsi::IsSelJpsiToEE, + hf_selcandidate_jpsi::IsSelJpsiToMuMu); namespace hf_selcandidate_lc_k0sp { diff --git a/Analysis/Tasks/PWGHF/HFCandidateCreatorX.cxx b/Analysis/Tasks/PWGHF/HFCandidateCreatorX.cxx index 77f54977d0b92..f257cdbba0329 100644 --- a/Analysis/Tasks/PWGHF/HFCandidateCreatorX.cxx +++ b/Analysis/Tasks/PWGHF/HFCandidateCreatorX.cxx @@ -68,7 +68,7 @@ struct HFCandidateCreatorX { void process(aod::Collision const& collision, soa::Filtered> const& jpsiCands, + aod::HFSelJpsiCandidate>> const& jpsiCands, aod::BigTracks const& tracks) { // 2-prong vertex fitter (to rebuild Jpsi vertex) diff --git a/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx b/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx index dd0e1369fa10b..9279f9701a040 100644 --- a/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx +++ b/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx @@ -89,7 +89,7 @@ struct Alice3PidIndexBuilder { /// Struct for applying J/ψ → e+ e− selection cuts struct HFJpsiToEECandidateSelector { - Produces hfSelJpsiToEECandidate; + Produces hfSelJpsiCandidate; Configurable isALICE3{"isALICE3", false, "Switch between ALICE 2 and ALICE 3 detector setup"}; Configurable d_pTCandMin{"d_pTCandMin", 0., "Lower bound of candidate pT"}; @@ -113,11 +113,11 @@ struct HFJpsiToEECandidateSelector { /// Conjugate-independent topological cuts /// \param candidate is candidate - /// \param trackPositron is the track with the positron hypothesis - /// \param trackElectron is the track with the electron hypothesis + /// \param trackPos is the positive track + /// \param trackNeg is the negative track /// \return true if candidate passes all cuts template - bool selectionTopol(const T1& candidate, const T2& trackPositron, const T2& trackElectron) + bool selectionTopol(const T1& candidate, const T2& trackPos, const T2& trackNeg, int& selEE, int& selMuMu) { auto candpT = candidate.pt(); auto pTBin = findBin(pTBins, candpT); @@ -130,23 +130,32 @@ struct HFJpsiToEECandidateSelector { return false; } - // cut on invariant mass + // cut on e+ e− invariant mass if (std::abs(InvMassJpsiToEE(candidate) - RecoDecay::getMassPDG(pdg::Code::kJpsi)) > cuts->get(pTBin, "m")) { + selEE = 0; + } + + // cut on μ+ μ− invariant mass + if (std::abs(InvMassJpsiToMuMu(candidate) - RecoDecay::getMassPDG(pdg::Code::kJpsi)) > cuts->get(pTBin, "m")) { + selMuMu = 0; + } + + if (selEE == 0 && selMuMu == 0) { return false; } - // cut on daughter pT - if (trackElectron.pt() < cuts->get(pTBin, "pT El") || trackPositron.pt() < cuts->get(pTBin, "pT El")) { + // cut on daughter pT (same cut used for both channels) + if (trackNeg.pt() < cuts->get(pTBin, "pT El") || trackPos.pt() < cuts->get(pTBin, "pT El")) { return false; } // cut on daughter DCA - need to add secondary vertex constraint here - if (std::abs(trackElectron.dcaPrim0()) > cuts->get(pTBin, "DCA_xy") || std::abs(trackPositron.dcaPrim0()) > cuts->get(pTBin, "DCA_xy")) { + if (std::abs(trackNeg.dcaPrim0()) > cuts->get(pTBin, "DCA_xy") || std::abs(trackPos.dcaPrim0()) > cuts->get(pTBin, "DCA_xy")) { return false; } // cut on daughter DCA - need to add secondary vertex constraint here - if (std::abs(trackElectron.dcaPrim1()) > cuts->get(pTBin, "DCA_z") || std::abs(trackPositron.dcaPrim1()) > cuts->get(pTBin, "DCA_z")) { + if (std::abs(trackNeg.dcaPrim1()) > cuts->get(pTBin, "DCA_z") || std::abs(trackPos.dcaPrim1()) > cuts->get(pTBin, "DCA_z")) { return false; } @@ -178,30 +187,41 @@ struct HFJpsiToEECandidateSelector { auto trackPos = candidate.index0_as(); // positive daughter auto trackNeg = candidate.index1_as(); // negative daughter - if (!(candidate.hfflag() & 1 << DecayType::JpsiToEE)) { - hfSelJpsiToEECandidate(0); + int selectedEE = 1; + int selectedMuMu = 1; + + if (!(candidate.hfflag() & 1 << DecayType::JpsiToEE) && !(candidate.hfflag() & 1 << DecayType::JpsiToMuMu)) { + hfSelJpsiCandidate(0, 0); continue; } // track selection level need to add special cuts (additional cuts on decay length and d0 norm) - if (!selectionTopol(candidate, trackPos, trackNeg)) { - hfSelJpsiToEECandidate(0); + if (!selectionTopol(candidate, trackPos, trackNeg, selectedEE, selectedMuMu)) { + hfSelJpsiCandidate(0, 0); continue; } - // track-level PID TOF selection + // track-level electron PID TOF selection if (selectorElectron.getStatusTrackPIDTOF(trackPos) == TrackSelectorPID::Status::PIDRejected || selectorElectron.getStatusTrackPIDTOF(trackNeg) == TrackSelectorPID::Status::PIDRejected) { - hfSelJpsiToEECandidate(0); + selectedEE = 0; + } + + if (selectedEE == 0 && selectedMuMu == 0) { + hfSelJpsiCandidate(0, 0); continue; } - if (isALICE3) { - // track-level PID RICH selection + if (isALICE3) { // ALICE 3 detectors + // track-level electron PID RICH selection if (selectorElectron.getStatusTrackPIDRICH(trackPos) == TrackSelectorPID::Status::PIDRejected || selectorElectron.getStatusTrackPIDRICH(trackNeg) == TrackSelectorPID::Status::PIDRejected) { - hfSelJpsiToEECandidate(0); + selectedEE = 0; + } + + if (selectedEE == 0 && selectedMuMu == 0) { + hfSelJpsiCandidate(0, 0); continue; } @@ -210,20 +230,19 @@ struct HFJpsiToEECandidateSelector { if (selectorMuon.getStatusTrackPIDMID(trackPos) == TrackSelectorPID::Status::PIDRejected || selectorMuon.getStatusTrackPIDMID(trackNeg) == TrackSelectorPID::Status::PIDRejected) { //LOGF(info, "Muon selection: Rejected"); - hfSelJpsiToEECandidate(0); - continue; + selectedMuMu = 0; } //LOGF(info, "Muon selection: Selected"); - } else { - // track-level PID TPC selection + + } else { // ALICE 2 detectors + // track-level electron PID TPC selection if (selectorElectron.getStatusTrackPIDTPC(trackPos) == TrackSelectorPID::Status::PIDRejected || selectorElectron.getStatusTrackPIDTPC(trackNeg) == TrackSelectorPID::Status::PIDRejected) { - hfSelJpsiToEECandidate(0); - continue; + selectedEE = 0; } } - hfSelJpsiToEECandidate(1); + hfSelJpsiCandidate(selectedEE, selectedMuMu); } } }; diff --git a/Analysis/Tasks/PWGHF/taskJpsi.cxx b/Analysis/Tasks/PWGHF/taskJpsi.cxx index c7cc6827e3183..57679acb28054 100644 --- a/Analysis/Tasks/PWGHF/taskJpsi.cxx +++ b/Analysis/Tasks/PWGHF/taskJpsi.cxx @@ -63,7 +63,7 @@ struct TaskJpsi { Filter filterSelectCandidates = (aod::hf_selcandidate_jpsi::isSelJpsiToEE >= d_selectionFlagJpsi); - void process(soa::Filtered> const& candidates) + void process(soa::Filtered> const& candidates) { for (auto& candidate : candidates) { if (!(candidate.hfflag() & 1 << DecayType::JpsiToEE)) { @@ -134,7 +134,7 @@ struct TaskJpsiMC { Filter filterSelectCandidates = (aod::hf_selcandidate_jpsi::isSelJpsiToEE >= d_selectionFlagJpsi); - void process(soa::Filtered> const& candidates, + void process(soa::Filtered> const& candidates, soa::Join const& particlesMC, aod::BigTracksMC const& tracks) { // MC rec. From c1bb25b638be2cb85a1fafa2fb2efaddf4aca6f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Tue, 8 Jun 2021 17:14:48 +0200 Subject: [PATCH 5/6] Define things when needed --- Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx b/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx index 9279f9701a040..03113f3348a91 100644 --- a/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx +++ b/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx @@ -184,17 +184,17 @@ struct HFJpsiToEECandidateSelector { // looping over 2-prong candidates for (auto& candidate : candidates) { + if (!(candidate.hfflag() & 1 << DecayType::JpsiToEE) && !(candidate.hfflag() & 1 << DecayType::JpsiToMuMu)) { + hfSelJpsiCandidate(0, 0); + continue; + } + auto trackPos = candidate.index0_as(); // positive daughter auto trackNeg = candidate.index1_as(); // negative daughter int selectedEE = 1; int selectedMuMu = 1; - if (!(candidate.hfflag() & 1 << DecayType::JpsiToEE) && !(candidate.hfflag() & 1 << DecayType::JpsiToMuMu)) { - hfSelJpsiCandidate(0, 0); - continue; - } - // track selection level need to add special cuts (additional cuts on decay length and d0 norm) if (!selectionTopol(candidate, trackPos, trackNeg, selectedEE, selectedMuMu)) { From 50660c06d37a5310cd86c323efa0aceabf9e3ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Tue, 8 Jun 2021 17:32:26 +0200 Subject: [PATCH 6/6] Remove ee from selector names --- Analysis/Tasks/PWGHF/CMakeLists.txt | 4 ++-- ...oEECandidateSelector.cxx => HFJpsiCandidateSelector.cxx} | 6 +++--- Analysis/Tasks/PWGHF/HFXToJpsiPiPiCandidateSelector.cxx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) rename Analysis/Tasks/PWGHF/{HFJpsiToEECandidateSelector.cxx => HFJpsiCandidateSelector.cxx} (98%) diff --git a/Analysis/Tasks/PWGHF/CMakeLists.txt b/Analysis/Tasks/PWGHF/CMakeLists.txt index 6d97dbd3a1e5b..4786abcd788d1 100644 --- a/Analysis/Tasks/PWGHF/CMakeLists.txt +++ b/Analysis/Tasks/PWGHF/CMakeLists.txt @@ -68,8 +68,8 @@ o2_add_dpl_workflow(hf-lc-candidate-selector PUBLIC_LINK_LIBRARIES O2::Framework O2::AnalysisDataModel O2::AnalysisCore O2::DetectorsVertexing COMPONENT_NAME Analysis) -o2_add_dpl_workflow(hf-jpsi-toee-candidate-selector - SOURCES HFJpsiToEECandidateSelector.cxx +o2_add_dpl_workflow(hf-jpsi-candidate-selector + SOURCES HFJpsiCandidateSelector.cxx PUBLIC_LINK_LIBRARIES O2::Framework O2::AnalysisDataModel O2::AnalysisCore O2::DetectorsVertexing O2::ALICE3Analysis COMPONENT_NAME Analysis) diff --git a/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx b/Analysis/Tasks/PWGHF/HFJpsiCandidateSelector.cxx similarity index 98% rename from Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx rename to Analysis/Tasks/PWGHF/HFJpsiCandidateSelector.cxx index 03113f3348a91..054be874f1a4c 100644 --- a/Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx +++ b/Analysis/Tasks/PWGHF/HFJpsiCandidateSelector.cxx @@ -8,7 +8,7 @@ // granted to it by virtue of its status as an Intergovernmental Organization // or submit itself to any jurisdiction. -/// \file HFJpsiToEECandidateSelector.cxx +/// \file HFJpsiCandidateSelector.cxx /// \brief J/ψ → e+ e− selection task /// /// \author Biao Zhang , CCNU @@ -88,7 +88,7 @@ struct Alice3PidIndexBuilder { }; /// Struct for applying J/ψ → e+ e− selection cuts -struct HFJpsiToEECandidateSelector { +struct HFJpsiCandidateSelector { Produces hfSelJpsiCandidate; Configurable isALICE3{"isALICE3", false, "Switch between ALICE 2 and ALICE 3 detector setup"}; @@ -253,5 +253,5 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) //adaptAnalysisTask(cfgc), //adaptAnalysisTask(cfgc), adaptAnalysisTask(cfgc), - adaptAnalysisTask(cfgc, TaskName{"hf-jpsi-toee-candidate-selector"})}; + adaptAnalysisTask(cfgc, TaskName{"hf-jpsi-candidate-selector"})}; } diff --git a/Analysis/Tasks/PWGHF/HFXToJpsiPiPiCandidateSelector.cxx b/Analysis/Tasks/PWGHF/HFXToJpsiPiPiCandidateSelector.cxx index 39a5b9675cffd..0efd8a6dbe538 100644 --- a/Analysis/Tasks/PWGHF/HFXToJpsiPiPiCandidateSelector.cxx +++ b/Analysis/Tasks/PWGHF/HFXToJpsiPiPiCandidateSelector.cxx @@ -10,7 +10,7 @@ /// \file HFXToJpsiPiPiCandidateSelector.cxx /// \brief X(3872) selection task. -/// \note Adapted from HFJpsiToEECandidateSelector.cxx +/// \note Adapted from HFJpsiCandidateSelector.cxx /// \author Rik Spijkers , Utrecht University #include "Framework/runDataProcessing.h"