|
| 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 | +/// \file LFHyperhelium4sigmaTables.h |
| 13 | +/// \brief Slim hyperhelium4sigma tables |
| 14 | +/// \author Yuanzhe Wang <yuanzhe.wang@cern.ch> |
| 15 | + |
| 16 | +#include "Framework/AnalysisDataModel.h" |
| 17 | +#include "Framework/ASoAHelpers.h" |
| 18 | + |
| 19 | +#ifndef PWGLF_DATAMODEL_LFHYPERHELIUM4SIGMATABLES_H_ |
| 20 | +#define PWGLF_DATAMODEL_LFHYPERHELIUM4SIGMATABLES_H_ |
| 21 | + |
| 22 | +namespace o2::aod |
| 23 | +{ |
| 24 | + |
| 25 | +namespace he4scand |
| 26 | +{ |
| 27 | +DECLARE_SOA_COLUMN(XPrimVtx, xPrimVtx, float); // Primary vertex of the candidate (x direction) |
| 28 | +DECLARE_SOA_COLUMN(YPrimVtx, yPrimVtx, float); // Primary vertex of the candidate (y direction) |
| 29 | +DECLARE_SOA_COLUMN(ZPrimVtx, zPrimVtx, float); // Primary vertex of the candidate (z direction) |
| 30 | +DECLARE_SOA_COLUMN(XDecVtx, xDecVtx, float); // Decay vertex of the candidate (x direction) |
| 31 | +DECLARE_SOA_COLUMN(YDecVtx, yDecVtx, float); // Decay vertex of the candidate (y direction) |
| 32 | +DECLARE_SOA_COLUMN(ZDecVtx, zDecVtx, float); // Decay vertex of the candidate (z direction) |
| 33 | +DECLARE_SOA_COLUMN(PxMoth, pxMoth, float); //! Px of the mother track at the decay vertex |
| 34 | +DECLARE_SOA_COLUMN(PyMoth, pyMoth, float); //! Py of the mother track at the decay vertex |
| 35 | +DECLARE_SOA_COLUMN(PzMoth, pzMoth, float); //! Pz of the mother track at the decay vertex |
| 36 | +DECLARE_SOA_COLUMN(PxAlpha, pxAlpha, float); //! Px of the daughter alpha track at the decay vertex |
| 37 | +DECLARE_SOA_COLUMN(PyAlpha, pyAlpha, float); //! Py of the daughter alpha track at the decay vertex |
| 38 | +DECLARE_SOA_COLUMN(PzAlpha, pzAlpha, float); //! Pz of the daughter alpha track at the decay vertex |
| 39 | +DECLARE_SOA_COLUMN(IsMatter, isMatter, bool); // bool: true for matter |
| 40 | +DECLARE_SOA_COLUMN(DcaMothPv, dcaMothPv, float); //! DCA of the mother to the primary vertex |
| 41 | +DECLARE_SOA_COLUMN(DcaAlphaPv, dcaAlphaPv, float); //! DCA of the daughter kink to the primary vertex |
| 42 | +DECLARE_SOA_COLUMN(DcaKinkTopo, dcaKinkTopo, float); //! DCA of the kink topology |
| 43 | +DECLARE_SOA_COLUMN(ItsChi2Moth, itsChi2Moth, float); // ITS chi2 of the mother track |
| 44 | +DECLARE_SOA_COLUMN(ItsClusterSizesMoth, itsClusterSizesMoth, uint32_t); // ITS cluster size of the mother track |
| 45 | +DECLARE_SOA_COLUMN(ItsClusterSizesAlpha, itsClusterSizesAlpha, uint32_t); // ITS cluster size of the daughter alpha track |
| 46 | +DECLARE_SOA_COLUMN(NSigmaTPCAlpha, nSigmaTPCAlpha, float); // Number of tpc sigmas of the daughter alpha track |
| 47 | + |
| 48 | +DECLARE_SOA_COLUMN(IsSignal, isSignal, bool); // bool: true for hyperhelium4signal |
| 49 | +DECLARE_SOA_COLUMN(IsSignalReco, isSignalReco, bool); // bool: true if the signal is reconstructed |
| 50 | +DECLARE_SOA_COLUMN(IsCollReco, isCollReco, bool); // bool: true if the collision is reconstructed |
| 51 | +DECLARE_SOA_COLUMN(IsSurvEvSelection, isSurvEvSelection, bool); // bool: true for the collision passed the event selection |
| 52 | +DECLARE_SOA_COLUMN(TrueXDecVtx, trueXDecVtx, float); // true x decay vertex |
| 53 | +DECLARE_SOA_COLUMN(TrueYDecVtx, trueYDecVtx, float); // true y decay vertex |
| 54 | +DECLARE_SOA_COLUMN(TrueZDecVtx, trueZDecVtx, float); // true z decay vertex |
| 55 | +DECLARE_SOA_COLUMN(GenPxMoth, genPxMoth, float); // Generated px of the mother track |
| 56 | +DECLARE_SOA_COLUMN(GenPyMoth, genPyMoth, float); // Generated py of the mother track |
| 57 | +DECLARE_SOA_COLUMN(GenPzMoth, genPzMoth, float); // Generated pz of the mother track |
| 58 | +DECLARE_SOA_COLUMN(GenPxAlpha, genPxAlpha, float); // true px of the daughter alpha track |
| 59 | +DECLARE_SOA_COLUMN(GenPyAlpha, genPyAlpha, float); // true py of the daughter alpha track |
| 60 | +DECLARE_SOA_COLUMN(GenPzAlpha, genPzAlpha, float); // true pz of the daughter alpha track |
| 61 | +DECLARE_SOA_COLUMN(IsMothReco, isMothReco, bool); // bool: true if the mother track is reconstructed |
| 62 | +DECLARE_SOA_COLUMN(RecoPtMoth, recoPtMoth, float); // reconstructed pt of the mother track |
| 63 | +DECLARE_SOA_COLUMN(RecoPzMoth, recoPzMoth, float); // reconstructed pz of the mother track |
| 64 | +} // namespace he4scand |
| 65 | + |
| 66 | +DECLARE_SOA_TABLE(He4S2BCands, "AOD", "HE4S2BCANDS", |
| 67 | + o2::soa::Index<>, |
| 68 | + he4scand::XPrimVtx, he4scand::YPrimVtx, he4scand::ZPrimVtx, |
| 69 | + he4scand::XDecVtx, he4scand::YDecVtx, he4scand::ZDecVtx, |
| 70 | + he4scand::IsMatter, he4scand::PxMoth, he4scand::PyMoth, he4scand::PzMoth, |
| 71 | + he4scand::PxAlpha, he4scand::PyAlpha, he4scand::PzAlpha, |
| 72 | + he4scand::DcaMothPv, he4scand::DcaAlphaPv, he4scand::DcaKinkTopo, |
| 73 | + he4scand::ItsChi2Moth, he4scand::ItsClusterSizesMoth, he4scand::ItsClusterSizesAlpha, |
| 74 | + he4scand::NSigmaTPCAlpha); |
| 75 | + |
| 76 | +DECLARE_SOA_TABLE(MCHe4S2BCands, "AOD", "MCHE4S2BCANDS", |
| 77 | + o2::soa::Index<>, |
| 78 | + he4scand::XPrimVtx, he4scand::YPrimVtx, he4scand::ZPrimVtx, |
| 79 | + he4scand::XDecVtx, he4scand::YDecVtx, he4scand::ZDecVtx, |
| 80 | + he4scand::IsMatter, he4scand::PxMoth, he4scand::PyMoth, he4scand::PzMoth, |
| 81 | + he4scand::PxAlpha, he4scand::PyAlpha, he4scand::PzAlpha, |
| 82 | + he4scand::DcaMothPv, he4scand::DcaAlphaPv, he4scand::DcaKinkTopo, |
| 83 | + he4scand::ItsChi2Moth, he4scand::ItsClusterSizesMoth, he4scand::ItsClusterSizesAlpha, |
| 84 | + he4scand::NSigmaTPCAlpha, |
| 85 | + he4scand::IsSignal, he4scand::IsSignalReco, he4scand::IsCollReco, he4scand::IsSurvEvSelection, |
| 86 | + he4scand::TrueXDecVtx, he4scand::TrueYDecVtx, he4scand::TrueZDecVtx, |
| 87 | + he4scand::GenPxMoth, he4scand::GenPyMoth, he4scand::GenPzMoth, |
| 88 | + he4scand::GenPxAlpha, he4scand::GenPyAlpha, he4scand::GenPzAlpha, |
| 89 | + he4scand::IsMothReco, he4scand::RecoPtMoth, he4scand::RecoPzMoth); |
| 90 | + |
| 91 | +} // namespace o2::aod |
| 92 | + |
| 93 | +#endif // PWGLF_DATAMODEL_LFHYPERHELIUM4SIGMATABLES_H_ |
0 commit comments