Skip to content

Commit 8408107

Browse files
authored
Merge pull request #3 from alibuild/alibot-cleanup-11119
Please consider the following formatting changes to #11119
2 parents 6a9831e + ab30054 commit 8408107

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -756,8 +756,8 @@ struct HeavyionMultiplicity {
756756
histos.fill(HIST("hmcrecdndetapp"), RecCol.posZ(), RecCol.centFT0M(), Rectrack.eta(), Rectrack.phi(), static_cast<double>(kBkg), kGlobalplusITS);
757757
}
758758
} // track (mcrec) loop
759-
760-
for (const auto& particle : GenParticles) {
759+
760+
for (const auto& particle : GenParticles) {
761761
if (!isGenTrackSelected(particle)) {
762762
continue;
763763
}
@@ -769,21 +769,21 @@ struct HeavyionMultiplicity {
769769
histos.fill(HIST("hmcgendndetapp"), RecCol.posZ(), RecCol.centFT0M(), particle.eta(), particle.phi(), static_cast<double>(kSpAll), kGenpTup);
770770
histos.fill(HIST("hmcgendndetapp"), RecCol.posZ(), RecCol.centFT0M(), particle.eta(), particle.phi(), static_cast<double>(kSpAll), kGenpTdown);
771771
}
772-
772+
773773
int pid = 0;
774774
switch (std::abs(particle.pdgCode())) {
775-
case PDG_t::kPiPlus:
776-
pid = kSpPion;
777-
break;
778-
case PDG_t::kKPlus:
779-
pid = kSpKaon;
780-
break;
781-
case PDG_t::kProton:
782-
pid = kSpProton;
783-
break;
784-
default:
785-
pid = kSpOther;
786-
break;
775+
case PDG_t::kPiPlus:
776+
pid = kSpPion;
777+
break;
778+
case PDG_t::kKPlus:
779+
pid = kSpKaon;
780+
break;
781+
case PDG_t::kProton:
782+
pid = kSpProton;
783+
break;
784+
default:
785+
pid = kSpOther;
786+
break;
787787
}
788788
histos.fill(HIST("hmcgendndetapp"), RecCol.posZ(), RecCol.centFT0M(), particle.eta(), particle.phi(), static_cast<double>(pid), kNoGenpTVar);
789789
} // track (mcgen) loop

0 commit comments

Comments
 (0)