Skip to content

Commit 9415150

Browse files
author
Francesco Mazzaschi
committed
DoubleOmega:Improve findable study + kaon PID information
1 parent baa4dcf commit 9415150

2 files changed

Lines changed: 291 additions & 132 deletions

File tree

PWGLF/DataModel/LFDoubleOmegaTables.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
#include <Framework/AnalysisDataModel.h>
1616

17+
#include <cstdint>
18+
1719
namespace o2::aod
1820
{
1921

@@ -25,6 +27,9 @@ DECLARE_SOA_COLUMN(PhiDoubleOmega, phiDoubleOmega, float);
2527
DECLARE_SOA_COLUMN(DecayVtxX, decayVtxX, float);
2628
DECLARE_SOA_COLUMN(DecayVtxY, decayVtxY, float);
2729
DECLARE_SOA_COLUMN(DecayVtxZ, decayVtxZ, float);
30+
DECLARE_SOA_COLUMN(PrimaryVtxX, primaryVtxX, float);
31+
DECLARE_SOA_COLUMN(PrimaryVtxY, primaryVtxY, float);
32+
DECLARE_SOA_COLUMN(PrimaryVtxZ, primaryVtxZ, float);
2833
DECLARE_SOA_COLUMN(CosPAOmega, cosPAOmega, float);
2934
DECLARE_SOA_COLUMN(CosPADirectLambda, cosPADirectLambda, float);
3035
DECLARE_SOA_COLUMN(CosPADoubleOmega, cosPADoubleOmega, float);
@@ -34,6 +39,12 @@ DECLARE_SOA_COLUMN(DCAxyDirectLambdaToPV, dcaXYDirectLambdaToPV, float);
3439
DECLARE_SOA_COLUMN(DCAzDirectLambdaToPV, dcaZDirectLambdaToPV, float);
3540
DECLARE_SOA_COLUMN(DCAxyDirectKaonToPV, dcaXYDirectKaonToPV, float);
3641
DECLARE_SOA_COLUMN(DCAzDirectKaonToPV, dcaZDirectKaonToPV, float);
42+
DECLARE_SOA_COLUMN(TPCNSigmaDirectKaon, tpcNSigmaDirectKaon, float); // -999 when TPC is unavailable or the candidate is not reconstructed.
43+
DECLARE_SOA_COLUMN(TOFNSigmaDirectKaon, tofNSigmaDirectKaon, float); // -999 when TOF is unavailable or the candidate is not reconstructed.
44+
// Three bits per daughter (ITS, TPC, TOF), ordered as: Omega kaon, Omega
45+
// proton, Omega pion, direct proton, direct pion, direct kaon (also for c.c.).
46+
// Bits 18-31 are zero; generated-only rows have a zero bitmap.
47+
DECLARE_SOA_COLUMN(DaughterDetectorMap, daughterDetectorMap, uint32_t);
3748
DECLARE_SOA_COLUMN(MassDoubleOmega, massDoubleOmega, float);
3849
DECLARE_SOA_COLUMN(MassOmega, massOmega, float);
3950
DECLARE_SOA_COLUMN(MassXi, massXi, float);
@@ -43,6 +54,7 @@ DECLARE_SOA_COLUMN(GenEta, genEta, float);
4354
DECLARE_SOA_COLUMN(GenPhi, genPhi, float);
4455
DECLARE_SOA_COLUMN(GenDecayLength, genDecayLength, float);
4556
DECLARE_SOA_COLUMN(PdgDoubleOmega, pdgDoubleOmega, int);
57+
DECLARE_SOA_COLUMN(GenMotherId, genMotherId, int64_t); // MC particle index within the input dataframe.
4658
DECLARE_SOA_COLUMN(IsReco, isReco, bool);
4759
} // namespace DoubleOmegaTables
4860

@@ -53,6 +65,9 @@ DECLARE_SOA_COLUMN(IsReco, isReco, bool);
5365
DoubleOmegaTables::DecayVtxX, \
5466
DoubleOmegaTables::DecayVtxY, \
5567
DoubleOmegaTables::DecayVtxZ, \
68+
DoubleOmegaTables::PrimaryVtxX, \
69+
DoubleOmegaTables::PrimaryVtxY, \
70+
DoubleOmegaTables::PrimaryVtxZ, \
5671
DoubleOmegaTables::CosPAOmega, \
5772
DoubleOmegaTables::CosPADirectLambda, \
5873
DoubleOmegaTables::CosPADoubleOmega, \
@@ -62,6 +77,9 @@ DECLARE_SOA_COLUMN(IsReco, isReco, bool);
6277
DoubleOmegaTables::DCAzDirectLambdaToPV, \
6378
DoubleOmegaTables::DCAxyDirectKaonToPV, \
6479
DoubleOmegaTables::DCAzDirectKaonToPV, \
80+
DoubleOmegaTables::TPCNSigmaDirectKaon, \
81+
DoubleOmegaTables::TOFNSigmaDirectKaon, \
82+
DoubleOmegaTables::DaughterDetectorMap, \
6583
DoubleOmegaTables::MassDoubleOmega, \
6684
DoubleOmegaTables::MassOmega, \
6785
DoubleOmegaTables::MassXi
@@ -76,6 +94,7 @@ DECLARE_SOA_TABLE(DoubleOmegaTableMC, "AOD", "DBLOMEGAMCTABLE",
7694
DoubleOmegaTables::GenPhi,
7795
DoubleOmegaTables::GenDecayLength,
7896
DoubleOmegaTables::PdgDoubleOmega,
97+
DoubleOmegaTables::GenMotherId,
7998
DoubleOmegaTables::IsReco);
8099

81100
#undef DOUBLE_OMEGA_RECO_COLUMNS

0 commit comments

Comments
 (0)