|
| 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 LFNonPromptCascadeTable.h |
| 14 | +/// \brief Non prompt cascade tables |
| 15 | +/// |
| 16 | + |
| 17 | +#include "Framework/AnalysisDataModel.h" |
| 18 | +#include "Framework/ASoAHelpers.h" |
| 19 | + |
| 20 | +#ifndef PWGLF_DATAMODEL_LFNONPROMPTCASCADETABLES_H_ |
| 21 | +#define PWGLF_DATAMODEL_LFNONPROMPTCASCADETABLES_H_ |
| 22 | + |
| 23 | +namespace o2::aod |
| 24 | +{ |
| 25 | +namespace NonPromptCascadeTableNS /// Per cosa sta NS? // come si aggiungono nuove variabili? (c'è una qualche lista?) |
| 26 | +{ |
| 27 | +DECLARE_SOA_COLUMN(Pt, pt, float); |
| 28 | +DECLARE_SOA_COLUMN(Eta, eta, float); |
| 29 | +DECLARE_SOA_COLUMN(Phi, phi, float); |
| 30 | +DECLARE_SOA_COLUMN(TPCInnerParam, tpcInnerParam, float); |
| 31 | +DECLARE_SOA_COLUMN(Beta, beta, float); |
| 32 | +DECLARE_SOA_COLUMN(Zvertex, zVertex, float); |
| 33 | +DECLARE_SOA_COLUMN(DCAxy, dcaxy, float); |
| 34 | +DECLARE_SOA_COLUMN(DCAz, dcaz, float); |
| 35 | +DECLARE_SOA_COLUMN(TPCsignal, tpcSignal, float); |
| 36 | +DECLARE_SOA_COLUMN(ITSchi2, itsChi2, float); |
| 37 | +DECLARE_SOA_COLUMN(TPCchi2, tpcChi2, float); |
| 38 | +DECLARE_SOA_COLUMN(Flags, flags, uint16_t); |
| 39 | +DECLARE_SOA_COLUMN(TPCfindableCls, tpcFindableCls, uint8_t); |
| 40 | +DECLARE_SOA_COLUMN(TPCcrossedRows, tpcCrossedRows, uint8_t); |
| 41 | +DECLARE_SOA_COLUMN(ITSclsMap, itsClsMap, uint8_t); |
| 42 | +DECLARE_SOA_COLUMN(TPCnCls, tpcNCls, uint8_t); |
| 43 | +DECLARE_SOA_COLUMN(gPt, genPt, float); |
| 44 | +DECLARE_SOA_COLUMN(gEta, genEta, float); |
| 45 | +DECLARE_SOA_COLUMN(gPhi, genPhi, float); |
| 46 | +DECLARE_SOA_COLUMN(PDGcode, pdgCode, int); |
| 47 | +} // namespace NonPromptCascadeTableNS |
| 48 | + |
| 49 | +DECLARE_SOA_TABLE(NonPromptCascadeTable, "AOD", "NONPROMPTCASCADETABLE", |
| 50 | + NonPromptCascadeTableNS::Pt, |
| 51 | + NonPromptCascadeTableNS::Eta, |
| 52 | + NonPromptCascadeTableNS::Phi, |
| 53 | + NonPromptCascadeTableNS::TPCInnerParam, |
| 54 | + NonPromptCascadeTableNS::Beta, |
| 55 | + NonPromptCascadeTableNS::Zvertex, |
| 56 | + NonPromptCascadeTableNS::DCAxy, |
| 57 | + NonPromptCascadeTableNS::DCAz, |
| 58 | + NonPromptCascadeTableNS::TPCsignal, |
| 59 | + NonPromptCascadeTableNS::ITSchi2, |
| 60 | + NonPromptCascadeTableNS::TPCchi2, |
| 61 | + NonPromptCascadeTableNS::Flags, |
| 62 | + NonPromptCascadeTableNS::TPCfindableCls, |
| 63 | + NonPromptCascadeTableNS::TPCcrossedRows, |
| 64 | + NonPromptCascadeTableNS::ITSclsMap, |
| 65 | + NonPromptCascadeTableNS::TPCnCls) |
| 66 | + |
| 67 | +DECLARE_SOA_TABLE(NonPromptCascadeTableMC, "AOD", "NONPROMPTCASCADETABLEMC", |
| 68 | + NonPromptCascadeTableNS::Pt, |
| 69 | + NonPromptCascadeTableNS::Eta, |
| 70 | + NonPromptCascadeTableNS::Phi, |
| 71 | + NonPromptCascadeTableNS::TPCInnerParam, |
| 72 | + NonPromptCascadeTableNS::Beta, |
| 73 | + NonPromptCascadeTableNS::Zvertex, |
| 74 | + NonPromptCascadeTableNS::DCAxy, |
| 75 | + NonPromptCascadeTableNS::DCAz, |
| 76 | + NonPromptCascadeTableNS::TPCsignal, |
| 77 | + NonPromptCascadeTableNS::ITSchi2, |
| 78 | + NonPromptCascadeTableNS::TPCchi2, |
| 79 | + NonPromptCascadeTableNS::Flags, |
| 80 | + NonPromptCascadeTableNS::TPCfindableCls, |
| 81 | + NonPromptCascadeTableNS::TPCcrossedRows, |
| 82 | + NonPromptCascadeTableNS::ITSclsMap, |
| 83 | + NonPromptCascadeTableNS::TPCnCls, |
| 84 | + NonPromptCascadeTableNS::gPt, |
| 85 | + NonPromptCascadeTableNS::gEta, |
| 86 | + NonPromptCascadeTableNS::gPhi, |
| 87 | + NonPromptCascadeTableNS::PDGcode) |
| 88 | + |
| 89 | +} // namespace o2::aod |
| 90 | + |
| 91 | +#endif // PWGLF_DATAMODEL_LFNONPROMPTCASCADETABLES_H_ |
0 commit comments