Skip to content

Commit 8b00868

Browse files
author
Youssef El Mard Bouziani
committed
Apply clang-format
1 parent 96aa676 commit 8b00868

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
@@ -851,8 +851,8 @@ struct Pi0EtaToGammaGamma {
851851
used_dileptonIds_per_col.emplace_back(tuple_tmp_id2);
852852
}
853853
ndiphoton++;
854-
} // end of dielectron loop
855-
} // end of g1 loop
854+
} // end of dielectron loop
855+
} // end of g1 loop
856856
} else { // PCM-PCM, EMC-EMC, PHOS-PHOS, PCM-EMC and PCM-PHOS.
857857
auto photons1_per_collision = photons1.sliceByCached(TDetectorTag1::perCollision(), collision.globalIndex(), cache);
858858
auto photons2_per_collision = photons2.sliceByCached(TDetectorTag2::perCollision(), collision.globalIndex(), cache);
@@ -932,7 +932,7 @@ struct Pi0EtaToGammaGamma {
932932
}
933933
ndiphoton++;
934934
} // end of pairing loop
935-
} // end of pairing in same event
935+
} // end of pairing in same event
936936

937937
used_photonIds_per_col.clear();
938938
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
@@ -813,8 +813,8 @@ struct Pi0EtaToGammaGammaMC {
813813
}
814814
o2::aod::pwgem::photonmeson::utils::nmhistogram::fillTruePairInfo(&fRegistry, veeg, etamc, mcparticles, mccollisions, f1fd_k0s_to_pi0, weight);
815815
}
816-
} // end of dielectron loop
817-
} // end of pcm loop
816+
} // end of dielectron loop
817+
} // end of pcm loop
818818
} else { // PCM-EMC, PCM-PHOS.
819819
// TODO: implement proper functionality if we ever want to run this in Pb-Pb
820820
auto photons1_per_collision = photons1.sliceByCached(TDetectorTag1::perCollision(), collision.globalIndex(), cache);
@@ -861,8 +861,8 @@ struct Pi0EtaToGammaGammaMC {
861861
// o2::aod::pwgem::photonmeson::utils::nmhistogram::fillTruePairInfo(&fRegistry, v12, etamc, mcparticles, mccollisions, f1fd_k0s_to_pi0, weight);
862862
// }
863863
} // end of pairing loop
864-
} // end of pairing in same event
865-
} // end of collision loop
864+
} // end of pairing in same event
865+
} // end of collision loop
866866
}
867867

868868
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)