Skip to content

Commit 1c8cee1

Browse files
committed
Fix code formatting for o2linter
1 parent b053fd6 commit 1c8cee1

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

PWGLF/Tasks/GlobalEventProperties/dndetaHi.cxx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#include "Common/DataModel/PIDResponseTOF.h"
2525
#include "Common/DataModel/PIDResponseTPC.h"
2626
#include "Common/DataModel/TrackSelectionTables.h"
27-
#include "CommonConstants/MathConstants.h"
2827

28+
#include "CommonConstants/MathConstants.h"
2929
#include <Framework/AnalysisDataModel.h>
3030
#include <Framework/AnalysisHelpers.h>
3131
#include <Framework/AnalysisTask.h>
@@ -223,7 +223,6 @@ static constexpr TrackSelectionFlags::flagtype TrackSelectionTPC =
223223
static constexpr TrackSelectionFlags::flagtype TrackSelectionDCA =
224224
TrackSelectionFlags::kDCAz | TrackSelectionFlags::kDCAxy;
225225

226-
227226
struct DndetaHi {
228227
SliceCache cache;
229228
Preslice<Particles> perMCCol = aod::mcparticle::mcCollisionId;
@@ -685,8 +684,8 @@ struct DndetaHi {
685684
} else {
686685
pid = kNotPrimary;
687686
}
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);
690689
auto pdg_mother = mother.pdgCode();
691690
if (pdg_mother == kK0Short || std::abs(pdg_mother) == kLambda0) {
692691
pid = kMotherStrange;
@@ -870,11 +869,11 @@ struct DndetaHi {
870869

871870
void processMCV0Counting(
872871
const soa::Join<MyCollisionsCent, aod::McCollisionLabels>& collisions,
873-
const aod::McCollisions& /*MCCollisions*/,
872+
const aod::McCollisions& /*mcCollisions*/,
874873
const Particles& /*mcParticles*/,
875874
const soa::Filtered<aod::V0Datas>& fullV0s,
876875
const soa::Filtered<LabeledTracksEx>& /*tracks*/,
877-
const DaughterTracks& /*Dautrks*/)
876+
const DaughterTracks& /*dauTrks*/)
878877
{
879878
for (const auto& collision : collisions) {
880879
auto cent = -1.f;

0 commit comments

Comments
 (0)