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
6 changes: 3 additions & 3 deletions PWGHF/D2H/Tasks/taskCd.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ struct HfTaskCd {

/// Fill histograms for real data
template <typename CollType, typename CandType, typename TrackType, typename TrackWithItsType, typename BcType>
void fillHistosData(CollType const& collision, CandType const& candidates, TrackType const& /*tracks*/, TrackWithItsType const& tracksWithItsPid,BcType const& /*bcs*/)
void fillHistosData(CollType const& collision, CandType const& candidates, TrackType const& /*tracks*/, TrackWithItsType const& tracksWithItsPid, BcType const& /*bcs*/)
{
auto thisCollId = collision.globalIndex();
auto groupedCdCandidates = candidates.sliceBy(candCdPerCollision, thisCollId);
Expand Down Expand Up @@ -362,10 +362,10 @@ struct HfTaskCd {
auto prong0 = candidate.template prong0_as<TrackType>();
auto prong1 = candidate.template prong1_as<TrackType>();
auto prong2 = candidate.template prong2_as<TrackType>();

auto prong0Its = tracksWithItsPid.iteratorAt(candidate.prong0Id() - tracksWithItsPid.offset());
auto prong2Its = tracksWithItsPid.iteratorAt(candidate.prong2Id() - tracksWithItsPid.offset());

if (selDeKPi) {
candFlag = 1;
pSignedDe = prong0.p() * prong0.sign();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,8 @@ struct HfProducerCharmHadronsTrackFemtoDream {
}
fillTable(0, candidate.isSelD0(), outputMlD0.at(0), outputMlD0.at(1), outputMlD0.at(2));
fillTable(1, candidate.isSelD0bar(), outputMlD0bar.at(0), outputMlD0bar.at(1), outputMlD0bar.at(2));
if (candidate.isSelD0() && candidate.isSelD0bar()) fillTable(2, candidate.isSelD0(), outputMlD0.at(0), outputMlD0.at(1), outputMlD0.at(2)); // tag reflection
if (candidate.isSelD0() && candidate.isSelD0bar())
fillTable(2, candidate.isSelD0(), outputMlD0.at(0), outputMlD0.at(1), outputMlD0.at(2)); // tag reflection

} else if constexpr (Channel == DecayChannel::DstarToD0Pi) {
if constexpr (UseCharmMl) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,8 @@ struct HfProducerCharmHadronsV0FemtoDream {
}
fillTable(0, candidate.isSelD0(), outputMlD0.at(0), outputMlD0.at(1), outputMlD0.at(2));
fillTable(1, candidate.isSelD0bar(), outputMlD0bar.at(0), outputMlD0bar.at(1), outputMlD0bar.at(2));
if (candidate.isSelD0() && candidate.isSelD0bar()) fillTable(2, candidate.isSelD0(), outputMlD0.at(0), outputMlD0.at(1), outputMlD0.at(2)); // tag reflection
if (candidate.isSelD0() && candidate.isSelD0bar())
fillTable(2, candidate.isSelD0(), outputMlD0.at(0), outputMlD0.at(1), outputMlD0.at(2)); // tag reflection

} else if constexpr (Channel == DecayChannel::DstarToD0Pi) {
if constexpr (UseCharmMl) {
Expand Down
Loading