|
| 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 ZDCLightIons.h |
| 13 | +/// \brief ZDC data model for O-O Ne-Ne and p-O collisions |
| 14 | +/// \author Chiara Oppedisano <chiara.oppedisano@cern.ch> |
| 15 | + |
| 16 | +#ifndef PWGMM_DATAMODEL_ZDCLIGHTIONS_H_ |
| 17 | +#define PWGMM_DATAMODEL_ZDCLIGHTIONS_H_ |
| 18 | + |
| 19 | +#include "Common/DataModel/Centrality.h" |
| 20 | + |
| 21 | +#include "Framework/ASoAHelpers.h" |
| 22 | +#include "Framework/AnalysisDataModel.h" |
| 23 | + |
| 24 | +namespace o2::aod |
| 25 | +{ |
| 26 | +namespace zdclightions |
| 27 | +{ |
| 28 | +DECLARE_SOA_COLUMN(ZnaTdc, znaTdc, float); //! TDC ZNA |
| 29 | +DECLARE_SOA_COLUMN(ZnaAmpl, znaAmpl, float); //! amplitude ZNA |
| 30 | +DECLARE_SOA_COLUMN(ZnaPmc, znaPmc, float); //! ADC PmC ZNA |
| 31 | +DECLARE_SOA_COLUMN(ZnaPm1, znaPm1, float); //! ADC PmQ1 ZNA |
| 32 | +DECLARE_SOA_COLUMN(ZnaPm2, znaPm2, float); //! ADC PmQ2 ZNA |
| 33 | +DECLARE_SOA_COLUMN(ZnaPm3, znaPm3, float); //! ADC PmQ3 ZNA |
| 34 | +DECLARE_SOA_COLUMN(ZnaPm4, znaPm4, float); //! ADC PmQ4 ZNA |
| 35 | +DECLARE_SOA_COLUMN(ZncTdc, zncTdc, float); //! TDC ZNC |
| 36 | +DECLARE_SOA_COLUMN(ZncAmpl, zncAmpl, float); //! amplitude ZNC |
| 37 | +DECLARE_SOA_COLUMN(ZncPmc, zncPmc, float); //! ADC PmC ZNC |
| 38 | +DECLARE_SOA_COLUMN(ZncPm1, zncPm1, float); //! ADC PmQ1 ZNC |
| 39 | +DECLARE_SOA_COLUMN(ZncPm2, zncPm2, float); //! ADC PmQ2 ZNC |
| 40 | +DECLARE_SOA_COLUMN(ZncPm3, zncPm3, float); //! ADC PmQ3 ZNC |
| 41 | +DECLARE_SOA_COLUMN(ZncPm4, zncPm4, float); //! ADC PmQ4 ZNC |
| 42 | +DECLARE_SOA_COLUMN(ZpaTdc, zpaTdc, float); //! TDC ZPA |
| 43 | +DECLARE_SOA_COLUMN(ZpaAmpl, zpaAmpl, float); //! amplitude ZPA |
| 44 | +DECLARE_SOA_COLUMN(ZpaPmc, zpaPmc, float); //! ADC PmC ZPA |
| 45 | +DECLARE_SOA_COLUMN(ZpcTdc, zpcTdc, float); //! TDC ZPC |
| 46 | +DECLARE_SOA_COLUMN(ZpcAmpl, zpcAmpl, float); //! amplitude ZPA |
| 47 | +DECLARE_SOA_COLUMN(ZpcPmc, zpcPmc, float); //! ADC PmC ZPA |
| 48 | +DECLARE_SOA_COLUMN(Zem1Tdc, zem1Tdc, float); //! TDC ZEM1 |
| 49 | +DECLARE_SOA_COLUMN(Zem1Ampl, zem1Ampl, float); //! amplitude ZEM1 |
| 50 | +DECLARE_SOA_COLUMN(Zem2Tdc, zem2Tdc, float); //! TDC ZEM2 |
| 51 | +DECLARE_SOA_COLUMN(Zem2Ampl, zem2Ampl, float); //! amplitude ZEM2 |
| 52 | +DECLARE_SOA_COLUMN(MultFt0a, multFt0a, float); //! mult. FIT-A |
| 53 | +DECLARE_SOA_COLUMN(MultFt0c, multFt0c, float); //! mult. FIT-C |
| 54 | +DECLARE_SOA_COLUMN(MultV0a, multV0a, float); //! mult. V0-A |
| 55 | +DECLARE_SOA_COLUMN(VertexZ, vertexZ, float); //! Z vertex |
| 56 | +DECLARE_SOA_COLUMN(CentralityFt0c, centralityFt0c, float); //! Centrality |
| 57 | +DECLARE_SOA_COLUMN(CentralityFt0a, centralityFt0a, float); //! Centrality |
| 58 | +DECLARE_SOA_COLUMN(CentralityFt0m, centralityFt0m, float); //! Centrality |
| 59 | +DECLARE_SOA_COLUMN(Timestamp, timestamp, uint64_t); //! Timestamp |
| 60 | +DECLARE_SOA_COLUMN(SelectionBits, selectionBits, uint8_t); //! Selection Flags |
| 61 | +} // namespace zdclightions |
| 62 | + |
| 63 | +DECLARE_SOA_TABLE(ZDCLightIons, "AOD", "ZDCTABLELIGHTIONS", |
| 64 | + zdclightions::ZnaTdc, |
| 65 | + zdclightions::ZnaAmpl, |
| 66 | + zdclightions::ZnaPmc, |
| 67 | + zdclightions::ZnaPm1, |
| 68 | + zdclightions::ZnaPm2, |
| 69 | + zdclightions::ZnaPm3, |
| 70 | + zdclightions::ZnaPm4, |
| 71 | + zdclightions::ZncTdc, |
| 72 | + zdclightions::ZncAmpl, |
| 73 | + zdclightions::ZncPmc, |
| 74 | + zdclightions::ZncPm1, |
| 75 | + zdclightions::ZncPm2, |
| 76 | + zdclightions::ZncPm3, |
| 77 | + zdclightions::ZncPm4, |
| 78 | + zdclightions::ZpaTdc, |
| 79 | + zdclightions::ZpaAmpl, |
| 80 | + zdclightions::ZpcTdc, |
| 81 | + zdclightions::ZpcAmpl, |
| 82 | + zdclightions::Zem1Tdc, |
| 83 | + zdclightions::Zem1Ampl, |
| 84 | + zdclightions::Zem2Tdc, |
| 85 | + zdclightions::Zem2Ampl, |
| 86 | + zdclightions::MultFt0a, |
| 87 | + zdclightions::MultFt0c, |
| 88 | + zdclightions::MultV0a, |
| 89 | + zdclightions::VertexZ, |
| 90 | + zdclightions::CentralityFt0c, |
| 91 | + zdclightions::CentralityFt0a, |
| 92 | + zdclightions::CentralityFt0m, |
| 93 | + zdclightions::Timestamp, |
| 94 | + zdclightions::SelectionBits); |
| 95 | +} // namespace o2::aod |
| 96 | + |
| 97 | +#endif // COMMON_DATAMODEL_ZDCLIGHTIONS_H_ |
0 commit comments