Skip to content

Commit fd0bacc

Browse files
committed
Cleanup
1 parent 51f051a commit fd0bacc

File tree

1 file changed

+0
-51
lines changed

1 file changed

+0
-51
lines changed

PWGHF/DataModel/DerivedTables.h

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -281,39 +281,6 @@ DECLARE_SOA_COLUMN(FlagMcDecayChanGen, flagMcDecayChanGen, int8_t); //! resonant
281281
DECLARE_TABLES_COMMON(_hf_type_, _hf_description_, _hf_namespace_) \
282282
DECLARE_TABLE_CAND_ID_4P(_hf_type_, _hf_description_)
283283

284-
// Workaround for the existing B0 macro in termios.h
285-
#define DECLARE_TABLES_B0(_hf_type_, _hf_description_, _hf_namespace_, _marker_number_) \
286-
constexpr uint Marker##_hf_type_ = _marker_number_; \
287-
DECLARE_TABLES_COLL(B0, _hf_description_) \
288-
DECLARE_TABLES_MCCOLL(B0, _hf_description_, _hf_namespace_) \
289-
DECLARE_TABLE_CAND_BASE(B0, _hf_description_, _hf_namespace_) \
290-
DECLARE_TABLE_CAND_SEL(B0, _hf_description_) \
291-
DECLARE_TABLE_MCPARTICLE_BASE(B0, _hf_description_, _hf_namespace_) \
292-
DECLARE_TABLE_MCPARTICLE_ID(B0, _hf_description_) \
293-
DECLARE_TABLE_CAND_ID_4P(B0, _hf_description_)
294-
295-
// Debugging start
296-
297-
#define DECLARE_TABLES_4P_GOOD(_hf_type_, _hf_description_, _hf_namespace_, _marker_number_) \
298-
constexpr uint Marker##_hf_type_ = _marker_number_; \
299-
DECLARE_SOA_TABLE_STAGED(Hf##_hf_type_##CollBases, "HF" _hf_description_ "COLLBASE", \
300-
collision::PosX, \
301-
o2::soa::Marker<Marker##_hf_type_>);
302-
303-
#define DECLARE_TABLES_TEST(_hf_type_, _hf_description_) \
304-
DECLARE_SOA_TABLE_STAGED(Hf##_hf_type_##CollBases, "HF" _hf_description_ "COLLBASE", \
305-
collision::PosX, \
306-
o2::soa::Marker<Marker##_hf_type_>);
307-
308-
#define DECLARE_TABLES_4P_BAD(_hf_type_, _hf_description_, _hf_namespace_, _marker_number_) \
309-
constexpr uint Marker##_hf_type_ = _marker_number_; \
310-
DECLARE_TABLES_TEST(_hf_type_, _hf_description_) // macro B0 gets expanded here!
311-
312-
// DECLARE_TABLES_4P_GOOD(B0, "B0", b0, 6); // compiles
313-
// DECLARE_TABLES_4P_BAD(B0, "B0", b0, 6); // fails with "'Marker0000000' was not declared in this scope"
314-
315-
// Debugging end
316-
317284
// ================
318285
// Declarations of common tables for individual species
319286
// ================
@@ -327,8 +294,6 @@ DECLARE_TABLES_3P(Bplus, "BP", bplus, 5);
327294
#undef B0
328295
DECLARE_TABLES_4P(B0, "B0", b0, 6);
329296
#pragma pop_macro("B0")
330-
// Otherwise, avoid macro nesting and give the explicit string as argument:
331-
// DECLARE_TABLES_B0(B0, "B0", b0, 6);
332297

333298
// ================
334299
// Additional species-specific candidate tables
@@ -562,10 +527,6 @@ DECLARE_SOA_TABLE_STAGED(HfD0Mcs, "HFD0MC", //! Table with MC candidate info
562527
// B+
563528
// ----------------
564529

565-
// candidates for removal:
566-
// PxProng0, PyProng0, PzProng0,... (same for 1, 2), we can keep Pt, Eta, Phi instead
567-
// XY: CpaXY, DecayLengthXY, ErrorDecayLengthXY
568-
// normalised: DecayLengthNormalised, DecayLengthXYNormalised, ImpactParameterNormalised0
569530
DECLARE_SOA_TABLE_STAGED(HfBplusPars, "HFBPPAR", //! Table with candidate properties used for selection
570531
hf_cand::Chi2PCA,
571532
hf_cand_par::Cpa,
@@ -642,10 +603,6 @@ DECLARE_SOA_TABLE_STAGED(HfBplusMcs, "HFBPMC", //! Table with MC candidate info
642603
// B0
643604
// ----------------
644605

645-
// candidates for removal:
646-
// PxProng0, PyProng0, PzProng0,... (same for 1, 2), we can keep Pt, Eta, Phi instead
647-
// XY: CpaXY, DecayLengthXY, ErrorDecayLengthXY
648-
// normalised: DecayLengthNormalised, DecayLengthXYNormalised, ImpactParameterNormalised0
649606
DECLARE_SOA_TABLE_STAGED(HfB0Pars, "HFB0PAR", //! Table with candidate properties used for selection
650607
hf_cand::Chi2PCA,
651608
hf_cand_par::Cpa,
@@ -732,10 +689,6 @@ DECLARE_SOA_TABLE_STAGED(HfB0Mcs, "HFB0MC", //! Table with MC candidate info
732689
// Lc
733690
// ----------------
734691

735-
// candidates for removal:
736-
// PxProng0, PyProng0, PzProng0,... (same for 1, 2), we can keep Pt, Eta, Phi instead
737-
// XY: CpaXY, DecayLengthXY, ErrorDecayLengthXY
738-
// normalised: DecayLengthNormalised, DecayLengthXYNormalised, ImpactParameterNormalised0
739692
DECLARE_SOA_TABLE_STAGED(HfLcPars, "HFLCPAR", //! Table with candidate properties used for selection
740693
hf_cand::Chi2PCA,
741694
hf_cand::NProngsContributorsPV,
@@ -810,10 +763,6 @@ DECLARE_SOA_TABLE_STAGED(HfLcMcs, "HFLCMC", //! Table with MC candidate info
810763
// D+
811764
// ----------------
812765

813-
// candidates for removal:
814-
// PxProng0, PyProng0, PzProng0,... (same for 1, 2), we can keep Pt, Eta, Phi instead
815-
// XY: CpaXY, DecayLengthXY, ErrorDecayLengthXY
816-
// normalised: DecayLengthNormalised, DecayLengthXYNormalised, ImpactParameterNormalised0
817766
DECLARE_SOA_TABLE_STAGED(HfDplusPars, "HFDPPAR", //! Table with candidate properties used for selection
818767
hf_cand::Chi2PCA,
819768
hf_cand::NProngsContributorsPV,

0 commit comments

Comments
 (0)