Skip to content

Commit

Permalink
V0data change (#4557)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcui1 authored Feb 4, 2024
1 parent 39c695c commit 89be1f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions PWGLF/TableProducer/hStrangeCorrelationFilter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ struct hstrangecorrelationfilter {
using DauTracks = soa::Join<aod::Tracks, aod::TracksExtra, aod::pidTPCFullPi, aod::pidTPCFullKa, aod::pidTPCFullPr, aod::TracksDCA>;
// using IDTracks= soa::Join<aod::Tracks, aod::TracksExtra, aod::pidTPCFullPi, aod::pidTOFFullPi, aod::pidBayesPi, aod::pidBayesKa, aod::pidBayesPr, aod::TOFSignal>; // prepared for Bayesian PID
using IDTracks = soa::Join<aod::Tracks, aod::TracksExtra, aod::pidTPCFullPi, aod::pidTOFFullPi, aod::pidTPCFullKa, aod::pidTOFFullKa, aod::pidTPCFullPr, aod::pidTOFFullPr, aod::TOFSignal, aod::TracksDCA>;
using V0DatasWithoutTrackX = soa::Join<aod::V0Indices, aod::V0Cores>;

Produces<aod::TriggerTracks> triggerTrack;
Produces<aod::AssocPions> assocPion;
Expand Down Expand Up @@ -269,7 +270,7 @@ struct hstrangecorrelationfilter {
}
}

void processV0s(soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Ms>::iterator const& collision, DauTracks const&, soa::Filtered<aod::V0Datas> const& V0s, V0LinkedTagged const&)
void processV0s(soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Ms>::iterator const& collision, DauTracks const&, soa::Filtered<V0DatasWithoutTrackX> const& V0s, V0LinkedTagged const&)
{
// Perform basic event selection
if (!collision.sel8()) {
Expand Down Expand Up @@ -384,7 +385,7 @@ struct hstrangecorrelationfilter {
}
}
}
void processCascades(soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Ms>::iterator const& collision, DauTracks const&, soa::Filtered<aod::V0Datas> const& V0s, soa::Filtered<aod::CascDatas> const& Cascades, aod::V0sLinked const&, CascadesLinkedTagged const&)
void processCascades(soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Ms>::iterator const& collision, DauTracks const&, soa::Filtered<V0DatasWithoutTrackX> const& V0s, soa::Filtered<aod::CascDatas> const& Cascades, aod::V0sLinked const&, CascadesLinkedTagged const&)
{
// Perform basic event selection
if (!collision.sel8()) {
Expand Down
9 changes: 5 additions & 4 deletions PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ using namespace o2::framework::expressions;
#define bitcheck(var, nbit) ((var) & (1 << (nbit)))

using TracksComplete = soa::Join<aod::Tracks, aod::TracksExtra>;
using V0DatasWithoutTrackX = soa::Join<aod::V0Indices, aod::V0Cores>;

struct correlateStrangeness {
// for efficiency corrections if requested
Expand Down Expand Up @@ -638,7 +639,7 @@ struct correlateStrangeness {

void processSameEventHV0s(soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Ms>::iterator const& collision,
aod::AssocV0s const& associatedV0s, aod::TriggerTracks const& triggerTracks,
aod::V0Datas const&, aod::V0sLinked const&, TracksComplete const&)
V0DatasWithoutTrackX const&, aod::V0sLinked const&, TracksComplete const&)
{
// ________________________________________________
// Perform basic event selection
Expand Down Expand Up @@ -694,7 +695,7 @@ struct correlateStrangeness {

void processSameEventHCascades(soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Ms>::iterator const& collision,
aod::AssocV0s const& associatedV0s, aod::AssocCascades const& associatedCascades, aod::TriggerTracks const& triggerTracks,
aod::V0Datas const&, aod::V0sLinked const&, aod::CascDatas const&, TracksComplete const&)
V0DatasWithoutTrackX const&, aod::V0sLinked const&, aod::CascDatas const&, TracksComplete const&)
{
// ________________________________________________
// Perform basic event selection
Expand Down Expand Up @@ -783,7 +784,7 @@ struct correlateStrangeness {
}
void processMixedEventHV0s(soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Ms> const& collisions,
aod::AssocV0s const& associatedV0s, aod::TriggerTracks const& triggerTracks,
aod::V0Datas const&, aod::V0sLinked const&, TracksComplete const&)
V0DatasWithoutTrackX const&, aod::V0sLinked const&, TracksComplete const&)
{
for (auto& [collision1, collision2] : soa::selfCombinations(colBinning, mixingParameter, -1, collisions, collisions)) {
// ________________________________________________
Expand Down Expand Up @@ -816,7 +817,7 @@ struct correlateStrangeness {
}
void processMixedEventHCascades(soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Ms> const& collisions,
aod::AssocV0s const& associatedV0s, aod::AssocCascades const& associatedCascades, aod::TriggerTracks const& triggerTracks,
aod::V0Datas const&, aod::V0sLinked const&, aod::CascDatas const&, TracksComplete const&)
V0DatasWithoutTrackX const&, aod::V0sLinked const&, aod::CascDatas const&, TracksComplete const&)
{
for (auto& [collision1, collision2] : soa::selfCombinations(colBinning, mixingParameter, -1, collisions, collisions)) {
// ________________________________________________
Expand Down

0 comments on commit 89be1f9

Please sign in to comment.