@@ -49,20 +49,20 @@ using HfcRedCollision = HfcRedCollisions::iterator;
4949
5050namespace hf_candidate_reduced
5151{
52- DECLARE_SOA_INDEX_COLUMN (HfcRedCollision, hfcRedCollision); // ! ReducedCollision index
53- DECLARE_SOA_INDEX_COLUMN (HfcRedFlowColl, hfcRedFlowColl); // ! ReducedCollision index
54- DECLARE_SOA_COLUMN (Prong0Id, prong0Id, int ); // ! Prong 0 index
55- DECLARE_SOA_COLUMN (Prong1Id, prong1Id, int ); // ! Prong 1 index
56- DECLARE_SOA_COLUMN (Prong2Id, prong2Id, int ); // ! Prong2 index
57- DECLARE_SOA_COLUMN (PhiCand, phiCand, float ); // ! Phi of the candidate
58- DECLARE_SOA_COLUMN (EtaCand, etaCand, float ); // ! Eta of the candidate
59- DECLARE_SOA_COLUMN (PtCand, ptCand, float ); // ! Pt of the candidate
60- DECLARE_SOA_COLUMN (InvMassDs, invMassDs, float ); // ! Invariant mass of Ds candidate
61- DECLARE_SOA_COLUMN (InvMassCharmHad, invMassCharmHad , float ); // ! Invariant mass of CharmHad candidate
62- DECLARE_SOA_COLUMN (BdtScorePrompt, bdtScorePrompt, float ); // ! BDT output score for prompt hypothesis
63- DECLARE_SOA_COLUMN (BdtScoreBkg, bdtScoreBkg, float ); // ! BDT output score for backgronud hypothesis
64- DECLARE_SOA_COLUMN (BdtScore0, bdtScore0, float ); // ! First BDT output score
65- DECLARE_SOA_COLUMN (BdtScore1, bdtScore1, float ); // ! Second BDT output score
52+ DECLARE_SOA_INDEX_COLUMN (HfcRedCollision, hfcRedCollision); // ! ReducedCollision index
53+ DECLARE_SOA_INDEX_COLUMN (HfcRedFlowColl, hfcRedFlowColl); // ! ReducedCollision index
54+ DECLARE_SOA_COLUMN (Prong0Id, prong0Id, int ); // ! Prong 0 index
55+ DECLARE_SOA_COLUMN (Prong1Id, prong1Id, int ); // ! Prong 1 index
56+ DECLARE_SOA_COLUMN (Prong2Id, prong2Id, int ); // ! Prong2 index
57+ DECLARE_SOA_COLUMN (PhiCand, phiCand, float ); // ! Phi of the candidate
58+ DECLARE_SOA_COLUMN (EtaCand, etaCand, float ); // ! Eta of the candidate
59+ DECLARE_SOA_COLUMN (PtCand, ptCand, float ); // ! Pt of the candidate
60+ DECLARE_SOA_COLUMN (InvMassDs, invMassDs, float ); // ! Invariant mass of Ds candidate
61+ DECLARE_SOA_COLUMN (InvMassCand, invMassCand , float ); // ! Invariant mass of Charm candidate
62+ DECLARE_SOA_COLUMN (BdtScorePrompt, bdtScorePrompt, float ); // ! BDT output score for prompt hypothesis
63+ DECLARE_SOA_COLUMN (BdtScoreBkg, bdtScoreBkg, float ); // ! BDT output score for background hypothesis
64+ DECLARE_SOA_COLUMN (BdtScore0, bdtScore0, float ); // ! First BDT output score
65+ DECLARE_SOA_COLUMN (BdtScore1, bdtScore1, float ); // ! Second BDT output score
6666} // namespace hf_candidate_reduced
6767DECLARE_SOA_TABLE (DsCandReduceds, " AOD" , " DSCANDREDUCED" , // ! Table with Ds candidate info
6868 soa::Index<>,
@@ -81,23 +81,13 @@ DECLARE_SOA_TABLE(DsCandSelInfos, "AOD", "DSCANDSELINFO", //! Table with Ds cand
8181 aod::hf_candidate_reduced::BdtScorePrompt,
8282 aod::hf_candidate_reduced::BdtScoreBkg);
8383
84- DECLARE_SOA_TABLE (HfcRedCharmHads2P , " AOD" , " HFCREDCHARM2P " , // ! Table with 2-prong charm hadron candidate info
84+ DECLARE_SOA_TABLE (HfcRedCharmTrigs , " AOD" , " HFCREDCHARMTRIG " , // ! Table with charm hadron candidate info
8585 soa::Index<>,
8686 aod::hf_candidate_reduced::HfcRedFlowCollId,
8787 aod::hf_candidate_reduced::PhiCand,
8888 aod::hf_candidate_reduced::EtaCand,
8989 aod::hf_candidate_reduced::PtCand,
90- aod::hf_candidate_reduced::InvMassCharmHad,
91- aod::hf_candidate_reduced::Prong0Id,
92- aod::hf_candidate_reduced::Prong1Id);
93-
94- DECLARE_SOA_TABLE (HfcRedCharmHads3P, " AOD" , " HFCREDCHARM3P" , // ! Table with 3-prong charm hadron candidate info
95- soa::Index<>,
96- aod::hf_candidate_reduced::HfcRedFlowCollId,
97- aod::hf_candidate_reduced::PhiCand,
98- aod::hf_candidate_reduced::EtaCand,
99- aod::hf_candidate_reduced::PtCand,
100- aod::hf_candidate_reduced::InvMassCharmHad,
90+ aod::hf_candidate_reduced::InvMassCand,
10191 aod::hf_candidate_reduced::Prong0Id,
10292 aod::hf_candidate_reduced::Prong1Id,
10393 aod::hf_candidate_reduced::Prong2Id);
@@ -137,22 +127,48 @@ DECLARE_SOA_TABLE(AssocTrackSels, "AOD", "ASSOCTRACKSEL", //! Table with associa
137127 aod::hf_assoc_track_reduced::DcaXY,
138128 aod::hf_assoc_track_reduced::DcaZ)
139129
140- DECLARE_SOA_TABLE (HfcRedTrkAssoc , " AOD" , " HFCREDTRKASSOC" , // ! Table with associated track info
130+ DECLARE_SOA_TABLE (HfcRedTrkAssocs , " AOD" , " HFCREDTRKASSOC" , // ! Table with associated track info
141131 soa::Index<>,
142132 aod::hf_candidate_reduced::HfcRedFlowCollId,
143133 aod::hf_assoc_track_reduced::OriginTrackId,
144134 aod::hf_assoc_track_reduced::PhiAssocTrack,
145135 aod::hf_assoc_track_reduced::EtaAssocTrack,
146136 aod::hf_assoc_track_reduced::PtAssocTrack);
147137
148- DECLARE_SOA_TABLE (HfcRedTrkSels, " AOD" , " HFCREDTRKSELS " , // ! Table with associated track info
138+ DECLARE_SOA_TABLE (HfcRedTrkSels, " AOD" , " HFCREDTRKSEL " , // ! Table with associated track info
149139 soa::Index<>,
150140 aod::hf_candidate_reduced::HfcRedFlowCollId,
151141 aod::hf_assoc_track_reduced::NTpcCrossedRows,
152142 aod::hf_assoc_track_reduced::ItsClusterMap,
153143 aod::hf_assoc_track_reduced::ItsNCls,
154144 aod::hf_assoc_track_reduced::DcaXY,
155145 aod::hf_assoc_track_reduced::DcaZ)
146+
147+ // definition of columns and tables for Charm-Hadron and Hadron-Hadron correlation pairs
148+ namespace hf_correlation_charm_hadron_reduced
149+ {
150+ DECLARE_SOA_INDEX_COLUMN_FULL (CharmTrig, charmTrig, int , HfcRedCharmTrigs, " _0" ); // ! Reduced charm trigger candidate index
151+ DECLARE_SOA_INDEX_COLUMN_FULL (HadTrig, hadTrig, int , HfcRedTrkAssocs, " _1" ); // ! Reduced hadron trigger candidate index
152+ DECLARE_SOA_INDEX_COLUMN_FULL (TrkAssoc, trkAssoc, int , HfcRedTrkAssocs, " _2" ); // ! Reduced associated track index
153+ DECLARE_SOA_COLUMN (DeltaPhi, deltaPhi, float ); // ! DeltaPhi between charm hadron and Hadrons
154+ DECLARE_SOA_COLUMN (DeltaEta, deltaEta, float ); // ! DeltaEta between charm hadron and Hadrons
155+ DECLARE_SOA_COLUMN (PoolBin, poolBin, int ); // ! Pool Bin for the MixedEvent
156+ } // namespace hf_correlation_charm_hadron_reduced
157+
158+ DECLARE_SOA_TABLE (HfcRedChHads, " AOD" , " HFCREDCHHAD" , // ! Charm-Hadron pairs information
159+ aod::hf_correlation_charm_hadron_reduced::CharmTrigId,
160+ aod::hf_correlation_charm_hadron_reduced::TrkAssocId,
161+ aod::hf_correlation_charm_hadron_reduced::DeltaEta,
162+ aod::hf_correlation_charm_hadron_reduced::DeltaPhi,
163+ aod::hf_correlation_charm_hadron_reduced::PoolBin);
164+
165+ DECLARE_SOA_TABLE (HfcRedHadHads, " AOD" , " HFCREDHADHAD" , // ! Hadron-Hadron pairs information
166+ aod::hf_correlation_charm_hadron_reduced::HadTrigId,
167+ aod::hf_correlation_charm_hadron_reduced::TrkAssocId,
168+ aod::hf_correlation_charm_hadron_reduced::DeltaEta,
169+ aod::hf_correlation_charm_hadron_reduced::DeltaPhi,
170+ aod::hf_correlation_charm_hadron_reduced::PoolBin);
171+
156172} // namespace o2::aod
157173
158174#endif // PWGHF_HFC_DATAMODEL_DERIVEDDATACORRELATIONTABLES_H_
0 commit comments