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
20 changes: 10 additions & 10 deletions PWGHF/HFC/TableProducer/producerCharmHadronsTrackFemtoDream.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1109,8 +1109,8 @@ struct HfProducerCharmHadronsTrackFemtoDream {
if constexpr (Channel == DecayChannel::DplusToPiKPi) {
constexpr int InvalidMcIndex = -1;
const int64_t timeStamp = -1; // No need for Gen process.
const float bdtScore = -1.f; // No need for Gen particles.
const float dcaXY = 999.f; // No need for Gen particles.
const float bdtScore = -1.f; // No need for Gen particles.
const float dcaXY = 999.f; // No need for Gen particles.
const float sphericity = 2.f; // Not computed.
const aod::femtodreamparticle::cutContainerType bitPos = 1u << 1;
const aod::femtodreamparticle::cutContainerType bitNeg = 1u << 0;
Expand Down Expand Up @@ -1159,12 +1159,12 @@ struct HfProducerCharmHadronsTrackFemtoDream {
const auto prong1 = particles.rawIteratorAt(prong1Id);
const auto prong2 = particles.rawIteratorAt(prong2Id);
tables.rowCandCharm3Prong(tables.outputCollision.lastIndex(), timeStamp,
particle.pdgCode() > 0 ? PositiveCharge : NegativeCharge,
prong0Id, prong1Id, prong2Id,
prong0.pt(), prong1.pt(), prong2.pt(),
prong0.eta(), prong1.eta(), prong2.eta(),
prong0.phi(), prong1.phi(), prong2.phi(),
true, bdtScore, bdtScore, bdtScore);
particle.pdgCode() > 0 ? PositiveCharge : NegativeCharge,
prong0Id, prong1Id, prong2Id,
prong0.pt(), prong1.pt(), prong2.pt(),
prong0.eta(), prong1.eta(), prong2.eta(),
prong0.phi(), prong1.phi(), prong2.phi(),
true, bdtScore, bdtScore, bdtScore);
const auto particleOrigin = particle.originMcGen() == RecoDecay::OriginType::Prompt
? aod::femtodreamMCparticle::ParticleOriginMCTruth::kPrimary
: aod::femtodreamMCparticle::ParticleOriginMCTruth::kSecondaryFromHF;
Expand Down Expand Up @@ -1219,8 +1219,8 @@ struct HfProducerCharmHadronsTrackFemtoDream {
} else if constexpr (Channel == DecayChannel::DstarToD0Pi) {
constexpr int InvalidMcIndex = -1;
const int64_t timeStamp = -1; // No need for Gen process.
const float bdtScore = -1.f; // No need for Gen particles.
const float dcaXY = 999.f; // No need for Gen particles.
const float bdtScore = -1.f; // No need for Gen particles.
const float dcaXY = 999.f; // No need for Gen particles.
const float sphericity = 2.f; // Not computed.
const aod::femtodreamparticle::cutContainerType bitPos = 1u << 1;
const aod::femtodreamparticle::cutContainerType bitNeg = 1u << 0;
Expand Down
4 changes: 2 additions & 2 deletions PWGHF/HFC/Tasks/taskCharmHadronsTrackFemtoDream.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1321,8 +1321,8 @@ struct HfTaskCharmHadronsTrackFemtoDream {
constexpr int MixedEvent = 2;
constexpr int InvalidMixingBin = -1;
const int64_t timeStamp = -1; // No timestamp is available in this Gen process.
const uint8_t nCls = 0; // Gen particles have no detector clusters.
const float nSigma = 999.f; // Gen particles have no detector PID response.
const uint8_t nCls = 0; // Gen particles have no detector clusters.
const float nSigma = 999.f; // Gen particles have no detector PID response.

auto fillPairs = [&](auto const& sliceGenTrk1, auto const& sliceGenCharmHad, auto const& col, auto& container) {
for (auto const& [p1, p2] : combinations(CombinationsFullIndexPolicy(sliceGenTrk1, sliceGenCharmHad))) {
Expand Down
Loading