Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
83d6000
[PWGLF] Fix ownership of CCDB efficiency maps in phiStrangeCorrelation
scannito Oct 16, 2026
ecefcba
[PWGLF] Clean up phiStrangeCorrelation
scannito Oct 16, 2026
c6fc31d
[PWGLF] Fill the weighted histograms with Sumw2 in phiStrangeCorrelation
scannito Oct 16, 2026
a796c78
[PWGLF] Drop and count candidates with zero efficiency in phiStrangeC…
scannito Nov 12, 2026
03ce238
[PWGLF] Keep the generated phi triggers with eventSelectionType 1 in …
scannito Nov 18, 2026
19f1a12
[PWGLF] Optional RCT flag selection in the event selection of phiStra…
scannito Nov 20, 2026
fcb4223
[PWGLF] Count generated anti-Lambdas as AntiLambda in phiStrangeCorre…
scannito Nov 23, 2026
7a214fb
[PWGLF] Phi signal window of the event selection as one pair, as in p…
scannito Nov 23, 2026
c464ae4
[PWGLF] Defaults of phiStrangeCorrelation and phiStrangeCorrelator al…
scannito Nov 23, 2026
789ef9d
[PWGLF] Separate switches for the V0 ctau cuts and competing-mass rej…
scannito Nov 23, 2026
043caff
[PWGLF] Pion nSigma split by TOF in the phiStrangeCorrelator pion pro…
scannito Nov 24, 2026
e744e3c
[PWGLF] One TOF threshold for the pion PID in phiStrangeCorrelator an…
scannito Nov 24, 2026
7488980
[PWGLF] Generated multiplicity in the MC histograms of the phiStrange…
scannito Nov 25, 2026
5445783
[PWGLF] Phi requirement only on selected events in the phiStrangeCorr…
scannito Nov 25, 2026
eb8ddc1
[PWGLF] tofPIDThreshold of the phiStrangeCorrelator pion producer ren…
scannito Nov 25, 2026
d13ba5b
[PWGLF] activeCorrelationTypes of phiStrangeCorrelation as a list of …
scannito Nov 25, 2026
b12fb4c
[PWGLF] Generated phi as phi -> K+K- in phiStrangeCorrelation and phi…
scannito Nov 26, 2026
a62174c
[PWGLF] Event selection of phiStrangeCorrelator as one level instead …
scannito Nov 26, 2026
aeb63b1
[PWGLF] Wider DCAxy axis of the pion MC templates in phiStrangeCorrel…
scannito Nov 26, 2026
62ba249
[PWGLF] DCAxy of the selected pion tracks in data in phiStrangeCorrel…
scannito Nov 26, 2026
47a83c4
[PWGLF] V0 and cascade selections of phiStrangeCorrelator aligned wit…
scannito Nov 26, 2026
6062e25
[PWGLF] Generated phi candidates of phiStrangeCorrelator indexed to M…
scannito Nov 27, 2026
8fad67f
[PWGLF] True generated phi of phiStrangeCorrelator written with its mass
scannito Nov 27, 2026
66b8afc
[PWGLF] Candidates beyond the efficiency maps of phiStrangeCorrelatio…
scannito Nov 27, 2026
72b9cf0
[PWGLF] Mixed event of phiStrangeCorrelation only for the active species
scannito Nov 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 24 additions & 14 deletions PWGLF/DataModel/LFPhiStrangeCorrelationTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,34 @@
#include <Framework/ASoA.h>
#include <Framework/AnalysisDataModel.h>

#include <cstdint>
#include <cstdlib>

namespace o2::aod
{
namespace lf_selection_event
{
DECLARE_SOA_COLUMN(DefaultSel, defaultSel, bool);
DECLARE_SOA_COLUMN(PhimesonSel, phimesonSel, bool);
// The selection an event passes, each level containing the next: an event with a phi is a selected event
enum Level : uint8_t {
kRejected = 0,
kDefault, // the default event selection
kDefaultWithPhi, // the default event selection and a phi
};
DECLARE_SOA_COLUMN(SelectionLevel, selectionLevel, uint8_t);
} // namespace lf_selection_event

DECLARE_SOA_TABLE(PhiStrangeEvtSelDataLike, "AOD", "EVTSELDATA",
lf_selection_event::DefaultSel,
lf_selection_event::PhimesonSel);
lf_selection_event::SelectionLevel);

