Skip to content

Commit 6a55716

Browse files
authored
Removing unused variables
1 parent 2383123 commit 6a55716

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackTrackSpherHarMultKtExtended.cxx

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
653653
/// \param magFieldTesla magnetic field of the collision
654654
/// \param multCol multiplicity of the collision
655655
template <bool isMC, typename PartitionType, typename PartType>
656-
void doMixedEvent(PartitionType groupPartsOne, PartitionType groupPartsTwo, PartType parts, float magFieldTesla, int multCol, int ContType)
656+
void doMixedEvent(PartitionType groupPartsOne, PartitionType groupPartsTwo, float magFieldTesla, int multCol, int ContType)
657657
{
658658

659659
for (const auto& [p1, p2] : combinations(CombinationsFullIndexPolicy(groupPartsOne, groupPartsTwo))) {
@@ -727,9 +727,9 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
727727

728728
/// process function for to call doMixedEvent with Data
729729
/// @param cols subscribe to the collisions table (Data)
730-
/// @param parts subscribe to the femtoUniverseParticleTable
730+
/// @param subscribe to the femtoUniverseParticleTable
731731
void processMixedEventCent(FilteredFDCollisions const& cols,
732-
FilteredFemtoFullParticles const& parts)
732+
FilteredFemtoFullParticles const& )
733733
{
734734
randgen = new TRandom2(0);
735735

@@ -746,19 +746,19 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
746746
}
747747

748748
if (cfgProcessPM) {
749-
auto groupPartsOne = partsOne->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
750-
auto groupPartsTwo = partsTwo->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
751-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 1);
749+
auto groupPartsOne = One->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
750+
auto groupPartsTwo = Two->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
751+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, , magFieldTesla1, multiplicityCol, 1);
752752
}
753753
if (cfgProcessPP) {
754-
auto groupPartsOne = partsOne->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
755-
auto groupPartsTwo = partsOne->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
756-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 2);
754+
auto groupPartsOne = One->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
755+
auto groupPartsTwo = One->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
756+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, , magFieldTesla1, multiplicityCol, 2);
757757
}
758758
if (cfgProcessMM) {
759-
auto groupPartsOne = partsTwo->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
760-
auto groupPartsTwo = partsTwo->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
761-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 3);
759+
auto groupPartsOne = Two->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
760+
auto groupPartsTwo = Two->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
761+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, , magFieldTesla1, multiplicityCol, 3);
762762
}
763763
}
764764
delete randgen;
@@ -769,7 +769,7 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
769769
/// @param cols subscribe to the collisions table (Data)
770770
/// @param parts subscribe to the femtoUniverseParticleTable
771771
void processMixedEventNtr(FilteredFDCollisions const& cols,
772-
FilteredFemtoFullParticles const& parts)
772+
FilteredFemtoFullParticles const& )
773773
{
774774
randgen = new TRandom2(0);
775775

@@ -788,17 +788,17 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
788788
if (cfgProcessPM) {
789789
auto groupPartsOne = partsOne->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
790790
auto groupPartsTwo = partsTwo->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
791-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 1);
791+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, magFieldTesla1, multiplicityCol, 1);
792792
}
793793
if (cfgProcessPP) {
794794
auto groupPartsOne = partsOne->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
795795
auto groupPartsTwo = partsOne->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
796-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 2);
796+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, magFieldTesla1, multiplicityCol, 2);
797797
}
798798
if (cfgProcessMM) {
799799
auto groupPartsOne = partsTwo->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
800800
auto groupPartsTwo = partsTwo->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
801-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 3);
801+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, magFieldTesla1, multiplicityCol, 3);
802802
}
803803
}
804804
delete randgen;
@@ -830,7 +830,7 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
830830
/// @param parts subscribe to joined table FemtoUniverseParticles and FemtoUniverseMCLables to access Monte Carlo truth
831831
/// @param FemtoUniverseMCParticles subscribe to the Monte Carlo truth table
832832
void processMixedEventMCCent(o2::aod::FdCollisions const& cols,
833-
soa::Join<FilteredFemtoFullParticles, aod::FDMCLabels> const& parts,
833+
soa::Join<FilteredFemtoFullParticles, aod::FDMCLabels> const& ,
834834
o2::aod::FdMCParticles const&)
835835
{
836836
randgen = new TRandom2(0);
@@ -852,17 +852,17 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
852852
if (cfgProcessPM) {
853853
auto groupPartsOne = partsOneMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
854854
auto groupPartsTwo = partsTwoMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
855-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 1);
855+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, magFieldTesla1, multiplicityCol, 1);
856856
}
857857
if (cfgProcessPP) {
858858
auto groupPartsOne = partsOneMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
859859
auto groupPartsTwo = partsOneMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
860-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 2);
860+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, magFieldTesla1, multiplicityCol, 2);
861861
}
862862
if (cfgProcessMM) {
863863
auto groupPartsOne = partsTwoMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
864864
auto groupPartsTwo = partsTwoMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
865-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 3);
865+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, magFieldTesla1, multiplicityCol, 3);
866866
}
867867
}
868868
delete randgen;
@@ -874,7 +874,7 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
874874
/// @param parts subscribe to joined table FemtoUniverseParticles and FemtoUniverseMCLables to access Monte Carlo truth
875875
/// @param FemtoUniverseMCParticles subscribe to the Monte Carlo truth table
876876
void processMixedEventMCNtr(o2::aod::FdCollisions const& cols,
877-
soa::Join<FilteredFemtoFullParticles, aod::FDMCLabels> const& parts,
877+
soa::Join<FilteredFemtoFullParticles, aod::FDMCLabels> const& ,
878878
o2::aod::FdMCParticles const&)
879879
{
880880
randgen = new TRandom2(0);
@@ -896,17 +896,17 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
896896
if (cfgProcessPM) {
897897
auto groupPartsOne = partsOneMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
898898
auto groupPartsTwo = partsTwoMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
899-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 1);
899+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, magFieldTesla1, multiplicityCol, 1);
900900
}
901901
if (cfgProcessPP) {
902902
auto groupPartsOne = partsOneMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
903903
auto groupPartsTwo = partsOneMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
904-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 2);
904+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, magFieldTesla1, multiplicityCol, 2);
905905
}
906906
if (cfgProcessMM) {
907907
auto groupPartsOne = partsTwoMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision1.globalIndex(), cache);
908908
auto groupPartsTwo = partsTwoMC->sliceByCached(aod::femtouniverseparticle::fdCollisionId, collision2.globalIndex(), cache);
909-
doMixedEvent<false>(groupPartsOne, groupPartsTwo, parts, magFieldTesla1, multiplicityCol, 3);
909+
doMixedEvent<false>(groupPartsOne, groupPartsTwo, magFieldTesla1, multiplicityCol, 3);
910910
}
911911
}
912912
delete randgen;

0 commit comments

Comments
 (0)