@@ -30,12 +30,21 @@ namespace o2::aod
3030{
3131namespace hf_sel_collision
3232{
33+
34+ // ================
35+ // Collision selection table
36+ // ================
37+
3338DECLARE_SOA_COLUMN (WhyRejectColl, whyRejectColl, o2::hf_evsel::HfCollisionRejectionMask); // !
3439} // namespace hf_sel_collision
3540
3641DECLARE_SOA_TABLE (HfSelCollision, " AOD" , " HFSELCOLLISION" , // !
3742 hf_sel_collision::WhyRejectColl);
3843
44+ // ================
45+ // Track selection tables
46+ // ================
47+
3948namespace hf_sel_track
4049{
4150DECLARE_SOA_COLUMN (IsSelProng, isSelProng, uint32_t ); // !
@@ -76,6 +85,10 @@ DECLARE_SOA_TABLE(HfPvRefitTrack, "AOD", "HFPVREFITTRACK", //!
7685 hf_pv_refit_track::PvRefitDcaXY,
7786 hf_pv_refit_track::PvRefitDcaZ);
7887
88+ // ================
89+ // Track index skim tables
90+ // ================
91+
7992namespace hf_track_index
8093{
8194DECLARE_SOA_INDEX_COLUMN (Collision, collision); // ! Collision index
@@ -88,16 +101,14 @@ DECLARE_SOA_INDEX_COLUMN(V0, v0); //! Index to V
88101DECLARE_SOA_INDEX_COLUMN (Cascade, cascade); // ! Index to cascade prong
89102DECLARE_SOA_COLUMN (HFflag, hfflag, uint8_t ); // ! Bitmap to store selection results, o2-linter: disable=name/o2-column (written to disk)
90103
91- DECLARE_SOA_COLUMN (FlagD0ToKPi, flagD0ToKPi, uint8_t ); // !
92- DECLARE_SOA_COLUMN (FlagJpsiToEE, flagJpsiToEE, uint8_t ); // !
93- DECLARE_SOA_COLUMN (FlagJpsiToMuMu, flagJpsiToMuMu, uint8_t ); // !
94-
104+ DECLARE_SOA_COLUMN (FlagD0ToKPi, flagD0ToKPi, uint8_t ); // !
105+ DECLARE_SOA_COLUMN (FlagJpsiToEE, flagJpsiToEE, uint8_t ); // !
106+ DECLARE_SOA_COLUMN (FlagJpsiToMuMu, flagJpsiToMuMu, uint8_t ); // !
95107DECLARE_SOA_COLUMN (FlagDplusToPiKPi, flagDplusToPiKPi, uint8_t ); // !
96108DECLARE_SOA_COLUMN (FlagLcToPKPi, flagLcToPKPi, uint8_t ); // !
97109DECLARE_SOA_COLUMN (FlagDsToKKPi, flagDsToKKPi, uint8_t ); // !
98110DECLARE_SOA_COLUMN (FlagXicToPKPi, flagXicToPKPi, uint8_t ); // !
99-
100- DECLARE_SOA_COLUMN (FlagDstarToD0Pi, flagDstarToD0Pi, uint8_t ); // !
111+ DECLARE_SOA_COLUMN (FlagDstarToD0Pi, flagDstarToD0Pi, uint8_t ); // !
101112
102113DECLARE_SOA_COLUMN (MlProbSkimD0ToKPi, mlProbSkimD0ToKPi, std::vector<float >); // ! ML probabilities (background, prompt, non-prompt) for D0->Kpi
103114DECLARE_SOA_COLUMN (MlProbSkimDplusToPiKPi, mlProbSkimDplusToPiKPi, std::vector<float >); // ! ML probabilities (background, prompt, non-prompt) for D+->Kpipi
@@ -160,6 +171,7 @@ DECLARE_SOA_TABLE(HfCascLf2Prongs, "AOD", "HFCASCLF2PRONG", //! Table for HF 2 p
160171 hf_track_index::CascadeId,
161172 hf_track_index::Prong0Id,
162173 hf_track_index::HFflag);
174+
163175using HfCascLf2Prong = HfCascLf2Prongs::iterator;
164176
165177DECLARE_SOA_TABLE (HfCascLf3Prongs, " AOD" , " HFCASCLF3PRONG" , // ! Table for HF 3 prong candidates with a Cascade
@@ -168,6 +180,7 @@ DECLARE_SOA_TABLE(HfCascLf3Prongs, "AOD", "HFCASCLF3PRONG", //! Table for HF 3 p
168180 hf_track_index::CascadeId,
169181 hf_track_index::Prong0Id,
170182 hf_track_index::Prong1Id);
183+
171184using HfCascLf3Prong = HfCascLf3Prongs::iterator;
172185
173186namespace hf_track_index
@@ -212,6 +225,10 @@ DECLARE_SOA_TABLE(Hf3ProngMlProbs, "AOD", "HF3PRONGMLPROB", //! Table for ML sco
212225 hf_track_index::MlProbSkimDsToKKPi,
213226 hf_track_index::MlProbSkimXicToPKPi);
214227
228+ // ================
229+ // Primary-vertex refit tables
230+ // ================
231+
215232namespace hf_pv_refit
216233{
217234DECLARE_SOA_COLUMN (PvRefitX, pvRefitX, float ); // !
@@ -260,22 +277,19 @@ DECLARE_SOA_TABLE(HfPvRefitDstar, "AOD", "HFPVREFITDSTAR", //!
260277 hf_pv_refit::PvRefitSigmaZ2,
261278 o2::soa::Marker<2 >);
262279
280+ // ================
281+ // Decay types stored in HFflag
282+ // ================
283+
263284namespace hf_cand_2prong
264285{
265286enum DecayType {
266287 D0ToPiK = 0 ,
267288 JpsiToEE,
268289 JpsiToMuMu,
269290 N2ProngDecays
270- }; // always keep N2ProngDecays at the end
271- } // namespace hf_cand_2prong
272-
273- namespace hf_cand_bplus
274- {
275- enum DecayType {
276- BplusToD0Pi = 0
277291};
278- } // namespace hf_cand_bplus
292+ } // namespace hf_cand_2prong
279293
280294namespace hf_cand_3prong
281295{
@@ -286,94 +300,8 @@ enum DecayType {
286300 XicToPKPi,
287301 CdToDeKPi,
288302 N3ProngDecays
289- }; // always keep N3ProngDecays at the end
290- } // namespace hf_cand_3prong
291-
292- namespace hf_cand_x
293- {
294- enum DecayType {
295- XToJpsiToEEPiPi = 0 ,
296- XToJpsiToMuMuPiPi
297- }; // move this to a dedicated cascade namespace in the future?
298- } // namespace hf_cand_x
299-
300- namespace hf_cand_xicc
301- {
302- enum DecayType {
303- XiccToXicPi = 0
304- }; // move this to a dedicated cascade namespace in the future?
305- } // namespace hf_cand_xicc
306-
307- namespace hf_cand_xic0_omegac0
308- {
309- enum DecayType {
310- XiczeroToXiPi = 0 ,
311- OmegaczeroToXiPi,
312- OmegaczeroToOmegaPi,
313- OmegaczeroToOmegaK,
314- OmegaczeroToOmegaPiOneMu
315- };
316- } // namespace hf_cand_xic0_omegac0
317-
318- namespace hf_cand_xic_to_xi_pi_pi
319- {
320- enum DecayType {
321- XicToXiPiPi = 0 , // Ξc± → Ξ∓ π± π±
322- XicToXiResPiToXiPiPi, // Ξc± → Ξ(1530) π± → Ξ∓ π± π±
323- NDecayType
324- };
325- } // namespace hf_cand_xic_to_xi_pi_pi
326-
327- namespace hf_cand_chic
328- {
329- enum DecayType {
330- ChicToJpsiToEEGamma = 0 ,
331- ChicToJpsiToMuMuGamma
332- }; // move this to a dedicated cascade namespace in the future?
333- } // namespace hf_cand_chic
334-
335- namespace hf_cand_lb
336- {
337- enum DecayType {
338- LbToLcPi
339- }; // move this to a dedicated cascade namespace in the future?
340- } // namespace hf_cand_lb
341-
342- namespace hf_cand_b0
343- {
344- enum DecayType {
345- B0ToDPi = 0 ,
346- B0ToDstarPi
347- };
348- } // namespace hf_cand_b0
349-
350- namespace hf_cand_bs
351- {
352- enum DecayType {
353- BsToDsPi = 0
354- };
355- } // namespace hf_cand_bs
356-
357- namespace hf_cand_sigmac
358- {
359- enum DecayType {
360- Sc0ToPKPiPi = 0 ,
361- ScplusplusToPKPiPi,
362- ScStar0ToPKPiPi,
363- ScStarPlusPlusToPKPiPi
364303};
365- } // namespace hf_cand_sigmac
366-
367- namespace hf_cand_dstar
368- {
369- enum DecayType {
370- DstarToD0Pi = 0 ,
371- D0ToPiK,
372- DstarToD0PiPi0,
373- D0ToPiKPi0,
374- NDstarDecayType
375- };
376- } // namespace hf_cand_dstar
304+ } // namespace hf_cand_3prong
377305
378306namespace hf_cand_casc_lf
379307{
@@ -382,12 +310,12 @@ enum DecayType2Prong {
382310 OmegaczeroToOmegaPi,
383311 OmegaczeroToOmegaK,
384312 N2ProngDecays
385- }; // always keep N2ProngDecays at the end
313+ };
386314
387315enum DecayType3Prong {
388316 XicplusToXiPiPi = 0 ,
389317 N3ProngDecays
390- }; // always keep N3ProngDecays at the end
318+ };
391319} // namespace hf_cand_casc_lf
392320
393321} // namespace o2::aod
0 commit comments