Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make labelers Run2/3 agnostic #1942

Closed
wants to merge 2 commits into from
Closed
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
8 changes: 4 additions & 4 deletions PWGLF/TableProducer/cascadelabelbuilder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ struct cascadeLabelBuilder {

//*+-+*+-+*+-+*+-+*+-+*+-+*+-+*+-+*+-+*+-+*
// build cascade labels
void process(aod::Collision const& collision, aod::CascDataExt const& casctable, aod::V0sLinked const&, aod::V0Datas const& v0table, LabeledTracks const&, aod::McParticles const&)
void process(aod::Collision const& collision, aod::CascDataExt const& casctable, aod::V0sLinked const&, aod::V0Datas const& v0table, aod::McTrackLabels const&, aod::McParticles const&)
{
for (auto& casc : casctable) {
// Loop over those that actually have the corresponding V0 associated to them
Expand All @@ -63,9 +63,9 @@ struct cascadeLabelBuilder {
int lLabel = -1;

// Acquire all three daughter tracks, please
auto lBachTrack = casc.bachelor_as<LabeledTracks>();
auto lNegTrack = v0data.negTrack_as<LabeledTracks>();
auto lPosTrack = v0data.posTrack_as<LabeledTracks>();
auto lBachTrack = casc.bachelor_as<aod::McTrackLabels>();
auto lNegTrack = v0data.negTrack_as<aod::McTrackLabels>();
auto lPosTrack = v0data.posTrack_as<aod::McTrackLabels>();

// Association check
// There might be smarter ways of doing this in the future
Expand Down
Loading