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
14 changes: 10 additions & 4 deletions PWGHF/TableProducer/treeCreatorChicToJpsiGamma.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ DECLARE_SOA_COLUMN(Phi, phi, float);
DECLARE_SOA_COLUMN(Y, y, float);
DECLARE_SOA_COLUMN(E, e, float);
DECLARE_SOA_COLUMN(MCflag, mcflag, int8_t);
DECLARE_SOA_COLUMN(OriginMcRec, originMcRec, int8_t);
DECLARE_SOA_COLUMN(OriginMcGen, originMcGen, int8_t);
// Events
DECLARE_SOA_COLUMN(IsEventReject, isEventReject, int);
DECLARE_SOA_COLUMN(RunNumber, runNumber, int);
Expand Down Expand Up @@ -90,7 +92,8 @@ DECLARE_SOA_TABLE(HfCandChicFull, "AOD", "HFCANDChicFull",
full::Phi,
full::Y,
hf_cand_chic::JpsiToMuMuMass,
full::MCflag);
full::MCflag,
full::OriginMcRec);

DECLARE_SOA_TABLE(HfCandChicFullEvents, "AOD", "HFCANDChicFullE",
collision::BCId,
Expand All @@ -108,7 +111,8 @@ DECLARE_SOA_TABLE(HfCandChicFullParticles, "AOD", "HFCANDChicFullP",
full::Phi,
full::Y,
hf_cand_chic::JpsiToMuMuMass,
full::MCflag);
full::MCflag,
full::OriginMcGen);

} // namespace o2::aod

Expand Down Expand Up @@ -193,7 +197,8 @@ struct HfTreeCreatorChicToJpsiGamma {
candidate.phi(),
FunctionY,
candidate.jpsiToMuMuMass(),
candidate.flagMcMatchRec());
candidate.flagMcMatchRec(),
candidate.originMcRec());
}
};
fillTable(0, candidate.isSelChicToJpsiToMuMuGamma(), invMassChicToJpsiGamma(candidate), ctChic(candidate), yChic(candidate));
Expand All @@ -212,7 +217,8 @@ struct HfTreeCreatorChicToJpsiGamma {
particle.phi(),
RecoDecay::y(array{particle.px(), particle.py(), particle.pz()}, massChic),
0., // put here the jpsi mass
particle.flagMcMatchGen());
particle.flagMcMatchGen(),
particle.originMcGen());
}
}
}
Expand Down
7 changes: 5 additions & 2 deletions PWGHF/TableProducer/treeCreatorLbToLcPi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ DECLARE_SOA_COLUMN(CPA, cpa, float);
DECLARE_SOA_COLUMN(CPAXY, cpaXY, float);
DECLARE_SOA_COLUMN(Ct, ct, float);
DECLARE_SOA_COLUMN(MCflag, mcflag, int8_t);
DECLARE_SOA_COLUMN(OriginMcRec, originMcRec, int8_t);
DECLARE_SOA_COLUMN(NSigRICHTrk0Pi, nsigRICHTrk0Pi, float);
DECLARE_SOA_COLUMN(NSigfRICHTrk0Pi, nsigfRICHTrk0Pi, float);
DECLARE_SOA_COLUMN(NSigTOFTrk0Pi, nsigTOFTrk0Pi, float);
Expand Down Expand Up @@ -161,7 +162,8 @@ DECLARE_SOA_TABLE(HfCandLbFull, "AOD", "HFCANDLbFull",
full::Eta,
full::Phi,
full::Y,
full::MCflag);
full::MCflag,
full::OriginMcRec);

} // namespace o2::aod

Expand Down Expand Up @@ -318,7 +320,8 @@ struct HfTreeCreatorLbToLcPi {
candidate.eta(),
candidate.phi(),
FunctionY,
candidate.flagMcMatchRec());
candidate.flagMcMatchRec(),
candidate.originMcRec());
}
};
fillTable(candidate.isSelLbToLcPi(), invMassLbToLcPi(candidate), ctLb(candidate), yLb(candidate));
Expand Down
11 changes: 9 additions & 2 deletions PWGHF/TableProducer/treeCreatorLcToPKPi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ DECLARE_SOA_COLUMN(CPA, cpa, float);
DECLARE_SOA_COLUMN(CPAXY, cpaXY, float);
DECLARE_SOA_COLUMN(Ct, ct, float);
DECLARE_SOA_COLUMN(MCflag, mcflag, int8_t);
DECLARE_SOA_COLUMN(OriginMcRec, originMcRec, int8_t);
DECLARE_SOA_COLUMN(OriginMcGen, originMcGen, int8_t);
DECLARE_SOA_COLUMN(IsCandidateSwapped, isCandidateSwapped, int8_t);
// Events
DECLARE_SOA_COLUMN(IsEventReject, isEventReject, int);
Expand Down Expand Up @@ -152,6 +154,7 @@ DECLARE_SOA_TABLE(HfCand3ProngFull, "AOD", "HFCAND3PFull",
full::Y,
full::E,
full::MCflag,
full::OriginMcRec,
full::IsCandidateSwapped);

DECLARE_SOA_TABLE(HfCand3ProngFullEvents, "AOD", "HFCAND3PFullE",
Expand All @@ -169,7 +172,8 @@ DECLARE_SOA_TABLE(HfCand3ProngFullParticles, "AOD", "HFCAND3PFullP",
full::Eta,
full::Phi,
full::Y,
full::MCflag);
full::MCflag,
full::OriginMcGen);

} // namespace o2::aod

