|
| 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 PionNucleiTables.h |
| 14 | +/// \brief Slim tables for piNuclei |
| 15 | +/// \author CMY |
| 16 | +/// \date 2025-04-10 |
| 17 | + |
| 18 | +#include "Framework/ASoAHelpers.h" |
| 19 | +#include "Framework/AnalysisDataModel.h" |
| 20 | + |
| 21 | +#ifndef PWGCF_FEMTO_DATAMODEL_PIONNUCLEITABLES_H_ |
| 22 | +#define PWGCF_FEMTO_DATAMODEL_PIONNUCLEITABLES_H_ |
| 23 | + |
| 24 | +namespace o2::aod |
| 25 | +{ |
| 26 | +namespace pion_nuclei_tables |
| 27 | +{ |
| 28 | + |
| 29 | +DECLARE_SOA_COLUMN(PtNu, ptNu, float); |
| 30 | +DECLARE_SOA_COLUMN(EtaNu, etaNu, float); |
| 31 | +DECLARE_SOA_COLUMN(PhiNu, phiNu, float); |
| 32 | +DECLARE_SOA_COLUMN(PtHyp, ptHyp, float); |
| 33 | +DECLARE_SOA_COLUMN(EtaHyp, etaHyp, float); |
| 34 | +DECLARE_SOA_COLUMN(PhiHyp, phiHyp, float); |
| 35 | +DECLARE_SOA_COLUMN(PtPi, ptPi, float); |
| 36 | +DECLARE_SOA_COLUMN(EtaPi, etaPi, float); |
| 37 | +DECLARE_SOA_COLUMN(PhiPi, phiPi, float); |
| 38 | + |
| 39 | +DECLARE_SOA_COLUMN(DcaxyNu, dcaxyNu, float); |
| 40 | +DECLARE_SOA_COLUMN(DcazNu, dcazNu, float); |
| 41 | +DECLARE_SOA_COLUMN(DcaxyPi, dcaxyPi, float); |
| 42 | +DECLARE_SOA_COLUMN(DcazPi, dcazPi, float); |
| 43 | + |
| 44 | +DECLARE_SOA_COLUMN(SignalTPCNu, signalTPCNu, float); |
| 45 | +DECLARE_SOA_COLUMN(InnerParamTPCNu, innerParamTPCNu, float); |
| 46 | +DECLARE_SOA_COLUMN(SignalTPCPi, signalTPCPi, float); |
| 47 | +DECLARE_SOA_COLUMN(InnerParamTPCPi, innerParamTPCPi, float); |
| 48 | +DECLARE_SOA_COLUMN(NClsTPCNu, nClsTPCNu, uint8_t); |
| 49 | +DECLARE_SOA_COLUMN(NSigmaTPCNu, nSigmaTPCNu, float); |
| 50 | +DECLARE_SOA_COLUMN(NSigmaTPCPi, nSigmaTPCPi, float); |
| 51 | +DECLARE_SOA_COLUMN(Chi2TPCNu, chi2TPCNu, float); |
| 52 | +DECLARE_SOA_COLUMN(Chi2TPCPi, chi2TPCPi, float); |
| 53 | +DECLARE_SOA_COLUMN(MassTOFNu, massTOFNu, float); |
| 54 | +DECLARE_SOA_COLUMN(MassTOFPi, massTOFPi, float); |
| 55 | +DECLARE_SOA_COLUMN(PidTrkNu, pidTrkNu, uint32_t); |
| 56 | +DECLARE_SOA_COLUMN(PidTrkPi, pidTrkPi, uint32_t); |
| 57 | + |
| 58 | +DECLARE_SOA_COLUMN(ItsClusterSizeNu, itsClusterSizeNu, uint32_t); |
| 59 | +DECLARE_SOA_COLUMN(ItsClusterSizePi, itsClusterSizePi, uint32_t); |
| 60 | + |
| 61 | +DECLARE_SOA_COLUMN(SharedClustersNu, sharedClustersNu, uint8_t); |
| 62 | +DECLARE_SOA_COLUMN(SharedClustersPi, sharedClustersPi, uint8_t); |
| 63 | + |
| 64 | +DECLARE_SOA_COLUMN(IsBkgUS, isBkgUS, bool); |
| 65 | +DECLARE_SOA_COLUMN(IsBkgEM, isBkgEM, bool); |
| 66 | + |
| 67 | +DECLARE_SOA_COLUMN(CollisionId, collisionId, int64_t); |
| 68 | +DECLARE_SOA_COLUMN(ZVertex, zVertex, float); |
| 69 | +DECLARE_SOA_COLUMN(Multiplicity, multiplicity, uint16_t); |
| 70 | +DECLARE_SOA_COLUMN(CentFT0C, centFT0C, float); |
| 71 | +DECLARE_SOA_COLUMN(MultiplicityFT0C, multiplicityFT0C, float); |
| 72 | + |
| 73 | +} // namespace pion_nuclei_tables |
| 74 | + |
| 75 | +DECLARE_SOA_TABLE(PionNucleiTable, "AOD", "PINUCLEITABLE", |
| 76 | + pion_nuclei_tables::PtNu, |
| 77 | + pion_nuclei_tables::EtaNu, |
| 78 | + pion_nuclei_tables::PhiNu, |
| 79 | + pion_nuclei_tables::PtPi, |
| 80 | + pion_nuclei_tables::EtaPi, |
| 81 | + pion_nuclei_tables::PhiPi, |
| 82 | + pion_nuclei_tables::DcaxyNu, |
| 83 | + pion_nuclei_tables::DcazNu, |
| 84 | + pion_nuclei_tables::DcaxyPi, |
| 85 | + pion_nuclei_tables::DcazPi, |
| 86 | + pion_nuclei_tables::SignalTPCNu, |
| 87 | + pion_nuclei_tables::InnerParamTPCNu, |
| 88 | + pion_nuclei_tables::SignalTPCPi, |
| 89 | + pion_nuclei_tables::InnerParamTPCPi, |
| 90 | + pion_nuclei_tables::NClsTPCNu, |
| 91 | + pion_nuclei_tables::NSigmaTPCNu, |
| 92 | + pion_nuclei_tables::NSigmaTPCPi, |
| 93 | + pion_nuclei_tables::Chi2TPCNu, |
| 94 | + pion_nuclei_tables::Chi2TPCPi, |
| 95 | + pion_nuclei_tables::MassTOFNu, |
| 96 | + pion_nuclei_tables::MassTOFPi, |
| 97 | + pion_nuclei_tables::PidTrkNu, |
| 98 | + pion_nuclei_tables::PidTrkPi, |
| 99 | + pion_nuclei_tables::ItsClusterSizeNu, |
| 100 | + pion_nuclei_tables::ItsClusterSizePi, |
| 101 | + pion_nuclei_tables::SharedClustersNu, |
| 102 | + pion_nuclei_tables::SharedClustersPi, |
| 103 | + pion_nuclei_tables::IsBkgUS, |
| 104 | + pion_nuclei_tables::IsBkgEM) |
| 105 | +DECLARE_SOA_TABLE(PionHyperTable, "AOD", "PIHYPERTABLE", |
| 106 | + pion_nuclei_tables::PtHyp, |
| 107 | + pion_nuclei_tables::EtaHyp, |
| 108 | + pion_nuclei_tables::PhiHyp, |
| 109 | + pion_nuclei_tables::PtPi, |
| 110 | + pion_nuclei_tables::EtaPi, |
| 111 | + pion_nuclei_tables::PhiPi, |
| 112 | + pion_nuclei_tables::DcaxyPi, |
| 113 | + pion_nuclei_tables::DcazPi, |
| 114 | + pion_nuclei_tables::SignalTPCPi, |
| 115 | + pion_nuclei_tables::InnerParamTPCPi, |
| 116 | + pion_nuclei_tables::NSigmaTPCPi, |
| 117 | + pion_nuclei_tables::Chi2TPCPi, |
| 118 | + pion_nuclei_tables::MassTOFPi, |
| 119 | + pion_nuclei_tables::PidTrkPi, |
| 120 | + pion_nuclei_tables::ItsClusterSizePi, |
| 121 | + pion_nuclei_tables::SharedClustersPi, |
| 122 | + pion_nuclei_tables::IsBkgUS, |
| 123 | + pion_nuclei_tables::IsBkgEM) |
| 124 | +DECLARE_SOA_TABLE(PionNucleiMult, "AOD", "PINUCLEIMULT", |
| 125 | + pion_nuclei_tables::CollisionId, |
| 126 | + pion_nuclei_tables::ZVertex, |
| 127 | + pion_nuclei_tables::Multiplicity, |
| 128 | + pion_nuclei_tables::CentFT0C, |
| 129 | + pion_nuclei_tables::MultiplicityFT0C) |
| 130 | + |
| 131 | +} // namespace o2::aod |
| 132 | + |
| 133 | +#endif // PWGCF_FEMTO_DATAMODEL_PIONNUCLEITABLES_H_ |
0 commit comments