|
| 1 | +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. |
| 2 | +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. |
| 3 | +// All rights not expressly granted are reserved. |
| 4 | +// |
| 5 | +// This software is distributed under the terms of the GNU General Public |
| 6 | +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". |
| 7 | +// |
| 8 | +// In applying this license CERN does not waive the privileges and immunities |
| 9 | +// granted to it by virtue of its status as an Intergovernmental Organization |
| 10 | +// or submit itself to any jurisdiction. |
| 11 | + |
| 12 | +/// |
| 13 | +/// \file LFAntinCexTables.h |
| 14 | +/// \brief Slim tables for nucleiAntineutronCex |
| 15 | +/// \author Fabiola Lugo |
| 16 | +/// |
| 17 | + |
| 18 | +#ifndef PWGLF_DATAMODEL_LFANTINCEXTABLES_H_ |
| 19 | +#define PWGLF_DATAMODEL_LFANTINCEXTABLES_H_ |
| 20 | + |
| 21 | +#include "Framework/ASoAHelpers.h" |
| 22 | +#include "Framework/AnalysisDataModel.h" |
| 23 | + |
| 24 | +namespace o2::aod |
| 25 | +{ |
| 26 | +namespace antin_cex |
| 27 | +{ |
| 28 | +// Metadata |
| 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(ColId, colId, int32_t); // mcCollisionId |
| 32 | +DECLARE_SOA_COLUMN(PId, pId, int32_t); // proton MC id |
| 33 | +DECLARE_SOA_COLUMN(AntipId, antipId, int32_t); // antiproton MC id |
| 34 | + |
| 35 | +// MC (pair) |
| 36 | +DECLARE_SOA_COLUMN(McPairP, mcPairP, float); |
| 37 | +DECLARE_SOA_COLUMN(McPairPt, mcPairPt, float); |
| 38 | +DECLARE_SOA_COLUMN(McPairPz, mcPairPz, float); |
| 39 | +DECLARE_SOA_COLUMN(McDplane, mcDplane, float); |
| 40 | +DECLARE_SOA_COLUMN(McAngleDeg, mcAngleDeg, float); |
| 41 | +DECLARE_SOA_COLUMN(McVtxX, mcVtxX, float); |
| 42 | +DECLARE_SOA_COLUMN(McVtxY, mcVtxY, float); |
| 43 | +DECLARE_SOA_COLUMN(McVtxZ, mcVtxZ, float); |
| 44 | + |
| 45 | +// Tracks (pair, fitter) |
| 46 | +DECLARE_SOA_COLUMN(TrkPairP, trkPairP, float); |
| 47 | +DECLARE_SOA_COLUMN(TrkPairPt, trkPairPt, float); |
| 48 | +DECLARE_SOA_COLUMN(TrkPairPz, trkPairPz, float); |
| 49 | +DECLARE_SOA_COLUMN(TrkAngleDeg, trkAngleDeg, float); |
| 50 | +DECLARE_SOA_COLUMN(TrkVtxfitDcaPair, trkVtxfitDcaPair, float); |
| 51 | +DECLARE_SOA_COLUMN(TrkVtxfitR, trkVtxfitR, float); |
| 52 | +DECLARE_SOA_COLUMN(TrkVtxfitDistToPv, trkVtxfitDistToPv, float); |
| 53 | +DECLARE_SOA_COLUMN(TrkVtxfitSecVtxX, trkVtxfitSecVtxX, float); |
| 54 | +DECLARE_SOA_COLUMN(TrkVtxfitSecVtxY, trkVtxfitSecVtxY, float); |
| 55 | +DECLARE_SOA_COLUMN(TrkVtxfitSecVtxZ, trkVtxfitSecVtxZ, float); |
| 56 | + |
| 57 | +// Fit quality (fit − MC) |
| 58 | +DECLARE_SOA_COLUMN(VtxfitChi2, vtxfitChi2, float); |
| 59 | +DECLARE_SOA_COLUMN(VtxfitStatus, vtxfitStatus, int32_t); |
| 60 | +DECLARE_SOA_COLUMN(NCand, nCand, int32_t); |
| 61 | +DECLARE_SOA_COLUMN(VtxfitDX, vtxfitDX, float); |
| 62 | +DECLARE_SOA_COLUMN(VtxfitDY, vtxfitDY, float); |
| 63 | +DECLARE_SOA_COLUMN(VtxfitDZ, vtxfitDZ, float); |
| 64 | +DECLARE_SOA_COLUMN(VtxfitD3D, vtxfitD3D, float); |
| 65 | + |
| 66 | +// Proton track |
| 67 | +DECLARE_SOA_COLUMN(PTrkP, pTrkP, float); |
| 68 | +DECLARE_SOA_COLUMN(PTrkPx, pTrkPx, float); |
| 69 | +DECLARE_SOA_COLUMN(PTrkPy, pTrkPy, float); |
| 70 | +DECLARE_SOA_COLUMN(PTrkPz, pTrkPz, float); |
| 71 | +DECLARE_SOA_COLUMN(PTrkEta, pTrkEta, float); |
| 72 | +DECLARE_SOA_COLUMN(PTrkTpcSignal, pTrkTpcSignal, float); |
| 73 | +DECLARE_SOA_COLUMN(PTrkNClsIts, pTrkNClsIts, int16_t); |
| 74 | + |
| 75 | +// Antiproton track |
| 76 | +DECLARE_SOA_COLUMN(AntipTrkP, antipTrkP, float); |
| 77 | +DECLARE_SOA_COLUMN(AntipTrkPx, antipTrkPx, float); |
| 78 | +DECLARE_SOA_COLUMN(AntipTrkPy, antipTrkPy, float); |
| 79 | +DECLARE_SOA_COLUMN(AntipTrkPz, antipTrkPz, float); |
| 80 | +DECLARE_SOA_COLUMN(AntipTrkEta, antipTrkEta, float); |
| 81 | +DECLARE_SOA_COLUMN(AntipTrkTpcSignal, antipTrkTpcSignal, float); |
| 82 | +DECLARE_SOA_COLUMN(AntipTrkNClsIts, antipTrkNClsIts, int16_t); |
| 83 | + |
| 84 | +// Cuts Mask |
| 85 | +DECLARE_SOA_COLUMN(SelMask, selMask, uint32_t); |
| 86 | + |
| 87 | +DECLARE_SOA_COLUMN(PairPointingAngleDeg, pairPointingAngleDeg, float); |
| 88 | +DECLARE_SOA_COLUMN(PairPBalance, pairPBalance, float); |
| 89 | +DECLARE_SOA_COLUMN(PairPtBalance, pairPtBalance, float); |
| 90 | +DECLARE_SOA_COLUMN(PairQ, pairQ, float); |
| 91 | + |
| 92 | +DECLARE_SOA_COLUMN(DPairP, dPairP, float); |
| 93 | +DECLARE_SOA_COLUMN(DPairPt, dPairPt, float); |
| 94 | +DECLARE_SOA_COLUMN(DPairPz, dPairPz, float); |
| 95 | +DECLARE_SOA_COLUMN(DOpenAngle, dOpenAngle, float); |
| 96 | + |
| 97 | +DECLARE_SOA_COLUMN(SVNearestLayerId, svNearestLayerId, int16_t); |
| 98 | +DECLARE_SOA_COLUMN(SVDeltaRToLayer, svDeltaRToLayer, float); |
| 99 | + |
| 100 | +DECLARE_SOA_COLUMN(PTrkItsHitMap, pTrkItsHitMap, uint16_t); |
| 101 | +DECLARE_SOA_COLUMN(APTrkItsHitMap, apTrkItsHitMap, uint16_t); |
| 102 | +DECLARE_SOA_COLUMN(PLayersOk, pLayersOk, int8_t); |
| 103 | +DECLARE_SOA_COLUMN(APLayersOk, apLayersOk, int8_t); |
| 104 | + |
| 105 | +DECLARE_SOA_COLUMN(PVtxZ, pVtxZ, float); |
| 106 | +} // namespace antin_cex |
| 107 | + |
| 108 | +// Table |
| 109 | +DECLARE_SOA_TABLE(AntinCexPairs, "AOD", "ANTINCEX", |
| 110 | + antin_cex::IsCex, |
| 111 | + antin_cex::MotherPdg, antin_cex::ColId, antin_cex::PId, antin_cex::AntipId, |
| 112 | + antin_cex::McPairP, antin_cex::McPairPt, antin_cex::McPairPz, |
| 113 | + antin_cex::McDplane, antin_cex::McAngleDeg, antin_cex::McVtxX, antin_cex::McVtxY, antin_cex::McVtxZ, |
| 114 | + antin_cex::TrkPairP, antin_cex::TrkPairPt, antin_cex::TrkPairPz, antin_cex::TrkAngleDeg, |
| 115 | + antin_cex::TrkVtxfitDcaPair, antin_cex::TrkVtxfitR, antin_cex::TrkVtxfitDistToPv, |
| 116 | + antin_cex::TrkVtxfitSecVtxX, antin_cex::TrkVtxfitSecVtxY, antin_cex::TrkVtxfitSecVtxZ, |
| 117 | + antin_cex::VtxfitChi2, antin_cex::VtxfitStatus, antin_cex::NCand, |
| 118 | + antin_cex::VtxfitDX, antin_cex::VtxfitDY, antin_cex::VtxfitDZ, antin_cex::VtxfitD3D, |
| 119 | + antin_cex::PTrkP, antin_cex::PTrkPx, antin_cex::PTrkPy, antin_cex::PTrkPz, antin_cex::PTrkEta, antin_cex::PTrkTpcSignal, antin_cex::PTrkNClsIts, |
| 120 | + antin_cex::AntipTrkP, antin_cex::AntipTrkPx, antin_cex::AntipTrkPy, antin_cex::AntipTrkPz, antin_cex::AntipTrkEta, antin_cex::AntipTrkTpcSignal, antin_cex::AntipTrkNClsIts, |
| 121 | + antin_cex::SelMask, |
| 122 | + antin_cex::PairPointingAngleDeg, antin_cex::PairPBalance, antin_cex::PairPtBalance, antin_cex::PairQ, |
| 123 | + antin_cex::DPairP, antin_cex::DPairPt, antin_cex::DPairPz, antin_cex::DOpenAngle, |
| 124 | + antin_cex::SVNearestLayerId, antin_cex::SVDeltaRToLayer, |
| 125 | + antin_cex::PTrkItsHitMap, antin_cex::APTrkItsHitMap, antin_cex::PLayersOk, antin_cex::APLayersOk, |
| 126 | + antin_cex::PVtxZ); |
| 127 | + |
| 128 | +} // namespace o2::aod |
| 129 | + |
| 130 | +#endif // PWGLF_DATAMODEL_LFANTINCEXTABLES_H_ |
0 commit comments