|
| 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 ReducedDMesonPairsTables.h |
| 13 | +/// \brief Header file with definition of methods and tables |
| 14 | +/// \note used to fold (unfold) track and primary vertex information by writing (reading) AO2Ds |
| 15 | +/// |
| 16 | +/// \author Valerio DI BELLA <valerio.di.bella@cern.ch>, IPHC Strasbourg |
| 17 | + |
| 18 | +#ifndef PWGHF_D2H_DATAMODEL_REDUCEDMESONPAIRSTABLES_H_ |
| 19 | +#define PWGHF_D2H_DATAMODEL_REDUCEDMESONPAIRSTABLES_H_ |
| 20 | + |
| 21 | +#include "PWGHF/DataModel/CandidateReconstructionTables.h" |
| 22 | + |
| 23 | +namespace o2::aod |
| 24 | +{ |
| 25 | +DECLARE_SOA_TABLE(HfCandDpFullEvs, "AOD", "HFCANDDPFULLEV", |
| 26 | + collision::NumContrib, |
| 27 | + collision::PosX, |
| 28 | + collision::PosY, |
| 29 | + collision::PosZ); |
| 30 | + |
| 31 | +DECLARE_SOA_TABLE(HfCandDpMcEvs, "AOD", "HFCANDDPMCEV", |
| 32 | + collision::PosX, |
| 33 | + collision::PosY, |
| 34 | + collision::PosZ); |
| 35 | + |
| 36 | +namespace full |
| 37 | +{ |
| 38 | +DECLARE_SOA_COLUMN(RSecondaryVertex, rSecondaryVertex, float); //! Radius of secondary vertex (cm) |
| 39 | +DECLARE_SOA_COLUMN(PtProng0, ptProng0, float); //! Transverse momentum of prong0 (GeV/c) |
| 40 | +DECLARE_SOA_COLUMN(PProng0, pProng0, float); //! Momentum of prong0 (GeV/c) |
| 41 | +DECLARE_SOA_COLUMN(ImpactParameterNormalised0, impactParameterNormalised0, float); //! Normalised impact parameter of prong0 |
| 42 | +DECLARE_SOA_COLUMN(PtProng1, ptProng1, float); //! Transverse momentum of prong1 (GeV/c) |
| 43 | +DECLARE_SOA_COLUMN(PProng1, pProng1, float); //! Momentum of prong1 (in GeV/c) |
| 44 | +DECLARE_SOA_COLUMN(ImpactParameterNormalised1, impactParameterNormalised1, float); //! Normalised impact parameter of prong1 |
| 45 | +DECLARE_SOA_COLUMN(PtProng2, ptProng2, float); //! Transverse momentum of prong2 (GeV/c) |
| 46 | +DECLARE_SOA_COLUMN(PProng2, pProng2, float); //! Momentum of prong2 (GeV/c) |
| 47 | +DECLARE_SOA_COLUMN(ImpactParameterNormalised2, impactParameterNormalised2, float); //! Normalised impact parameter of prong2 |
| 48 | +DECLARE_SOA_COLUMN(CandidateSelFlag, candidateSelFlag, int); //! Selection flag of candidate (output of candidateSelector) |
| 49 | +DECLARE_SOA_COLUMN(M, m, float); //! Invariant mass of candidate (GeV/c2) |
| 50 | +DECLARE_SOA_COLUMN(Pt, pt, float); //! Transverse momentum of candidate (GeV/c) |
| 51 | +DECLARE_SOA_COLUMN(P, p, float); //! Momentum of candidate (GeV/c) |
| 52 | +DECLARE_SOA_COLUMN(Y, y, float); //! Rapidity of candidate |
| 53 | +DECLARE_SOA_COLUMN(Eta, eta, float); //! Pseudorapidity of candidate |
| 54 | +DECLARE_SOA_COLUMN(Phi, phi, float); //! Azimuth angle of candidate |
| 55 | +DECLARE_SOA_COLUMN(E, e, float); //! Energy of candidate (GeV) |
| 56 | +DECLARE_SOA_COLUMN(Centrality, centrality, float); //! Collision centrality |
| 57 | +DECLARE_SOA_INDEX_COLUMN(HfCandDpMcEv, hfCandDpMcEv); //! The Mc collision index this MC particles belongs to |
| 58 | +DECLARE_SOA_INDEX_COLUMN(HfCandDpFullEv, hfCandDpFullEv); //! The collision index this candidate belongs to |
| 59 | +DECLARE_SOA_COLUMN(NSigTpcPi0, nSigTpcPi0, float); //! TPC Nsigma separation for prong0 with pion mass hypothesis |
| 60 | +DECLARE_SOA_COLUMN(NSigTpcKa0, nSigTpcKa0, float); //! TPC Nsigma separation for prong0 with kaon mass hypothesis |
| 61 | +DECLARE_SOA_COLUMN(NSigTofPi0, nSigTofPi0, float); //! TOF Nsigma separation for prong0 with pion mass hypothesis |
| 62 | +DECLARE_SOA_COLUMN(NSigTofKa0, nSigTofKa0, float); //! TOF Nsigma separation for prong0 with kaon mass hypothesis |
| 63 | +DECLARE_SOA_COLUMN(NSigTpcPi1, nSigTpcPi1, float); //! TPC Nsigma separation for prong1 with pion mass hypothesis |
| 64 | +DECLARE_SOA_COLUMN(NSigTpcKa1, nSigTpcKa1, float); //! TPC Nsigma separation for prong1 with kaon mass hypothesis |
| 65 | +DECLARE_SOA_COLUMN(NSigTofPi1, nSigTofPi1, float); //! TOF Nsigma separation for prong1 with pion mass hypothesis |
| 66 | +DECLARE_SOA_COLUMN(NSigTofKa1, nSigTofKa1, float); //! TOF Nsigma separation for prong1 with kaon mass hypothesis |
| 67 | +DECLARE_SOA_COLUMN(NSigTpcPi2, nSigTpcPi2, float); //! TPC Nsigma separation for prong2 with pion mass hypothesis |
| 68 | +DECLARE_SOA_COLUMN(NSigTpcKa2, nSigTpcKa2, float); //! TPC Nsigma separation for prong2 with kaon mass hypothesis |
| 69 | +DECLARE_SOA_COLUMN(NSigTofPi2, nSigTofPi2, float); //! TOF Nsigma separation for prong2 with pion mass hypothesis |
| 70 | +DECLARE_SOA_COLUMN(NSigTofKa2, nSigTofKa2, float); //! TOF Nsigma separation for prong2 with kaon mass hypothesis |
| 71 | +DECLARE_SOA_COLUMN(NSigTpcTofPi0, nSigTpcTofPi0, float); //! TPC and TOF combined Nsigma separation for prong0 with pion mass hypothesis |
| 72 | +DECLARE_SOA_COLUMN(NSigTpcTofKa0, nSigTpcTofKa0, float); //! TPC and TOF combined Nsigma separation for prong0 with kaon mass hypothesis |
| 73 | +DECLARE_SOA_COLUMN(NSigTpcTofPi1, nSigTpcTofPi1, float); //! TPC and TOF combined Nsigma separation for prong1 with pion mass hypothesis |
| 74 | +DECLARE_SOA_COLUMN(NSigTpcTofKa1, nSigTpcTofKa1, float); //! TPC and TOF combined Nsigma separation for prong1 with kaon mass hypothesis |
| 75 | +DECLARE_SOA_COLUMN(NSigTpcTofPi2, nSigTpcTofPi2, float); //! TPC and TOF combined Nsigma separation for prong2 with pion mass hypothesis |
| 76 | +DECLARE_SOA_COLUMN(NSigTpcTofKa2, nSigTpcTofKa2, float); //! TPC and TOF combined Nsigma separation for prong2 with kaon mass hypothesis |
| 77 | +DECLARE_SOA_COLUMN(DecayLength, decayLength, float); //! Decay length of candidate (cm) |
| 78 | +DECLARE_SOA_COLUMN(DecayLengthXY, decayLengthXY, float); //! Transverse decay length of candidate (cm) |
| 79 | +DECLARE_SOA_COLUMN(DecayLengthNormalised, decayLengthNormalised, float); //! Normalised decay length of candidate |
| 80 | +DECLARE_SOA_COLUMN(DecayLengthXYNormalised, decayLengthXYNormalised, float); //! Normalised transverse decay length of candidate |
| 81 | +DECLARE_SOA_COLUMN(Cpa, cpa, float); //! Cosine pointing angle of candidate |
| 82 | +DECLARE_SOA_COLUMN(CpaXY, cpaXY, float); //! Cosine pointing angle of candidate in transverse plane |
| 83 | +DECLARE_SOA_COLUMN(MaxNormalisedDeltaIP, maxNormalisedDeltaIP, float); //! Maximum normalized difference between measured and expected impact parameter of candidate prongs |
| 84 | +DECLARE_SOA_COLUMN(Ct, ct, float); //! Proper lifetime times c of candidate (cm) |
| 85 | +// Events |
| 86 | +DECLARE_SOA_COLUMN(IsEventReject, isEventReject, int); //! Event rejection flag |
| 87 | +DECLARE_SOA_COLUMN(RunNumber, runNumber, int); //! Run number |
| 88 | +// ML scores |
| 89 | +DECLARE_SOA_COLUMN(MlScore0, mlScore0, float); //! ML score of the first configured index |
| 90 | +DECLARE_SOA_COLUMN(MlScore1, mlScore1, float); //! ML score of the second configured index |
| 91 | +} // namespace full |
| 92 | +DECLARE_SOA_TABLE(HfCandDpMls, "AOD", "HFCANDDPML", |
| 93 | + full::MlScore0, |
| 94 | + full::MlScore1) |
| 95 | + |
| 96 | +DECLARE_SOA_TABLE(HfCandDpLites, "AOD", "HFCANDDPLITE", |
| 97 | + hf_cand::Chi2PCA, |
| 98 | + full::DecayLength, |
| 99 | + full::DecayLengthXY, |
| 100 | + full::DecayLengthNormalised, |
| 101 | + full::DecayLengthXYNormalised, |
| 102 | + full::PtProng0, |
| 103 | + full::PtProng1, |
| 104 | + full::PtProng2, |
| 105 | + hf_cand::ImpactParameter0, |
| 106 | + hf_cand::ImpactParameter1, |
| 107 | + hf_cand::ImpactParameter2, |
| 108 | + hf_cand::ImpactParameterZ0, |
| 109 | + hf_cand::ImpactParameterZ1, |
| 110 | + hf_cand::ImpactParameterZ2, |
| 111 | + full::NSigTpcPi0, |
| 112 | + full::NSigTpcKa0, |
| 113 | + full::NSigTofPi0, |
| 114 | + full::NSigTofKa0, |
| 115 | + full::NSigTpcTofPi0, |
| 116 | + full::NSigTpcTofKa0, |
| 117 | + full::NSigTpcPi1, |
| 118 | + full::NSigTpcKa1, |
| 119 | + full::NSigTofPi1, |
| 120 | + full::NSigTofKa1, |
| 121 | + full::NSigTpcTofPi1, |
| 122 | + full::NSigTpcTofKa1, |
| 123 | + full::NSigTpcPi2, |
| 124 | + full::NSigTpcKa2, |
| 125 | + full::NSigTofPi2, |
| 126 | + full::NSigTofKa2, |
| 127 | + full::NSigTpcTofPi2, |
| 128 | + full::NSigTpcTofKa2, |
| 129 | + full::CandidateSelFlag, |
| 130 | + full::M, |
| 131 | + full::Pt, |
| 132 | + full::Cpa, |
| 133 | + full::CpaXY, |
| 134 | + full::MaxNormalisedDeltaIP, |
| 135 | + full::Eta, |
| 136 | + full::Phi, |
| 137 | + full::Y, |
| 138 | + full::Centrality, |
| 139 | + collision::NumContrib, |
| 140 | + full::HfCandDpFullEvId, |
| 141 | + hf_cand_3prong::FlagMcMatchRec, |
| 142 | + hf_cand_3prong::OriginMcRec, |
| 143 | + hf_cand_3prong::FlagMcDecayChanRec) |
| 144 | + |
| 145 | +DECLARE_SOA_TABLE(HfCandDpFulls, "AOD", "HFCANDDPFULL", |
| 146 | + hf_cand::XSecondaryVertex, |
| 147 | + hf_cand::YSecondaryVertex, |
| 148 | + hf_cand::ZSecondaryVertex, |
| 149 | + hf_cand::ErrorDecayLength, |
| 150 | + hf_cand::ErrorDecayLengthXY, |
| 151 | + hf_cand::Chi2PCA, |
| 152 | + full::RSecondaryVertex, |
| 153 | + full::DecayLength, |
| 154 | + full::DecayLengthXY, |
| 155 | + full::DecayLengthNormalised, |
| 156 | + full::DecayLengthXYNormalised, |
| 157 | + full::ImpactParameterNormalised0, |
| 158 | + full::PtProng0, |
| 159 | + full::PProng0, |
| 160 | + full::ImpactParameterNormalised1, |
| 161 | + full::PtProng1, |
| 162 | + full::PProng1, |
| 163 | + full::ImpactParameterNormalised2, |
| 164 | + full::PtProng2, |
| 165 | + full::PProng2, |
| 166 | + hf_cand::PxProng0, |
| 167 | + hf_cand::PyProng0, |
| 168 | + hf_cand::PzProng0, |
| 169 | + hf_cand::PxProng1, |
| 170 | + hf_cand::PyProng1, |
| 171 | + hf_cand::PzProng1, |
| 172 | + hf_cand::PxProng2, |
| 173 | + hf_cand::PyProng2, |
| 174 | + hf_cand::PzProng2, |
| 175 | + hf_cand::ImpactParameter0, |
| 176 | + hf_cand::ImpactParameter1, |
| 177 | + hf_cand::ImpactParameter2, |
| 178 | + hf_cand::ErrorImpactParameter0, |
| 179 | + hf_cand::ErrorImpactParameter1, |
| 180 | + hf_cand::ErrorImpactParameter2, |
| 181 | + hf_cand::ImpactParameterZ0, |
| 182 | + hf_cand::ImpactParameterZ1, |
| 183 | + hf_cand::ImpactParameterZ2, |
| 184 | + hf_cand::ErrorImpactParameterZ0, |
| 185 | + hf_cand::ErrorImpactParameterZ1, |
| 186 | + hf_cand::ErrorImpactParameterZ2, |
| 187 | + full::NSigTpcPi0, |
| 188 | + full::NSigTpcKa0, |
| 189 | + full::NSigTofPi0, |
| 190 | + full::NSigTofKa0, |
| 191 | + full::NSigTpcTofPi0, |
| 192 | + full::NSigTpcTofKa0, |
| 193 | + full::NSigTpcPi1, |
| 194 | + full::NSigTpcKa1, |
| 195 | + full::NSigTofPi1, |
| 196 | + full::NSigTofKa1, |
| 197 | + full::NSigTpcTofPi1, |
| 198 | + full::NSigTpcTofKa1, |
| 199 | + full::NSigTpcPi2, |
| 200 | + full::NSigTpcKa2, |
| 201 | + full::NSigTofPi2, |
| 202 | + full::NSigTofKa2, |
| 203 | + full::NSigTpcTofPi2, |
| 204 | + full::NSigTpcTofKa2, |
| 205 | + full::CandidateSelFlag, |
| 206 | + full::M, |
| 207 | + full::Pt, |
| 208 | + full::P, |
| 209 | + full::Cpa, |
| 210 | + full::CpaXY, |
| 211 | + full::MaxNormalisedDeltaIP, |
| 212 | + full::Ct, |
| 213 | + full::Eta, |
| 214 | + full::Phi, |
| 215 | + full::Y, |
| 216 | + full::E, |
| 217 | + full::Centrality, |
| 218 | + full::HfCandDpFullEvId, |
| 219 | + hf_cand_3prong::FlagMcMatchRec, |
| 220 | + hf_cand_3prong::OriginMcRec, |
| 221 | + hf_cand_3prong::FlagMcDecayChanRec); |
| 222 | + |
| 223 | +DECLARE_SOA_TABLE(HfCandDpMcPs, "AOD", "HFCANDDPMCP", |
| 224 | + full::Pt, |
| 225 | + full::Eta, |
| 226 | + full::Phi, |
| 227 | + full::Y, |
| 228 | + full::HfCandDpMcEvId, |
| 229 | + hf_cand_3prong::FlagMcMatchGen, |
| 230 | + hf_cand_3prong::FlagMcDecayChanGen, |
| 231 | + hf_cand_3prong::OriginMcGen); |
| 232 | +} // namespace o2::aod |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | +#endif // PWGHF_D2H_DATAMODEL_REDUCEDMESONPAIRSTABLES_H_ |
0 commit comments