DECLARE_SOA_TABLE(PhiStrangeEvtSelMcGen, "AOD", "EVTSELMCGEN",
lf_selection_event::DefaultSel,
lf_selection_event::PhimesonSel);
lf_selection_event::SelectionLevel);

namespace lf_selection_phi_candidate
{
DECLARE_SOA_INDEX_COLUMN(Collision, collision);
// A generated candidate belongs to a generated collision: with an index to Collisions, a process over McCollisions
// would receive the candidates of the whole DF instead of those of its collision
DECLARE_SOA_INDEX_COLUMN(McCollision, mcCollision);

DECLARE_SOA_COLUMN(M, m, float);
DECLARE_SOA_COLUMN(Pt, pt, float);
Expand Down Expand Up @@ -72,7 +79,7 @@ DECLARE_SOA_TABLE(PhimesonCandidatesMcReco, "AOD", "PHICANDMCREC",

DECLARE_SOA_TABLE(PhimesonCandidatesMcGen, "AOD", "PHICANDMCGEN",
soa::Index<>,
lf_selection_phi_candidate::CollisionId,
lf_selection_phi_candidate::McCollisionId,
lf_selection_phi_candidate::M,
lf_selection_phi_candidate::Pt,
lf_selection_phi_candidate::Y,
Expand Down Expand Up @@ -193,14 +200,17 @@ DECLARE_SOA_COLUMN(NSigmaTOF, nSigmaTOF, float);
DECLARE_SOA_COLUMN(Pt, pt, float);
DECLARE_SOA_COLUMN(Y, y, float);
DECLARE_SOA_COLUMN(Phi, phi, float);
DECLARE_SOA_COLUMN(HasTOF, hasTOF, bool);
// Whether the TOF enters the PID of this track: it has a TOF signal and pT >= minPtTOFInPID of the producer, the
// threshold above which the producer also requires the TOF. Below it the pion is identified with the TPC alone, track
// with TOF or not, so that one threshold, in one place, decides where the TOF is used.
DECLARE_SOA_COLUMN(UseTOFInPID, useTOFInPID, bool);

DECLARE_SOA_DYNAMIC_COLUMN(InNSigmaRegion, inNSigmaRegion,
[](float nSigmaTPC, bool hasTOF, float nSigmaTOF, float pidTPCMax, float pidTOFMax) -> bool {
[](float nSigmaTPC, bool useTOFInPID, float nSigmaTOF, float pidTPCMax, float pidTOFMax) -> bool {
if (std::abs(nSigmaTPC) >= pidTPCMax) {
return false; // TPC check failed
}
if (hasTOF && std::abs(nSigmaTOF) >= pidTOFMax) {
if (useTOFInPID && std::abs(nSigmaTOF) >= pidTOFMax) {
return false; // TOF check failed
}
return true;
Expand All @@ -215,9 +225,9 @@ DECLARE_SOA_TABLE(PionTracksData, "AOD", "PITRACKSDATA",
lf_selection_pion_track::Pt,
lf_selection_pion_track::Y,
lf_selection_pion_track::Phi,
lf_selection_pion_track::HasTOF,
lf_selection_pion_track::UseTOFInPID,
lf_selection_pion_track::InNSigmaRegion<lf_selection_pion_track::NSigmaTPC,
lf_selection_pion_track::HasTOF,
lf_selection_pion_track::UseTOFInPID,
lf_selection_pion_track::NSigmaTOF>);

DECLARE_SOA_TABLE(PionTracksMcReco, "AOD", "PITRACKSMCREC",
Expand All @@ -228,9 +238,9 @@ DECLARE_SOA_TABLE(PionTracksMcReco, "AOD", "PITRACKSMCREC",
lf_selection_pion_track::Pt,
lf_selection_pion_track::Y,
lf_selection_pion_track::Phi,
lf_selection_pion_track::HasTOF,
lf_selection_pion_track::UseTOFInPID,
lf_selection_pion_track::InNSigmaRegion<lf_selection_pion_track::NSigmaTPC,
lf_selection_pion_track::HasTOF,
lf_selection_pion_track::UseTOFInPID,
lf_selection_pion_track::NSigmaTOF>);
} // namespace o2::aod

Expand Down
Loading
Loading