Skip to content

Commit f127739

Browse files
committed
Add missing electron PID
1 parent f5cfbba commit f127739

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

PWGHF/D2H/Core/DataCreationCharmReso.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ bool buildAndSelectGamma(const Coll& collision, const std::array<int, 3>& dDaugh
533533
if (!selectV0Daughter(trackPos, dDaughtersIds, cfgGammaCuts, rejectPairsWithCommonDaughter) || !selectV0Daughter(trackNeg, dDaughtersIds, cfgGammaCuts, rejectPairsWithCommonDaughter)) {
534534
return false;
535535
}
536-
if ((trackPos.has_TPC() && std::abs(trackPos.tpcNSigmaEl()) > cfgGammaCuts.nSigmaTpcEl.value) || (trackNeg.has_TPC() && std::abs(trackNeg.tpcNSigmaEl()) > cfgGammaCuts.nSigmaTpcEl.value)) {
536+
if ((trackPos.hasTPC() && std::abs(trackPos.tpcNSigmaEl()) > cfgGammaCuts.nSigmaTpcEl.value) || (trackNeg.hasTPC() && std::abs(trackNeg.tpcNSigmaEl()) > cfgGammaCuts.nSigmaTpcEl.value)) {
537537
return false;
538538
}
539539

PWGHF/D2H/TableProducer/dataCreatorCharmResoToD0Reduced.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ struct HfDataCreatorCharmResoToD0Reduced {
129129
using TracksWithPID = soa::Join<aod::Tracks, aod::TracksCov, aod::TracksExtra, aod::TrackSelection, aod::TracksDCA, aod::pidTPCFullPi, aod::pidTOFFullPi, aod::pidTPCFullKa, aod::pidTOFFullKa, aod::pidTPCFullPr, aod::pidTOFFullPr>;
130130
using TracksWithPIDAndMC = soa::Join<TracksWithPID, aod::McTrackLabels>;
131131
using TracksIUWithPID = soa::Join<aod::TracksIU, aod::TracksExtra, aod::TracksCovIU, aod::pidTPCPi, aod::pidTOFFullPi, aod::pidTPCPr, aod::pidTOFFullPr>;
132+
using TracksIUWithElPID = soa::Join<aod::TracksIU, aod::TracksExtra, aod::TracksCovIU, aod::pidTPCEl>;
132133
using TracksIUWithPIDAndMC = soa::Join<TracksIUWithPID, aod::McTrackLabels>;
133134
// Collisions MC
134135
using BCsInfo = soa::Join<aod::BCs, aod::Timestamps, aod::BcSels>;
@@ -340,7 +341,7 @@ struct HfDataCreatorCharmResoToD0Reduced {
340341
void processD0GammaWithMl(soa::Join<aod::Collisions, aod::EvSels> const& collisions,
341342
CandsD0FilteredWithMl const& candsD0,
342343
aod::V0s const& v0s,
343-
TracksIUWithPID const& tracksIU,
344+
TracksIUWithElPID const& tracksIU,
344345
aod::BCsWithTimestamps const&)
345346
{
346347
int zvtxColl{0};

0 commit comments

Comments
 (0)