Skip to content

Commit fed7576

Browse files
author
Youssef El Mard Bouziani
committed
Apply clang-format
1 parent 12fbfb5 commit fed7576

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -840,8 +840,8 @@ struct Pi0EtaToGammaGamma {
840840
used_dileptonIds_per_col.emplace_back(tuple_tmp_id2);
841841
}
842842
ndiphoton++;
843-
} // end of dielectron loop
844-
} // end of g1 loop
843+
} // end of dielectron loop
844+
} // end of g1 loop
845845
} else { // PCM-PCM, EMC-EMC, PHOS-PHOS, PCM-EMC and PCM-PHOS.
846846
auto photons1_per_collision = photons1.sliceByCached(TDetectorTag1::perCollision(), collision.globalIndex(), cache);
847847
auto photons2_per_collision = photons2.sliceByCached(TDetectorTag2::perCollision(), collision.globalIndex(), cache);
@@ -901,7 +901,7 @@ struct Pi0EtaToGammaGamma {
901901
}
902902
ndiphoton++;
903903
} // end of pairing loop
904-
} // end of pairing in same event
904+
} // end of pairing in same event
905905

906906
used_photonIds_per_col.clear();
907907
used_photonIds_per_col.shrink_to_fit();

PWGEM/PhotonMeson/Core/Pi0EtaToGammaGammaMC.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -785,8 +785,8 @@ struct Pi0EtaToGammaGammaMC {
785785
}
786786
o2::aod::pwgem::photonmeson::utils::nmhistogram::fillTruePairInfo(&fRegistry, veeg, etamc, mcparticles, mccollisions, f1fd_k0s_to_pi0, weight);
787787
}
788-
} // end of dielectron loop
789-
} // end of pcm loop
788+
} // end of dielectron loop
789+
} // end of pcm loop
790790
} else { // PCM-EMC, PCM-PHOS.
791791
// TODO: implement proper functionality if we ever want to run this in Pb-Pb
792792
auto photons1_per_collision = photons1.sliceByCached(TDetectorTag1::perCollision(), collision.globalIndex(), cache);
@@ -833,8 +833,8 @@ struct Pi0EtaToGammaGammaMC {
833833
// o2::aod::pwgem::photonmeson::utils::nmhistogram::fillTruePairInfo(&fRegistry, v12, etamc, mcparticles, mccollisions, f1fd_k0s_to_pi0, weight);
834834
// }
835835
} // end of pairing loop
836-
} // end of pairing in same event
837-
} // end of collision loop
836+
} // end of pairing in same event
837+
} // end of collision loop
838838
}
839839

840840
template <int par_id, typename TBinnedData>

PWGEM/PhotonMeson/Tasks/Pi0EtaToGammaGammaMCPCMPCM.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515

1616
#include "PWGEM/PhotonMeson/Core/Pi0EtaToGammaGammaMC.h"
1717
#include "PWGEM/PhotonMeson/DataModel/gammaTables.h"
18-
#include "PWGEM/PhotonMeson/Utils/PairUtilities.h"
1918
#include "PWGEM/PhotonMeson/Utils/MaterialBudgetWeights.h"
20-
19+
#include "PWGEM/PhotonMeson/Utils/PairUtilities.h"
2120

2221
#include <Framework/ASoA.h>
2322
#include <Framework/AnalysisTask.h>
@@ -38,4 +37,3 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
3837
adaptAnalysisTask<Pi0EtaToGammaGammaMC<PairType::kPCMPCM, MyV0Photons, MyMCV0Legs>>(cfgc, TaskName{"pi0eta-to-gammagamma-mc-pcmpcm"}),
3938
};
4039
}
41-

PWGEM/PhotonMeson/Utils/MaterialBudgetWeights.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
#ifndef PWGEM_PHOTONMESON_UTILS_MATERIALBUDGETWEIGHTS_H_
2020
#define PWGEM_PHOTONMESON_UTILS_MATERIALBUDGETWEIGHTS_H_
2121

22-
#include <map>
23-
#include <string>
24-
2522
#include "PWGEM/PhotonMeson/DataModel/gammaTables.h"
2623

2724
#include "Framework/ASoAHelpers.h"
@@ -93,7 +90,7 @@ struct MaterialBudgetWeights {
9390
LOG(info) << "MaterialBudgetWeights: standard process running";
9491
once = true;
9592
}
96-
if (!hOmegaMBFromCCDB) { // histogram not loaded => behave like dummy
93+
if (!hOmegaMBFromCCDB) { // histogram not loaded => behave like dummy
9794
omegaMBWeight(1.f);
9895
return;
9996
}

0 commit comments

Comments
 (0)