|
24 | 24 | #include "Common/DataModel/PIDResponseTOF.h" |
25 | 25 | #include "Common/DataModel/PIDResponseTPC.h" |
26 | 26 | #include "Common/DataModel/TrackSelectionTables.h" |
27 | | -#include "CommonConstants/MathConstants.h" |
28 | 27 |
|
| 28 | +#include "CommonConstants/MathConstants.h" |
29 | 29 | #include <Framework/AnalysisDataModel.h> |
30 | 30 | #include <Framework/AnalysisHelpers.h> |
31 | 31 | #include <Framework/AnalysisTask.h> |
@@ -223,7 +223,6 @@ static constexpr TrackSelectionFlags::flagtype TrackSelectionTPC = |
223 | 223 | static constexpr TrackSelectionFlags::flagtype TrackSelectionDCA = |
224 | 224 | TrackSelectionFlags::kDCAz | TrackSelectionFlags::kDCAxy; |
225 | 225 |
|
226 | | - |
227 | 226 | struct DndetaHi { |
228 | 227 | SliceCache cache; |
229 | 228 | Preslice<Particles> perMCCol = aod::mcparticle::mcCollisionId; |
@@ -685,8 +684,8 @@ struct DndetaHi { |
685 | 684 | } else { |
686 | 685 | pid = kNotPrimary; |
687 | 686 | } |
688 | | - for (auto motherIDs = particle.mothersIds().front(); motherIDs <= particle.mothersIds().back(); motherIDs++) { |
689 | | - auto mother = mcParticles.rawIteratorAt(motherIDs); |
| 687 | + for (auto motherIds = particle.mothersIds().front(); motherIds <= particle.mothersIds().back(); motherIds++) { |
| 688 | + auto mother = mcParticles.rawIteratorAt(motherIds); |
690 | 689 | auto pdg_mother = mother.pdgCode(); |
691 | 690 | if (pdg_mother == kK0Short || std::abs(pdg_mother) == kLambda0) { |
692 | 691 | pid = kMotherStrange; |
@@ -870,11 +869,11 @@ struct DndetaHi { |
870 | 869 |
|
871 | 870 | void processMCV0Counting( |
872 | 871 | const soa::Join<MyCollisionsCent, aod::McCollisionLabels>& collisions, |
873 | | - const aod::McCollisions& /*MCCollisions*/, |
| 872 | + const aod::McCollisions& /*mcCollisions*/, |
874 | 873 | const Particles& /*mcParticles*/, |
875 | 874 | const soa::Filtered<aod::V0Datas>& fullV0s, |
876 | 875 | const soa::Filtered<LabeledTracksEx>& /*tracks*/, |
877 | | - const DaughterTracks& /*Dautrks*/) |
| 876 | + const DaughterTracks& /*dauTrks*/) |
878 | 877 | { |
879 | 878 | for (const auto& collision : collisions) { |
880 | 879 | auto cent = -1.f; |
|
0 commit comments