Skip to content

Commit 8c5c0d9

Browse files
authored
[PWGLF] Feat/antin cex hist update (#16313)
1 parent f46209e commit 8c5c0d9

2 files changed

Lines changed: 52 additions & 168 deletions

File tree

PWGLF/DataModel/LFAntinCexTables.h

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ namespace o2::aod
2727
namespace antin_cex
2828
{
2929
// Metadata
30-
DECLARE_SOA_COLUMN(IsCex, isCex, bool); // 1=CEX (from antin), 0=BG
31-
DECLARE_SOA_COLUMN(MotherPdg, motherPdg, int32_t); // mother PDG
32-
DECLARE_SOA_COLUMN(MotherNHitIB, motherNHitIB, int); // mother IB Hits
33-
DECLARE_SOA_COLUMN(ColId, colId, int32_t); // mcCollisionId
34-
DECLARE_SOA_COLUMN(PId, pId, int32_t); // proton MC id
35-
DECLARE_SOA_COLUMN(AntipId, antipId, int32_t); // antiproton MC id
30+
DECLARE_SOA_COLUMN(IsCex, isCex, bool); // 1=CEX (from antin), 0=BG
31+
DECLARE_SOA_COLUMN(MotherPdg, motherPdg, int32_t); // mother PDG
32+
DECLARE_SOA_COLUMN(MotherP, motherP, float); // mother P
33+
DECLARE_SOA_COLUMN(ColId, colId, int32_t); // mcCollisionId
34+
DECLARE_SOA_COLUMN(PId, pId, int32_t); // proton MC id
35+
DECLARE_SOA_COLUMN(AntipId, antipId, int32_t); // antiproton MC id
3636

3737
// MC (pair)
3838
DECLARE_SOA_COLUMN(McPairP, mcPairP, float);
@@ -43,12 +43,6 @@ DECLARE_SOA_COLUMN(McAngleDeg, mcAngleDeg, float);
4343
DECLARE_SOA_COLUMN(McVtxX, mcVtxX, float);
4444
DECLARE_SOA_COLUMN(McVtxY, mcVtxY, float);
4545
DECLARE_SOA_COLUMN(McVtxZ, mcVtxZ, float);
46-
DECLARE_SOA_COLUMN(VtxNAll, vtxNAll, int16_t);
47-
DECLARE_SOA_COLUMN(VtxNCh, vtxNCh, int16_t);
48-
DECLARE_SOA_COLUMN(VtxNNeut, vtxNNeut, int16_t);
49-
DECLARE_SOA_COLUMN(VtxNPi0, vtxNPi0, int16_t);
50-
DECLARE_SOA_COLUMN(VtxNGamma, vtxNGamma, int16_t);
51-
DECLARE_SOA_COLUMN(VtxNN, vtxNN, int16_t);
5246

5347
// Tracks (pair, fitter)
5448
DECLARE_SOA_COLUMN(TrkPairP, trkPairP, float);
@@ -109,8 +103,6 @@ DECLARE_SOA_COLUMN(SVDeltaRToLayer, svDeltaRToLayer, float);
109103

110104
DECLARE_SOA_COLUMN(PTrkItsHitMap, pTrkItsHitMap, uint16_t);
111105
DECLARE_SOA_COLUMN(APTrkItsHitMap, apTrkItsHitMap, uint16_t);
112-
DECLARE_SOA_COLUMN(PLayersOk, pLayersOk, int8_t);
113-
DECLARE_SOA_COLUMN(APLayersOk, apLayersOk, int8_t);
114106

115107
DECLARE_SOA_COLUMN(PVtxZ, pVtxZ, float);
116108

@@ -128,10 +120,9 @@ DECLARE_SOA_COLUMN(AntipTrkTgl, antipTrkTgl, float);
128120
// Table
129121
DECLARE_SOA_TABLE(AntinCexPairs, "AOD", "ANTINCEX",
130122
antin_cex::IsCex,
131-
antin_cex::MotherPdg, antin_cex::MotherNHitIB, antin_cex::ColId, antin_cex::PId, antin_cex::AntipId,
123+
antin_cex::MotherPdg, antin_cex::MotherP, antin_cex::ColId, antin_cex::PId, antin_cex::AntipId,
132124
antin_cex::McPairP, antin_cex::McPairPt, antin_cex::McPairPz,
133125
antin_cex::McDplane, antin_cex::McAngleDeg, antin_cex::McVtxX, antin_cex::McVtxY, antin_cex::McVtxZ,
134-
antin_cex::VtxNAll, antin_cex::VtxNCh, antin_cex::VtxNNeut, antin_cex::VtxNPi0, antin_cex::VtxNGamma, antin_cex::VtxNN,
135126
antin_cex::TrkPairP, antin_cex::TrkPairPt, antin_cex::TrkPairPz, antin_cex::TrkAngleDeg,
136127
antin_cex::TrkVtxfitDcaPair, antin_cex::TrkVtxfitR, antin_cex::TrkVtxfitDistToPv,
137128
antin_cex::TrkVtxfitSecVtxX, antin_cex::TrkVtxfitSecVtxY, antin_cex::TrkVtxfitSecVtxZ,
@@ -143,7 +134,7 @@ DECLARE_SOA_TABLE(AntinCexPairs, "AOD", "ANTINCEX",
143134
antin_cex::PairPointingAngleDeg, antin_cex::PvsvThetaDeg, antin_cex::PvsvPhiDeg, antin_cex::PairPBalance, antin_cex::PairPtBalance, antin_cex::PairQ,
144135
antin_cex::DPairP, antin_cex::DPairPt, antin_cex::DPairPz, antin_cex::DOpenAngle,
145136
antin_cex::SVNearestLayerId, antin_cex::SVDeltaRToLayer,
146-
antin_cex::PTrkItsHitMap, antin_cex::APTrkItsHitMap, antin_cex::PLayersOk, antin_cex::APLayersOk,
137+
antin_cex::PTrkItsHitMap, antin_cex::APTrkItsHitMap,
147138
antin_cex::PVtxZ,
148139
antin_cex::PTrkItsNSigmaPr, antin_cex::PTrkItsPidValid, antin_cex::PTrkTgl,
149140
antin_cex::AntipTrkItsNSigmaPr, antin_cex::AntipTrkItsPidValid, antin_cex::AntipTrkTgl);

0 commit comments

Comments
 (0)