@@ -134,7 +134,8 @@ struct femtoUniversePairTaskTrackTrack3DMultKtExtended {
134134 Configurable<float > ConfV0MHigh{" ConfV0MHigh" , 25000.0 , " Upper limit for V0M multiplicity" };
135135
136136 Filter collV0Mfilter = ((o2::aod::femtouniversecollision::multV0M > ConfV0MLow) && (o2::aod::femtouniversecollision::multV0M < ConfV0MHigh));
137- // Filter trackAdditionalfilter = (nabs(aod::femtouniverseparticle::eta) < twotracksconfigs.ConfEtaMax); // example filtering on configurable
137+ using FilteredFDCollisions = soa::Filtered<aod::FDCollisions>;
138+ using FilteredFDCollision = soa::Filtered<aod::FDCollisions>::iterator;
138139
139140 // / Particle part
140141 ConfigurableAxis ConfTempFitVarBins{" ConfDTempFitVarBins" , {300 , -0.15 , 0.15 }, " binning of the TempFitVar in the pT vs. TempFitVar plot" };
@@ -412,7 +413,7 @@ struct femtoUniversePairTaskTrackTrack3DMultKtExtended {
412413 template <typename CollisionType>
413414 void fillCollision (CollisionType col)
414415 {
415- MixQaRegistry.fill (HIST (" MixingQA/hSECollisionBins" ), colBinning.getBin ({col.posZ (), col.multNtr ()}));
416+ MixQaRegistry.fill (HIST (" MixingQA/hSECollisionBins" ), colBinning.getBin ({col.posZ (), col.multV0M ()}));
416417 eventHisto.fillQA (col);
417418 }
418419
@@ -563,7 +564,7 @@ struct femtoUniversePairTaskTrackTrack3DMultKtExtended {
563564 // / process function for to call doSameEvent with Data
564565 // / \param col subscribe to the collision table (Data)
565566 // / \param parts subscribe to the femtoUniverseParticleTable
566- void processSameEvent (soa::Filtered<o2::aod::FDCollisions>::iterator & col,
567+ void processSameEvent (FilteredFDCollision & col,
567568 FilteredFemtoFullParticles& parts)
568569 {
569570 fillCollision (col);
@@ -574,15 +575,15 @@ struct femtoUniversePairTaskTrackTrack3DMultKtExtended {
574575 bool fillQA = true ;
575576
576577 if (cfgProcessPM) {
577- doSameEvent<false >(thegroupPartsOne, thegroupPartsTwo, parts, col.magField (), col.multNtr (), 1 , fillQA);
578+ doSameEvent<false >(thegroupPartsOne, thegroupPartsTwo, parts, col.magField (), col.multV0M (), 1 , fillQA);
578579 }
579580
580581 if (cfgProcessPP) {
581- doSameEvent<false >(thegroupPartsOne, thegroupPartsOne, parts, col.magField (), col.multNtr (), 2 , fillQA);
582+ doSameEvent<false >(thegroupPartsOne, thegroupPartsOne, parts, col.magField (), col.multV0M (), 2 , fillQA);
582583 }
583584
584585 if (cfgProcessMM) {
585- doSameEvent<false >(thegroupPartsTwo, thegroupPartsTwo, parts, col.magField (), col.multNtr (), 3 , fillQA);
586+ doSameEvent<false >(thegroupPartsTwo, thegroupPartsTwo, parts, col.magField (), col.multV0M (), 3 , fillQA);
586587 }
587588 }
588589 PROCESS_SWITCH (femtoUniversePairTaskTrackTrack3DMultKtExtended, processSameEvent, " Enable processing same event" , true );
@@ -603,15 +604,15 @@ struct femtoUniversePairTaskTrackTrack3DMultKtExtended {
603604 bool fillQA = true ;
604605
605606 if (cfgProcessPM) {
606- doSameEvent<false >(thegroupPartsOne, thegroupPartsTwo, parts, col.magField (), col.multNtr (), 1 , fillQA);
607+ doSameEvent<false >(thegroupPartsOne, thegroupPartsTwo, parts, col.magField (), col.multV0M (), 1 , fillQA);
607608 }
608609
609610 if (cfgProcessPP) {
610- doSameEvent<true >(thegroupPartsOne, thegroupPartsOne, parts, col.magField (), col.multNtr (), 2 , fillQA);
611+ doSameEvent<true >(thegroupPartsOne, thegroupPartsOne, parts, col.magField (), col.multV0M (), 2 , fillQA);
611612 }
612613
613614 if (cfgProcessMM) {
614- doSameEvent<true >(thegroupPartsTwo, thegroupPartsTwo, parts, col.magField (), col.multNtr (), 3 , fillQA);
615+ doSameEvent<true >(thegroupPartsTwo, thegroupPartsTwo, parts, col.magField (), col.multV0M (), 3 , fillQA);
615616 }
616617 }
617618 PROCESS_SWITCH (femtoUniversePairTaskTrackTrack3DMultKtExtended, processSameEventMC, " Enable processing same event for Monte Carlo" , false );
@@ -687,12 +688,12 @@ struct femtoUniversePairTaskTrackTrack3DMultKtExtended {
687688 // / process function for to call doMixedEvent with Data
688689 // / @param cols subscribe to the collisions table (Data)
689690 // / @param parts subscribe to the femtoUniverseParticleTable
690- void processMixedEvent (soa::Filtered<o2::aod::FDCollisions> & cols,
691+ void processMixedEvent (FilteredFDCollisions & cols,
691692 FilteredFemtoFullParticles& parts)
692693 {
693694 for (auto & [collision1, collision2] : soa::selfCombinations (colBinning, 5 , -1 , cols, cols)) {
694695
695- const int multiplicityCol = collision1.multNtr ();
696+ const int multiplicityCol = collision1.multV0M ();
696697 MixQaRegistry.fill (HIST (" MixingQA/hMECollisionBins" ), colBinning.getBin ({collision1.posZ (), multiplicityCol}));
697698
698699 const auto & magFieldTesla1 = collision1.magField ();
@@ -731,7 +732,7 @@ struct femtoUniversePairTaskTrackTrack3DMultKtExtended {
731732 {
732733 for (auto & [collision1, collision2] : soa::selfCombinations (colBinning, 5 , -1 , cols, cols)) {
733734
734- const int multiplicityCol = collision1.multNtr ();
735+ const int multiplicityCol = collision1.multV0M ();
735736 MixQaRegistry.fill (HIST (" MixingQA/hMECollisionBins" ), colBinning.getBin ({collision1.posZ (), multiplicityCol}));
736737
737738 const auto & magFieldTesla1 = collision1.magField ();
0 commit comments