|
| 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 LFLambda1405Tables.h |
| 14 | +/// \brief Slim tables for Lambda(1405) candidates |
| 15 | +/// \author Francesco Mazzaschi <francesco.mazzaschi@cern.ch> |
| 16 | +/// |
| 17 | + |
| 18 | +#include "Common/Core/RecoDecay.h" |
| 19 | + |
| 20 | +#include "Framework/ASoAHelpers.h" |
| 21 | +#include "Framework/AnalysisDataModel.h" |
| 22 | + |
| 23 | +#ifndef PWGLF_DATAMODEL_LFLAMBDA1405TABLES_H_ |
| 24 | +#define PWGLF_DATAMODEL_LFLAMBDA1405TABLES_H_ |
| 25 | + |
| 26 | +namespace o2::aod |
| 27 | +{ |
| 28 | + |
| 29 | +namespace lambda1405 |
| 30 | +{ |
| 31 | + |
| 32 | +DECLARE_SOA_COLUMN(Px, px, float); //! Px of the candidate |
| 33 | +DECLARE_SOA_COLUMN(Py, py, float); //! Py of the candidate |
| 34 | +DECLARE_SOA_COLUMN(Pz, pz, float); //! Pz of the candidate |
| 35 | +DECLARE_SOA_COLUMN(Mass, mass, float); //! Invariant mass of the candidate |
| 36 | +DECLARE_SOA_COLUMN(SigmaMinusMass, sigmaMinusMass, float); //! Invariant mass of the Sigma- candidate |
| 37 | +DECLARE_SOA_COLUMN(SigmaPlusMass, sigmaPlusMass, float); //! Invariant mass of the Sigma+ candidate |
| 38 | +DECLARE_SOA_COLUMN(PtSigma, ptSigma, float); //! Signed pT of the Sigma daughter |
| 39 | +DECLARE_SOA_COLUMN(AlphaAPSigma, alphaAPSigma, float); //! Alpha of the Sigma |
| 40 | +DECLARE_SOA_COLUMN(QtAPSigma, qtAPSigma, float); //! qT of the Sigma |
| 41 | +DECLARE_SOA_COLUMN(RadiusSigma, radiusSigma, float); //! Radius of the Sigma decay vertex |
| 42 | +DECLARE_SOA_COLUMN(NSigmaTPCPiKink, nSigmaTPCPiKink, float); //! Number of sigmas for the pion candidate from Sigma kink in TPC |
| 43 | +DECLARE_SOA_COLUMN(NSigmaTOFPiKink, nSigmaTOFPiKink, float); //! Number of sigmas for the pion candidate from Sigma kink in TOF |
| 44 | +DECLARE_SOA_COLUMN(NSigmaTPCPrKink, nSigmaTPCPrKink, float); //! Number of sigmas for the proton candidate from Sigma kink in TPC |
| 45 | +DECLARE_SOA_COLUMN(NSigmaTOFPrKink, nSigmaTOFPrKink, float); //! Number of sigmas for the proton candidate from Sigma kink in TOF |
| 46 | +DECLARE_SOA_COLUMN(DCAKinkDauToPV, dcaKinkDauToPV, float); //! DCA of the kink daughter to the primary vertex |
| 47 | +DECLARE_SOA_COLUMN(NSigmaTPCPiDau, nSigmaTPCPiDau, float); //! Number of sigmas for the lambda1405 pion daughter in TPC |
| 48 | +DECLARE_SOA_COLUMN(NSigmaTOFPiDau, nSigmaTOFPiDau, float); //! Number of sigmas for the lambda1405 pion daughter in TOF |
| 49 | + |
| 50 | +// MC Columns |
| 51 | +DECLARE_SOA_COLUMN(PtMC, ptMC, float); //! pT of the candidate in MC |
| 52 | +DECLARE_SOA_COLUMN(MassMC, massMC, float); //! Invariant mass of the candidate in MC |
| 53 | +DECLARE_SOA_COLUMN(SigmaPdgCode, sigmaPdgCode, int); //! PDG code of the Sigma daughter |
| 54 | +DECLARE_SOA_COLUMN(KinkDauPdgCode, kinkDauPdgCode, int); //! PDG code of the kink daughter |
| 55 | + |
| 56 | +} // namespace lambda1405 |
| 57 | + |
| 58 | +DECLARE_SOA_TABLE(Lambda1405Cands, "AOD", "LAMBDA1405", |
| 59 | + o2::soa::Index<>, |
| 60 | + lambda1405::Px, lambda1405::Py, lambda1405::Pz, |
| 61 | + lambda1405::Mass, lambda1405::SigmaMinusMass, lambda1405::SigmaPlusMass, |
| 62 | + lambda1405::PtSigma, lambda1405::AlphaAPSigma, lambda1405::QtAPSigma, lambda1405::RadiusSigma, |
| 63 | + lambda1405::NSigmaTPCPiKink, lambda1405::NSigmaTOFPiKink, |
| 64 | + lambda1405::NSigmaTPCPrKink, lambda1405::NSigmaTOFPrKink, |
| 65 | + lambda1405::DCAKinkDauToPV, |
| 66 | + lambda1405::NSigmaTPCPiDau, lambda1405::NSigmaTOFPiDau); |
| 67 | + |
| 68 | +DECLARE_SOA_TABLE(Lambda1405CandsMC, "AOD", "MCLAMBDA1405", |
| 69 | + o2::soa::Index<>, |
| 70 | + lambda1405::Px, lambda1405::Py, lambda1405::Pz, |
| 71 | + lambda1405::Mass, lambda1405::SigmaMinusMass, lambda1405::SigmaPlusMass, |
| 72 | + lambda1405::PtSigma, lambda1405::AlphaAPSigma, lambda1405::QtAPSigma, lambda1405::RadiusSigma, |
| 73 | + lambda1405::NSigmaTPCPiKink, lambda1405::NSigmaTOFPiKink, |
| 74 | + lambda1405::NSigmaTPCPrKink, lambda1405::NSigmaTOFPrKink, |
| 75 | + lambda1405::DCAKinkDauToPV, |
| 76 | + lambda1405::NSigmaTPCPiDau, lambda1405::NSigmaTOFPiDau, |
| 77 | + lambda1405::PtMC, lambda1405::MassMC, lambda1405::SigmaPdgCode, lambda1405::KinkDauPdgCode); |
| 78 | + |
| 79 | +} // namespace o2::aod |
| 80 | + |
| 81 | +#endif // PWGLF_DATAMODEL_LFLAMBDA1405TABLES_H_ |
0 commit comments