Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 77 additions & 1 deletion PWGHF/DataModel/DerivedTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
// D0 → K− π+
// Λc → p K− π+
// D+ → K− π+ π+
// Ds+ → K− K+ π+ (todo)
// Ds+ → K− K+ π+

// composite species
// B0 → D− π+
Expand Down Expand Up @@ -93,7 +93,7 @@
{ \
namespace der_##_hf_namespace_ \
{ \
DECLARE_SOA_ARRAY_INDEX_COLUMN_CUSTOM(Hf##_hf_type_##CollBase, hfCollBases, "HF" _hf_description_ "COLLBASES"); /* o2-linter: disable=name/o2-column (unified getter) */ \

Check failure on line 96 in PWGHF/DataModel/DerivedTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
} \
} \
DECLARE_SOA_TABLE_STAGED(Hf##_hf_type_##McCollBases, "HF" _hf_description_ "MCCOLLBASE", \
Expand Down Expand Up @@ -170,7 +170,7 @@
{ \
namespace der_##_hf_namespace_ \
{ \
DECLARE_SOA_INDEX_COLUMN_CUSTOM(Hf##_hf_type_##CollBase, hfCollBase, "HF" _hf_description_ "COLLBASES"); /* o2-linter: disable=name/o2-column (unified getter) */ \

Check failure on line 173 in PWGHF/DataModel/DerivedTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
} \
} \
\
Expand Down Expand Up @@ -242,7 +242,7 @@
{ \
namespace der_##_hf_namespace_ \
{ \
DECLARE_SOA_INDEX_COLUMN_CUSTOM(Hf##_hf_type_##McCollBase, hfMcCollBase, "HF" _hf_description_ "MCCOLLBASES"); /* o2-linter: disable=name/o2-column (unified getter) */ \

Check failure on line 245 in PWGHF/DataModel/DerivedTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
} \
} \
DECLARE_SOA_TABLE_STAGED(Hf##_hf_type_##PBases, "HF" _hf_description_ "PBASE", \
Expand Down Expand Up @@ -306,6 +306,7 @@
DECLARE_TABLES_2P(D0, "D0", d0, 2);
DECLARE_TABLES_3P(Lc, "LC", lc, 3);
DECLARE_TABLES_3P(Dplus, "DP", dplus, 4);
DECLARE_TABLES_3P(Ds, "DS", ds, 9);
DECLARE_TABLES_3P(Bplus, "BP", bplus, 5);
DECLARE_TABLES_3P(Dstar, "DST", dstar, 6);
// Workaround for the existing B0 macro in termios.h
Expand Down Expand Up @@ -868,6 +869,81 @@
hf_cand_mc::FlagMcDecayChanRec,
o2::soa::Marker<MarkerDplus>);

// ----------------
// Ds+
// ----------------

DECLARE_SOA_TABLE_STAGED(HfDsPars, "HFDSPAR", //! Table with candidate properties used for selection
hf_cand::Chi2PCA,
hf_cand::NProngsContributorsPV,
hf_cand_par::Cpa,
hf_cand_par::CpaXY,
hf_cand_par::DecayLength,
hf_cand_par::DecayLengthXY,
hf_cand_par::DecayLengthNormalised,
hf_cand_par::DecayLengthXYNormalised,
hf_cand_par::PtProng0,
hf_cand_par::PtProng1,
hf_cand_par::PtProng2,
hf_cand::ImpactParameter0,
hf_cand::ImpactParameter1,
hf_cand::ImpactParameter2,
hf_cand_par::ImpactParameterNormalised0,
hf_cand_par::ImpactParameterNormalised1,
hf_cand_par::ImpactParameterNormalised2,
hf_cand_par::NSigTpcPi0,
hf_cand_par::NSigTpcKa0,
hf_cand_par::NSigTofPi0,
hf_cand_par::NSigTofKa0,
hf_cand_par::NSigTpcTofPi0,
hf_cand_par::NSigTpcTofKa0,
hf_cand_par::NSigTpcKa1,
hf_cand_par::NSigTofKa1,
hf_cand_par::NSigTpcTofKa1,
hf_cand_par::NSigTpcPi2,
hf_cand_par::NSigTpcKa2,
hf_cand_par::NSigTofPi2,
hf_cand_par::NSigTofKa2,
hf_cand_par::NSigTpcTofPi2,
hf_cand_par::NSigTpcTofKa2,
o2::soa::Marker<MarkerDs>);

DECLARE_SOA_TABLE_STAGED(HfDsParEs, "HFDSPARE", //! Table with additional candidate properties used for selection
hf_cand::XSecondaryVertex,
hf_cand::YSecondaryVertex,
hf_cand::ZSecondaryVertex,
hf_cand::ErrorDecayLength,
hf_cand::ErrorDecayLengthXY,
hf_cand_par::RSecondaryVertex,
hf_cand_par::PProng0,
hf_cand_par::PProng1,
hf_cand_par::PProng2,
hf_cand::PxProng0,
hf_cand::PyProng0,
hf_cand::PzProng0,
hf_cand::PxProng1,
hf_cand::PyProng1,
hf_cand::PzProng1,
hf_cand::PxProng2,
hf_cand::PyProng2,
hf_cand::PzProng2,
hf_cand::ErrorImpactParameter0,
hf_cand::ErrorImpactParameter1,
hf_cand::ErrorImpactParameter2,
hf_cand_par::Ct,
o2::soa::Marker<MarkerDs>);

DECLARE_SOA_TABLE_STAGED(HfDsMls, "HFDSML", //! Table with candidate selection ML scores
hf_cand_mc::MlScores,
o2::soa::Marker<MarkerDs>);

DECLARE_SOA_TABLE_STAGED(HfDsMcs, "HFDSMC", //! Table with MC candidate info
hf_cand_mc::FlagMcMatchRec,
hf_cand_mc::OriginMcRec,
hf_cand_mc::IsCandidateSwapped,
hf_cand_mc::FlagMcDecayChanRec,
o2::soa::Marker<MarkerDs>);

// ----------------
// D*+
// ----------------
Expand Down
5 changes: 5 additions & 0 deletions PWGHF/TableProducer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,11 @@ o2physics_add_dpl_workflow(derived-data-creator-dplus-to-pi-k-pi
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(derived-data-creator-ds-to-k-k-pi
SOURCES derivedDataCreatorDsToKKPi.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(derived-data-creator-dstar-to-d0-pi
SOURCES derivedDataCreatorDstarToD0Pi.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
Expand Down
Loading
Loading