|
| 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 LFKinkDecayTables.h |
| 14 | +/// \brief Slim tables for kinks |
| 15 | +/// \author Francesco Mazzaschi <francesco.mazzaschi@cern.ch> |
| 16 | +/// |
| 17 | + |
| 18 | +#include "PWGLF/DataModel/LFKinkDecayTables.h" |
| 19 | + |
| 20 | +#include "Common/Core/RecoDecay.h" |
| 21 | + |
| 22 | +#include "Framework/ASoAHelpers.h" |
| 23 | +#include "Framework/AnalysisDataModel.h" |
| 24 | + |
| 25 | +#ifndef PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_ |
| 26 | +#define PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_ |
| 27 | + |
| 28 | +namespace o2::aod |
| 29 | +{ |
| 30 | + |
| 31 | +namespace sigmaproton |
| 32 | +{ |
| 33 | +DECLARE_SOA_COLUMN(ChargeSigma, chargeSigma, int); //! Charge of the sigma candidate |
| 34 | +DECLARE_SOA_COLUMN(SigmaDecRad, sigmaDecRad, float); //! Decay radius of the Sigma candidate |
| 35 | +DECLARE_SOA_COLUMN(ChargePr, chargePr, int); //! Charge of the proton candidate |
| 36 | +DECLARE_SOA_COLUMN(PxPr, pxPr, float); //! Px of the proton candidate |
| 37 | +DECLARE_SOA_COLUMN(PyPr, pyPr, float); //! Py of the proton candidate |
| 38 | +DECLARE_SOA_COLUMN(PzPr, pzPr, float); //! Pz of the proton candidate |
| 39 | +DECLARE_SOA_COLUMN(NSigmaTPCPr, nSigmaTPCPr, float); //! Number of sigmas for the proton candidate from Sigma kink in TPC |
| 40 | +DECLARE_SOA_COLUMN(NSigmaTOFPr, nSigmaTOFPr, float); //! Number of sigmas for the proton candidate from Sigma kink in TOF |
| 41 | + |
| 42 | +// MC Columns |
| 43 | +DECLARE_SOA_COLUMN(SigmaPDG, sigmaPDG, int); //! PDG code of the Sigma daughter |
| 44 | +DECLARE_SOA_COLUMN(DaughterPDG, daughterPDG, int); //! PDG code of the kink daughter |
| 45 | +DECLARE_SOA_COLUMN(PrPDG, prPDG, int); //! PDG code of the proton candidate |
| 46 | + |
| 47 | +} // namespace sigmaproton |
| 48 | + |
| 49 | +DECLARE_SOA_TABLE(SigmaProtonCands, "AOD", "SIGMAPROTONCANDS", |
| 50 | + o2::soa::Index<>, |
| 51 | + sigmaproton::ChargeSigma, kinkcand::PxMoth, kinkcand::PyMoth, kinkcand::PzMoth, |
| 52 | + kinkcand::PxDaug, kinkcand::PyDaug, kinkcand::PzDaug, sigmaproton::SigmaDecRad, |
| 53 | + sigmaproton::ChargePr, sigmaproton::PxPr, sigmaproton::PyPr, sigmaproton::PzPr, |
| 54 | + sigmaproton::NSigmaTPCPr, sigmaproton::NSigmaTOFPr); |
| 55 | + |
| 56 | +DECLARE_SOA_TABLE(SigmaProtonMCCands, "AOD", "SIGMAPROTONMCCANDS", |
| 57 | + o2::soa::Index<>, |
| 58 | + sigmaproton::ChargeSigma, kinkcand::PxMoth, kinkcand::PyMoth, kinkcand::PzMoth, |
| 59 | + kinkcand::PxDaug, kinkcand::PyDaug, kinkcand::PzDaug, sigmaproton::SigmaDecRad, |
| 60 | + sigmaproton::ChargePr, sigmaproton::PxPr, sigmaproton::PyPr, sigmaproton::PzPr, |
| 61 | + sigmaproton::NSigmaTPCPr, sigmaproton::NSigmaTOFPr, |
| 62 | + sigmaproton::SigmaPDG, sigmaproton::DaughterPDG, sigmaproton::PrPDG); |
| 63 | + |
| 64 | +} // namespace o2::aod |
| 65 | + |
| 66 | +#endif // PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_ |
0 commit comments