Skip to content

Commit f2965bd

Browse files
authored
Merge pull request AliceO2Group#69 from alibuild/alibot-cleanup-5407
Please consider the following formatting changes to AliceO2Group#5407
2 parents 904f8c8 + 446493e commit f2965bd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Common/Core/RecoDecay.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <vector> // std::vector
2525

2626
#include "CommonConstants/MathConstants.h"
27-
#include "TMCProcess.h" // for VMC Particle Production Process
27+
#include "TMCProcess.h" // for VMC Particle Production Process
2828

2929
/// Base class for calculating properties of reconstructed decays
3030
///
@@ -615,7 +615,7 @@ class RecoDecay
615615
return;
616616
}
617617
// check if the particle comes from a decay process
618-
if(particle.getProcess() != kPDecay){
618+
if (particle.getProcess() != kPDecay) {
619619
return;
620620
}
621621
bool isFinal = false; // Flag to indicate the end of recursion
@@ -712,7 +712,7 @@ class RecoDecay
712712
}
713713
auto particleI = arrDaughters[iProng].mcParticle(); // ith daughter particle
714714
// check if the daughter comes from the decay process of the mother
715-
if(particleI.getProcess() != kPDecay){
715+
if (particleI.getProcess() != kPDecay) {
716716
continue;
717717
}
718718
arrDaughtersIndex[iProng] = particleI.globalIndex();
@@ -728,15 +728,15 @@ class RecoDecay
728728
}
729729
// Printf("MC Rec: Good mother: %d", indexMother);
730730
auto particleMother = particlesMC.rawIteratorAt(indexMother - particlesMC.offset());
731-
dauCounter = 0; //reset daughter counter for the new particleMother
731+
dauCounter = 0; // reset daughter counter for the new particleMother
732732
// Check the daughter indices.
733733
if (!particleMother.has_daughters()) {
734734
// Printf("MC Rec: Rejected: bad daughter index range: %d-%d", particleMother.daughtersIds().front(), particleMother.daughtersIds().back());
735735
return -1;
736736
}
737737
// Check that the number of direct daughters coming from the dacay is not larger than the number of expected final daughters.
738-
for(const auto& dau : particleMother.daughters_as<aod::McParticles>()){
739-
if(dau.getProcess() == kPDecay){
738+
for (const auto& dau : particleMother.daughters_as<aod::McParticles>()) {
739+
if (dau.getProcess() == kPDecay) {
740740
dauCounter++;
741741
}
742742
}
@@ -860,8 +860,8 @@ class RecoDecay
860860
return false;
861861
}
862862
// Check that the number of direct daughters coming from the dacay is not larger than the number of expected final daughters.
863-
for(const auto& dau : candidate.daughters_as<aod::McParticles>()){
864-
if(dau.getProcess() == kPDecay){
863+
for (const auto& dau : candidate.daughters_as<aod::McParticles>()) {
864+
if (dau.getProcess() == kPDecay) {
865865
dauCounter++;
866866
}
867867
}

0 commit comments

Comments
 (0)