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
2 changes: 1 addition & 1 deletion PWGHF/D2H/DataModel/ReducedDataModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ DECLARE_SOA_DYNAMIC_COLUMN(PVector, pVector,
namespace hf_reso_2_prong
{
DECLARE_SOA_COLUMN(SelFlagD0, selFlagD0, uint8_t); //! Integer with D0 selection flag: 1 = selected as D0, 2 = selected as D0bar, 3 = selected as D0 and D0bar
DECLARE_SOA_DYNAMIC_COLUMN(Px, px, //!
DECLARE_SOA_DYNAMIC_COLUMN(Px, px, //!
[](float pxProng0, float pxProng1) -> float { return 1.f * pxProng0 + 1.f * pxProng1; });
DECLARE_SOA_DYNAMIC_COLUMN(Py, py, //!
[](float pyProng0, float pyProng1) -> float { return 1.f * pyProng0 + 1.f * pyProng1; });
Expand Down
8 changes: 4 additions & 4 deletions PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ enum PairingType : uint8_t {
V0AndTrack
};

enum D0Sel: uint8_t {
enum D0Sel : uint8_t {
selectedD0 = 0,
selectedD0Bar
};
Expand Down Expand Up @@ -279,7 +279,7 @@ struct HfDataCreatorCharmResoReduced {
const AxisSpec axisDeDx{500, 0.f, 1000.f, ""};
const AxisSpec axisMassD0{200, 1.7f, 2.1f, "inv. mass (GeV/#it{c}^{2})"};
const AxisSpec axisMassDplus{200, 1.7f, 2.1f, "inv. mass (GeV/#it{c}^{2})"};
const AxisSpec axisMassDstar{200, 0.139f, 0.179f, "delta inv. mass (GeV/#it{c}^{2})"}; //o2-linter: disable=pdg/explicit-mass (false positive)
const AxisSpec axisMassDstar{200, 0.139f, 0.179f, "delta inv. mass (GeV/#it{c}^{2})"}; // o2-linter: disable=pdg/explicit-mass (false positive)
const AxisSpec axisMassLambda{100, 1.05f, 1.35f, "inv. mass (GeV/#it{c}^{2})"};
const AxisSpec axisMassKzero{100, 0.35f, 0.65f, "inv. mass (GeV/#it{c}^{2})"};
const AxisSpec axisDeltaMassToK{500, 0.49, 1.49, "inv. mass (GeV/#it{c}^{2})"};
Expand Down Expand Up @@ -1271,10 +1271,10 @@ struct HfDataCreatorCharmResoReduced {
}
} else if constexpr (dType == DType::D0) {
uint8_t selFlagD0 = {BIT(D0Sel::selectedD0) | BIT(D0Sel::selectedD0Bar)};
if (candD.isSelD0() < cfgDmesCuts.selectionFlagD0){
if (candD.isSelD0() < cfgDmesCuts.selectionFlagD0) {
CLRBIT(selFlagD0, D0Sel::selectedD0);
}
if (candD.isSelD0bar() < cfgDmesCuts.selectionFlagD0Bar){
if (candD.isSelD0bar() < cfgDmesCuts.selectionFlagD0Bar) {
CLRBIT(selFlagD0, D0Sel::selectedD0Bar);
}
hfCandD2Pr(prongIdsD[0], prongIdsD[1],
Expand Down
Loading