Expand Down Expand Up @@ -290,6 +294,7 @@ struct HfTreeCreatorLcToPKPi {
FunctionY,
FunctionE,
candidate.flagMcMatchRec(),
candidate.originMcRec(),
candidate.isCandidateSwapped());
}
};
Expand All @@ -308,7 +313,8 @@ struct HfTreeCreatorLcToPKPi {
particle.eta(),
particle.phi(),
RecoDecay::y(array{particle.px(), particle.py(), particle.pz()}, RecoDecay::getMassPDG(particle.pdgCode())),
particle.flagMcMatchGen());
particle.flagMcMatchGen(),
particle.originMcGen());
}
}
}
Expand Down Expand Up @@ -417,6 +423,7 @@ struct HfTreeCreatorLcToPKPi {
FunctionY,
FunctionE,
0.,
0.,
0.);
}
};
Expand Down
14 changes: 10 additions & 4 deletions PWGHF/TableProducer/treeCreatorXToJpsiPiPi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ DECLARE_SOA_COLUMN(CPA, cpa, float);
DECLARE_SOA_COLUMN(CPAXY, cpaXY, float);
DECLARE_SOA_COLUMN(Ct, ct, float);
DECLARE_SOA_COLUMN(MCflag, mcflag, int8_t);
DECLARE_SOA_COLUMN(OriginMcRec, originMcRec, int8_t);
DECLARE_SOA_COLUMN(OriginMcGen, originMcGen, int8_t);
// Events
DECLARE_SOA_COLUMN(IsEventReject, isEventReject, int);
DECLARE_SOA_COLUMN(RunNumber, runNumber, int);
Expand Down Expand Up @@ -114,7 +116,8 @@ DECLARE_SOA_TABLE(HfCandXFull, "AOD", "HFCANDXFull",
full::DR1,
full::DR2,
full::PiBalance,
full::MCflag);
full::MCflag,
full::OriginMcRec);

DECLARE_SOA_TABLE(HfCandXFullEvents, "AOD", "HFCANDXFullE",
collision::BCId,
Expand All @@ -131,7 +134,8 @@ DECLARE_SOA_TABLE(HfCandXFullParticles, "AOD", "HFCANDXFullP",
full::Eta,
full::Phi,
full::Y,
full::MCflag);
full::MCflag,
full::OriginMcGen);

} // namespace o2::aod

Expand Down Expand Up @@ -224,7 +228,8 @@ struct HfTreeCreatorXToJpsiPiPi {
FunctionDR1,
FunctionDR2,
FunctionPiBalance,
candidate.flagMcMatchRec());
candidate.flagMcMatchRec(),
candidate.originMcRec());
}
};

Expand All @@ -242,7 +247,8 @@ struct HfTreeCreatorXToJpsiPiPi {
particle.eta(),
particle.phi(),
RecoDecay::y(array{particle.px(), particle.py(), particle.pz()}, massX),
particle.flagMcMatchGen());
particle.flagMcMatchGen(),
particle.originMcGen());
}
}
}
Expand Down
14 changes: 10 additions & 4 deletions PWGHF/TableProducer/treeCreatorXiccToPKPiPi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ DECLARE_SOA_COLUMN(CPA, cpa, float);
DECLARE_SOA_COLUMN(CPAXY, cpaXY, float);
DECLARE_SOA_COLUMN(Ct, ct, float);
DECLARE_SOA_COLUMN(MCflag, mcflag, int8_t);
DECLARE_SOA_COLUMN(OriginMcRec, originMcRec, int8_t);
DECLARE_SOA_COLUMN(OriginMcGen, originMcGen, int8_t);
// Xic selection variable
DECLARE_SOA_COLUMN(XicM, xicM, float);
DECLARE_SOA_COLUMN(XicCt, xicCt, float);
Expand Down Expand Up @@ -132,7 +134,8 @@ DECLARE_SOA_TABLE(HfCandXiccFull, "AOD", "HFCANDXiccFull",
full::Eta,
full::Phi,
full::Y,
full::MCflag);
full::MCflag,
full::OriginMcRec);

DECLARE_SOA_TABLE(HfCandXiccFullEvents, "AOD", "HFCANDXiccFullE",
collision::BCId,
Expand All @@ -149,7 +152,8 @@ DECLARE_SOA_TABLE(HfCandXiccFullParticles, "AOD", "HFCANDXiccFullP",
full::Eta,
full::Phi,
full::Y,
full::MCflag);
full::MCflag,
full::OriginMcGen);

} // namespace o2::aod

Expand Down Expand Up @@ -246,7 +250,8 @@ struct HfTreeCreatorXiccToPKPiPi {
candidate.eta(),
candidate.phi(),
FunctionY,
candidate.flagMcMatchRec());
candidate.flagMcMatchRec(),
candidate.originMcRec());
}
};

Expand All @@ -263,7 +268,8 @@ struct HfTreeCreatorXiccToPKPiPi {
particle.eta(),
particle.phi(),
RecoDecay::y(array{particle.px(), particle.py(), particle.pz()}, RecoDecay::getMassPDG(particle.pdgCode())),
particle.flagMcMatchGen());
particle.flagMcMatchGen(),
particle.originMcGen());
}
}
}
Expand Down