@@ -32,6 +32,8 @@ DECLARE_SOA_COLUMN(PtCand1, ptCand1, float); //! Transverse momentum of first
3232DECLARE_SOA_COLUMN (PtCand2, ptCand2, float ); // ! Transverse momentum of second candidate
3333DECLARE_SOA_COLUMN (YCand1, yCand1, float ); // ! Rapidity of first candidate
3434DECLARE_SOA_COLUMN (YCand2, yCand2, float ); // ! Rapidity of second candidate
35+ DECLARE_SOA_COLUMN (EtaCand1, etaCand1, float ); // ! Azimuthal angle of first candidate
36+ DECLARE_SOA_COLUMN (EtaCand2, etaCand2, float ); // ! Azimuthal angle of second candidate
3537DECLARE_SOA_COLUMN (PhiCand1, phiCand1, float ); // ! Azimuthal angle of first candidate
3638DECLARE_SOA_COLUMN (PhiCand2, phiCand2, float ); // ! Azimuthal angle of second candidate
3739// Invariant mass
@@ -61,6 +63,8 @@ DECLARE_SOA_COLUMN(MlProbD0barCand2, mlProbD0barCand2, std::vector<float>); //!
6163 hf_correlation_d_meson_pair::PtCand2, \
6264 hf_correlation_d_meson_pair::YCand1, \
6365 hf_correlation_d_meson_pair::YCand2, \
66+ hf_correlation_d_meson_pair::EtaCand1, \
67+ hf_correlation_d_meson_pair::EtaCand2, \
6468 hf_correlation_d_meson_pair::PhiCand1, \
6569 hf_correlation_d_meson_pair::PhiCand2, \
6670 hf_correlation_d_meson_pair::MDCand1, \
@@ -93,6 +97,47 @@ DECLARE_DMESON_PAIR_MLINFO_TABLE(D0PairMl, 1, "D0PAIR"); //! D0 pairs ML Inf
9397DECLARE_DMESON_PAIR_TABLE (D0PairMcGen, 2 , " D0PAIRGEN" ); // ! D0 pairs MC Gen Kinematic Info
9498DECLARE_DMESON_PAIR_MCINFO_TABLE (D0PairMcGenInfo, 2 , " D0PAIRGEN" ); // ! D0 pairs MC Gen Info
9599
100+ namespace hf_correlation_d_meson_had
101+ {
102+ // D candidate
103+ DECLARE_SOA_COLUMN (PtD, pD, float ); // ! Transverse momentum of the D meson
104+ DECLARE_SOA_COLUMN (YD , yD, float ); // ! Rapidity of the D meson
105+ DECLARE_SOA_COLUMN (EtaD, etaD, float ); // ! Pseudorapidity of the D meson
106+ DECLARE_SOA_COLUMN (PhiD, phiD, float ); // ! Azimuthal angle of the D meson
107+ DECLARE_SOA_COLUMN (MD , mD , float ); // ! Invariant mass of the D meson
108+ DECLARE_SOA_COLUMN (PoolBinD, poolBinD, int ); // ! Pool bin of the D meson
109+ DECLARE_SOA_COLUMN (GIndexColD, gIndexColD , int ); // ! G-index column of the D meson
110+ DECLARE_SOA_COLUMN (TimestampD, timestampD, int64_t ); // ! Timestamp of the D meson
111+
112+ // Associated hadron
113+ DECLARE_SOA_COLUMN (PtHad, pHad, float ); // ! Transverse momentum of the associated hadron
114+ DECLARE_SOA_COLUMN (YHad, yHad, float ); // ! Rapidity of the associated hadron
115+ DECLARE_SOA_COLUMN (EtaHad, etaHad, float ); // ! Pseudorapidity of the associated hadron
116+ DECLARE_SOA_COLUMN (PhiHad, phiHad, float ); // ! Azimuthal angle of the associated hadron
117+ DECLARE_SOA_COLUMN (PoolBinHad, poolBinHad, int ); // ! Pool bin of the associated hadron
118+ DECLARE_SOA_COLUMN (GIndexColHad, gIndexColHad , int ); // ! G-index column of the associated hadron
119+ DECLARE_SOA_COLUMN (TimestampHad, timestampHad, int64_t ); // ! Timestamp of the associated hadron
120+
121+ } // namespace hf_correlation_d_meson_had
122+
123+ // Definition of the D meson table for D-had correlations. Contains the info needed at Data level.
124+ DECLARE_SOA_TABLE (DMesonCandInfo, " AOD" , " DMESONCANDINFO" , \
125+ hf_correlation_d_meson_had::PtD, \
126+ hf_correlation_d_meson_had::EtaD, \
127+ hf_correlation_d_meson_had::PhiD, \
128+ hf_correlation_d_meson_had::MD , \
129+ hf_correlation_d_meson_had::PoolBinD, \
130+ hf_correlation_d_meson_had::GIndexColD, \
131+ hf_correlation_d_meson_had::TimestampD);
132+
133+ DECLARE_SOA_TABLE (AssocHadInfo, " AOD" , " ASSOCHADINFO" , \
134+ hf_correlation_d_meson_had::PtHad, \
135+ hf_correlation_d_meson_had::EtaHad, \
136+ hf_correlation_d_meson_had::PhiHad, \
137+ hf_correlation_d_meson_had::PoolBinHad, \
138+ hf_correlation_d_meson_had::GIndexColHad, \
139+ hf_correlation_d_meson_had::TimestampHad);
140+
96141} // namespace o2::aod
97142
98143#endif // PWGHF_HFC_DATAMODEL_DMESONPAIRSTABLES_H_
0 commit comments