|
| 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 | +#ifndef PWGLF_DATAMODEL_LFDOUBLEOMEGATABLES_H_ |
| 13 | +#define PWGLF_DATAMODEL_LFDOUBLEOMEGATABLES_H_ |
| 14 | + |
| 15 | +#include <Framework/AnalysisDataModel.h> |
| 16 | + |
| 17 | +#include <cstdint> |
| 18 | + |
| 19 | +namespace o2::aod |
| 20 | +{ |
| 21 | + |
| 22 | +namespace DoubleOmegaTables |
| 23 | +{ |
| 24 | +DECLARE_SOA_COLUMN(PtCasc1, ptCasc1, float); // signed pt of the cascade |
| 25 | +DECLARE_SOA_COLUMN(EtaCasc1, etaCasc1, float); |
| 26 | +DECLARE_SOA_COLUMN(PhiCasc1, phiCasc1, float); |
| 27 | +DECLARE_SOA_COLUMN(CascDecLength1, cascDecLength1, float); |
| 28 | +DECLARE_SOA_COLUMN(OmegaMassCasc1, omegaMassCasc1, float); |
| 29 | +DECLARE_SOA_COLUMN(XiMassCasc1, xiMassCasc1, float); |
| 30 | +DECLARE_SOA_COLUMN(CosPACasc1, cosPACasc1, float); |
| 31 | +DECLARE_SOA_COLUMN(DcaBachPVCasc1, dcaBachPVCasc1, float); |
| 32 | +DECLARE_SOA_COLUMN(DcaV0BachCasc1, dcaV0BachCasc1, float); |
| 33 | +DECLARE_SOA_COLUMN(NSigmaKBach1, nSigmaKBach1, float); |
| 34 | + |
| 35 | +DECLARE_SOA_COLUMN(PtLambda, ptLambda, float); |
| 36 | +DECLARE_SOA_COLUMN(EtaLambda, etaLambda, float); |
| 37 | +DECLARE_SOA_COLUMN(PhiLambda, phiLambda, float); |
| 38 | +DECLARE_SOA_COLUMN(LambdaDecLength, lambdaDecLength, float); |
| 39 | +DECLARE_SOA_COLUMN(LambdaMass, lambdaMass, float); |
| 40 | +DECLARE_SOA_COLUMN(CosPALambda, cosPALambda, float); |
| 41 | +DECLARE_SOA_COLUMN(DcaPosPVLambda, dcaPosPVLambda, float); |
| 42 | +DECLARE_SOA_COLUMN(DcaNegPVLambda, dcaNegPVLambda, float); |
| 43 | +DECLARE_SOA_COLUMN(DcaLambdaDaughters, dcaLambdaDaughters, float); |
| 44 | +DECLARE_SOA_COLUMN(NSigmaPrLambda, nSigmaPrLambda, float); |
| 45 | +DECLARE_SOA_COLUMN(NSigmaPiLambda, nSigmaPiLambda, float); |
| 46 | + |
| 47 | +DECLARE_SOA_COLUMN(PtKaon, ptKaon, float); |
| 48 | +DECLARE_SOA_COLUMN(EtaKaon, etaKaon, float); |
| 49 | +DECLARE_SOA_COLUMN(PhiKaon, phiKaon, float); |
| 50 | +DECLARE_SOA_COLUMN(ChargeKaon, chargeKaon, int8_t); |
| 51 | +DECLARE_SOA_COLUMN(DcaXYKaon, dcaXYKaon, float); |
| 52 | +DECLARE_SOA_COLUMN(DcaZKaon, dcaZKaon, float); |
| 53 | +DECLARE_SOA_COLUMN(NSigmaKKaon, nSigmaKKaon, float); |
| 54 | + |
| 55 | +DECLARE_SOA_COLUMN(DoubleOmegaMass, doubleOmegaMass, float); |
| 56 | + |
| 57 | +DECLARE_SOA_COLUMN(GenPt, genPt, float); |
| 58 | +DECLARE_SOA_COLUMN(GenEta, genEta, float); |
| 59 | +DECLARE_SOA_COLUMN(GenPhi, genPhi, float); |
| 60 | +DECLARE_SOA_COLUMN(GenDecayLength, genDecayLength, float); |
| 61 | +DECLARE_SOA_COLUMN(PdgDoubleOmega, pdgDoubleOmega, int); |
| 62 | +DECLARE_SOA_COLUMN(IsReco, isReco, bool); |
| 63 | +} // namespace DoubleOmegaTables |
| 64 | + |
| 65 | +#define DOUBLE_OMEGA_RECO_COLUMNS \ |
| 66 | + DoubleOmegaTables::PtCasc1, \ |
| 67 | + DoubleOmegaTables::EtaCasc1, \ |
| 68 | + DoubleOmegaTables::PhiCasc1, \ |
| 69 | + DoubleOmegaTables::CascDecLength1, \ |
| 70 | + DoubleOmegaTables::OmegaMassCasc1, \ |
| 71 | + DoubleOmegaTables::XiMassCasc1, \ |
| 72 | + DoubleOmegaTables::CosPACasc1, \ |
| 73 | + DoubleOmegaTables::DcaBachPVCasc1, \ |
| 74 | + DoubleOmegaTables::DcaV0BachCasc1, \ |
| 75 | + DoubleOmegaTables::NSigmaKBach1, \ |
| 76 | + DoubleOmegaTables::PtLambda, \ |
| 77 | + DoubleOmegaTables::EtaLambda, \ |
| 78 | + DoubleOmegaTables::PhiLambda, \ |
| 79 | + DoubleOmegaTables::LambdaDecLength, \ |
| 80 | + DoubleOmegaTables::LambdaMass, \ |
| 81 | + DoubleOmegaTables::CosPALambda, \ |
| 82 | + DoubleOmegaTables::DcaPosPVLambda, \ |
| 83 | + DoubleOmegaTables::DcaNegPVLambda, \ |
| 84 | + DoubleOmegaTables::DcaLambdaDaughters, \ |
| 85 | + DoubleOmegaTables::NSigmaPrLambda, \ |
| 86 | + DoubleOmegaTables::NSigmaPiLambda, \ |
| 87 | + DoubleOmegaTables::PtKaon, \ |
| 88 | + DoubleOmegaTables::EtaKaon, \ |
| 89 | + DoubleOmegaTables::PhiKaon, \ |
| 90 | + DoubleOmegaTables::ChargeKaon, \ |
| 91 | + DoubleOmegaTables::DcaXYKaon, \ |
| 92 | + DoubleOmegaTables::DcaZKaon, \ |
| 93 | + DoubleOmegaTables::NSigmaKKaon, \ |
| 94 | + DoubleOmegaTables::DoubleOmegaMass |
| 95 | + |
| 96 | +DECLARE_SOA_TABLE(DoubleOmegaTable, "AOD", "DOUBLEOMEGATABLE", |
| 97 | + DOUBLE_OMEGA_RECO_COLUMNS); |
| 98 | + |
| 99 | +DECLARE_SOA_TABLE(DoubleOmegaTableMC, "AOD", "DBLOMEGAMCTABLE", |
| 100 | + DOUBLE_OMEGA_RECO_COLUMNS, |
| 101 | + DoubleOmegaTables::GenPt, |
| 102 | + DoubleOmegaTables::GenEta, |
| 103 | + DoubleOmegaTables::GenPhi, |
| 104 | + DoubleOmegaTables::GenDecayLength, |
| 105 | + DoubleOmegaTables::PdgDoubleOmega, |
| 106 | + DoubleOmegaTables::IsReco); |
| 107 | + |
| 108 | +#undef DOUBLE_OMEGA_RECO_COLUMNS |
| 109 | + |
| 110 | +} // namespace o2::aod |
| 111 | + |
| 112 | +#endif // PWGLF_DATAMODEL_LFDOUBLEOMEGATABLES_H_ |
0 commit comments