Skip to content

Commit 9fe4e71

Browse files
fmazzascFrancesco Mazzaschi
andauthored
[PWGLF] doubleomegatask: fix dca calculation and update data model (#17979)
Co-authored-by: Francesco Mazzaschi <fmazzasc@alipap1.cern.ch>
1 parent 94313d8 commit 9fe4e71

2 files changed

Lines changed: 146 additions & 65 deletions

File tree

PWGLF/DataModel/LFDoubleOmegaTables.h

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,18 @@ DECLARE_SOA_COLUMN(PrimaryVtxZ, primaryVtxZ, float);
3333
DECLARE_SOA_COLUMN(CosPAOmega, cosPAOmega, float);
3434
DECLARE_SOA_COLUMN(CosPADirectLambda, cosPADirectLambda, float);
3535
DECLARE_SOA_COLUMN(CosPADoubleOmega, cosPADoubleOmega, float);
36+
DECLARE_SOA_COLUMN(CosPAOmegaToPV, cosPAOmegaToPV, float);
37+
DECLARE_SOA_COLUMN(CosPADirectLambdaToPV, cosPADirectLambdaToPV, float);
3638
DECLARE_SOA_COLUMN(DCAxyOmegaToPV, dcaXYOmegaToPV, float);
37-
DECLARE_SOA_COLUMN(DCAzOmegaToPV, dcaZOmegaToPV, float);
3839
DECLARE_SOA_COLUMN(DCAxyDirectLambdaToPV, dcaXYDirectLambdaToPV, float);
39-
DECLARE_SOA_COLUMN(DCAzDirectLambdaToPV, dcaZDirectLambdaToPV, float);
4040
DECLARE_SOA_COLUMN(DCAxyDirectKaonToPV, dcaXYDirectKaonToPV, float);
41-
DECLARE_SOA_COLUMN(DCAzDirectKaonToPV, dcaZDirectKaonToPV, float);
41+
// Transverse DCA to the primary vertex of the final-state tracks, ordered as
42+
// the detector map: Omega kaon, Omega proton, Omega pion, direct proton, direct pion.
43+
DECLARE_SOA_COLUMN(DCAxyOmegaKaonToPV, dcaXYOmegaKaonToPV, float);
44+
DECLARE_SOA_COLUMN(DCAxyOmegaProtonToPV, dcaXYOmegaProtonToPV, float);
45+
DECLARE_SOA_COLUMN(DCAxyOmegaPionToPV, dcaXYOmegaPionToPV, float);
46+
DECLARE_SOA_COLUMN(DCAxyDirectProtonToPV, dcaXYDirectProtonToPV, float);
47+
DECLARE_SOA_COLUMN(DCAxyDirectPionToPV, dcaXYDirectPionToPV, float);
4248
DECLARE_SOA_COLUMN(TPCNSigmaDirectKaon, tpcNSigmaDirectKaon, float); // -999 when TPC is unavailable or the candidate is not reconstructed.
4349
DECLARE_SOA_COLUMN(TOFNSigmaDirectKaon, tofNSigmaDirectKaon, float); // -999 when TOF is unavailable or the candidate is not reconstructed.
4450
// Three bits per daughter (ITS, TPC, TOF), ordered as: Omega kaon, Omega
@@ -71,12 +77,16 @@ DECLARE_SOA_COLUMN(IsReco, isReco, bool);
7177
DoubleOmegaTables::CosPAOmega, \
7278
DoubleOmegaTables::CosPADirectLambda, \
7379
DoubleOmegaTables::CosPADoubleOmega, \
80+
DoubleOmegaTables::CosPAOmegaToPV, \
81+
DoubleOmegaTables::CosPADirectLambdaToPV, \
7482
DoubleOmegaTables::DCAxyOmegaToPV, \
75-
DoubleOmegaTables::DCAzOmegaToPV, \
7683
DoubleOmegaTables::DCAxyDirectLambdaToPV, \
77-
DoubleOmegaTables::DCAzDirectLambdaToPV, \
7884
DoubleOmegaTables::DCAxyDirectKaonToPV, \
79-
DoubleOmegaTables::DCAzDirectKaonToPV, \
85+
DoubleOmegaTables::DCAxyOmegaKaonToPV, \
86+
DoubleOmegaTables::DCAxyOmegaProtonToPV, \
87+
DoubleOmegaTables::DCAxyOmegaPionToPV, \
88+
DoubleOmegaTables::DCAxyDirectProtonToPV, \
89+
DoubleOmegaTables::DCAxyDirectPionToPV, \
8090
DoubleOmegaTables::TPCNSigmaDirectKaon, \
8191
DoubleOmegaTables::TOFNSigmaDirectKaon, \
8292
DoubleOmegaTables::DaughterDetectorMap, \

0 commit comments

Comments
 (0)