Skip to content

Commit aee132f

Browse files
committed
Update antineutron CEX histograms and table content
1 parent 40c9229 commit aee132f

2 files changed

Lines changed: 72 additions & 188 deletions

File tree

PWGLF/DataModel/LFAntinCexTables.h

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,20 @@
1818
#ifndef PWGLF_DATAMODEL_LFANTINCEXTABLES_H_
1919
#define PWGLF_DATAMODEL_LFANTINCEXTABLES_H_
2020

21-
#include <Framework/AnalysisDataModel.h>
22-
23-
#include <cstdint>
21+
#include "Framework/ASoAHelpers.h"
22+
#include "Framework/AnalysisDataModel.h"
2423

2524
namespace o2::aod
2625
{
2726
namespace antin_cex
2827
{
2928
// 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
29+
DECLARE_SOA_COLUMN(IsCex, isCex, bool); // 1=CEX (from antin), 0=BG
30+
DECLARE_SOA_COLUMN(MotherPdg, motherPdg, int32_t); // mother PDG
31+
DECLARE_SOA_COLUMN(MotherP, motherP, float); // mother P
32+
DECLARE_SOA_COLUMN(ColId, colId, int32_t); // mcCollisionId
33+
DECLARE_SOA_COLUMN(PId, pId, int32_t); // proton MC id
34+
DECLARE_SOA_COLUMN(AntipId, antipId, int32_t); // antiproton MC id
3635

3736
// MC (pair)
3837
DECLARE_SOA_COLUMN(McPairP, mcPairP, float);
@@ -43,12 +42,6 @@ DECLARE_SOA_COLUMN(McAngleDeg, mcAngleDeg, float);
4342
DECLARE_SOA_COLUMN(McVtxX, mcVtxX, float);
4443
DECLARE_SOA_COLUMN(McVtxY, mcVtxY, float);
4544
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);
5245

5346
// Tracks (pair, fitter)
5447
DECLARE_SOA_COLUMN(TrkPairP, trkPairP, float);
@@ -109,8 +102,6 @@ DECLARE_SOA_COLUMN(SVDeltaRToLayer, svDeltaRToLayer, float);
109102

110103
DECLARE_SOA_COLUMN(PTrkItsHitMap, pTrkItsHitMap, uint16_t);
111104
DECLARE_SOA_COLUMN(APTrkItsHitMap, apTrkItsHitMap, uint16_t);
112-
DECLARE_SOA_COLUMN(PLayersOk, pLayersOk, int8_t);
113-
DECLARE_SOA_COLUMN(APLayersOk, apLayersOk, int8_t);
114105

115106
DECLARE_SOA_COLUMN(PVtxZ, pVtxZ, float);
116107

@@ -128,10 +119,9 @@ DECLARE_SOA_COLUMN(AntipTrkTgl, antipTrkTgl, float);
128119
// Table
129120
DECLARE_SOA_TABLE(AntinCexPairs, "AOD", "ANTINCEX",
130121
antin_cex::IsCex,
131-
antin_cex::MotherPdg, antin_cex::MotherNHitIB, antin_cex::ColId, antin_cex::PId, antin_cex::AntipId,
122+
antin_cex::MotherPdg, antin_cex::MotherP, antin_cex::ColId, antin_cex::PId, antin_cex::AntipId,
132123
antin_cex::McPairP, antin_cex::McPairPt, antin_cex::McPairPz,
133124
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,
135125
antin_cex::TrkPairP, antin_cex::TrkPairPt, antin_cex::TrkPairPz, antin_cex::TrkAngleDeg,
136126
antin_cex::TrkVtxfitDcaPair, antin_cex::TrkVtxfitR, antin_cex::TrkVtxfitDistToPv,
137127
antin_cex::TrkVtxfitSecVtxX, antin_cex::TrkVtxfitSecVtxY, antin_cex::TrkVtxfitSecVtxZ,
@@ -143,7 +133,7 @@ DECLARE_SOA_TABLE(AntinCexPairs, "AOD", "ANTINCEX",
143133
antin_cex::PairPointingAngleDeg, antin_cex::PvsvThetaDeg, antin_cex::PvsvPhiDeg, antin_cex::PairPBalance, antin_cex::PairPtBalance, antin_cex::PairQ,
144134
antin_cex::DPairP, antin_cex::DPairPt, antin_cex::DPairPz, antin_cex::DOpenAngle,
145135
antin_cex::SVNearestLayerId, antin_cex::SVDeltaRToLayer,
146-
antin_cex::PTrkItsHitMap, antin_cex::APTrkItsHitMap, antin_cex::PLayersOk, antin_cex::APLayersOk,
136+
antin_cex::PTrkItsHitMap, antin_cex::APTrkItsHitMap,
147137
antin_cex::PVtxZ,
148138
antin_cex::PTrkItsNSigmaPr, antin_cex::PTrkItsPidValid, antin_cex::PTrkTgl,
149139
antin_cex::AntipTrkItsNSigmaPr, antin_cex::AntipTrkItsPidValid, antin_cex::AntipTrkTgl);

0 commit comments

Comments
 (0)