|
| 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 | +/// \author Sourav Kundu <sourav.kundu@cern.ch> |
| 13 | + |
| 14 | +#ifndef PWGLF_DATAMODEL_ZDC2STAGECALIBRATIONTABLES_H_ |
| 15 | +#define PWGLF_DATAMODEL_ZDC2STAGECALIBRATIONTABLES_H_ |
| 16 | + |
| 17 | +#include <Framework/AnalysisDataModel.h> |
| 18 | + |
| 19 | +#include <cstdint> |
| 20 | + |
| 21 | +namespace o2::aod |
| 22 | +{ |
| 23 | +namespace zdc2stagecalib |
| 24 | +{ |
| 25 | +DECLARE_SOA_INDEX_COLUMN(Collision, collision); |
| 26 | +DECLARE_SOA_COLUMN(TriggerSP, triggerSP, bool); |
| 27 | +DECLARE_SOA_COLUMN(RunNumber, runNumber, int32_t); |
| 28 | +DECLARE_SOA_COLUMN(GlobalBC, globalBC, uint64_t); |
| 29 | +DECLARE_SOA_COLUMN(Centrality, centrality, float); |
| 30 | +DECLARE_SOA_COLUMN(Vx, vx, float); |
| 31 | +DECLARE_SOA_COLUMN(Vy, vy, float); |
| 32 | +DECLARE_SOA_COLUMN(Vz, vz, float); |
| 33 | +DECLARE_SOA_COLUMN(QxZDCA, qxZDCA, float); |
| 34 | +DECLARE_SOA_COLUMN(QxZDCC, qxZDCC, float); |
| 35 | +DECLARE_SOA_COLUMN(QyZDCA, qyZDCA, float); |
| 36 | +DECLARE_SOA_COLUMN(QyZDCC, qyZDCC, float); |
| 37 | +} // namespace zdc2stagecalib |
| 38 | + |
| 39 | +DECLARE_SOA_TABLE(ZDC2StageCalibs, "AOD", "ZDC2STGCAL", |
| 40 | + zdc2stagecalib::CollisionId, |
| 41 | + zdc2stagecalib::TriggerSP, |
| 42 | + zdc2stagecalib::RunNumber, |
| 43 | + zdc2stagecalib::GlobalBC, |
| 44 | + zdc2stagecalib::Centrality, |
| 45 | + zdc2stagecalib::Vx, |
| 46 | + zdc2stagecalib::Vy, |
| 47 | + zdc2stagecalib::Vz, |
| 48 | + zdc2stagecalib::QxZDCA, |
| 49 | + zdc2stagecalib::QxZDCC, |
| 50 | + zdc2stagecalib::QyZDCA, |
| 51 | + zdc2stagecalib::QyZDCC); |
| 52 | +} // namespace o2::aod |
| 53 | + |
| 54 | +#endif // PWGLF_DATAMODEL_ZDC2STAGECALIBRATIONTABLES_H_ |
0 commit comments