Skip to content

Commit 1d69b89

Browse files
committed
Please consider the following formatting changes
1 parent f7471ea commit 1d69b89

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

PWGEM/Dilepton/Core/Dilepton.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ struct Dilepton {
149149
o2::framework::ConfigurableAxis ConfPolarizationQuadMomBins{"ConfPolarizationQuadMomBins", {15, -0.5, 1}, "quadrupole moment bins for polarization analysis"}; // quardrupole moment <(3 x cos^2(theta) -1)/2>
150150

151151
o2::framework::Configurable<int> cfgNumBootstrapSamples{"cfgNumBootstrapSamples", 1, "Number of Bootstrap Samples"};
152-
153152

154153
EMEventCut fEMEventCut;
155154
struct : o2::framework::ConfigurableGroup {
@@ -570,7 +569,7 @@ struct Dilepton {
570569
LOGF(info, "h2sp_resolution.GetBinContent(40, 1) = %f", h2sp_resolution->GetBinContent(40, 1));
571570
}
572571

573-
if(flowcorrectionGroup.cfgApplyWeightNUA){
572+
if (flowcorrectionGroup.cfgApplyWeightNUA) {
574573
auto list_nua = ccdb->getForTimeStamp<TList>(flowcorrectionGroup.nuaPath, collision.timestamp());
575574
h3nua_weights.push_back(reinterpret_cast<TH3D*>(list_nua->FindObject("weights_uls_NUA")));
576575
LOGF(info, "h3nua_weights.at(0)->GetBinContent(5, 5, 5) = %f", h3nua_weights.at(0)->GetBinContent(5, 5, 5));
@@ -903,8 +902,8 @@ struct Dilepton {
903902
}
904903

905904
float getNUAweight(const int type_int, const float phi, const float eta, const float zVtx)
906-
{
907-
if (h3nua_weights.at(type_int) == nullptr){
905+
{
906+
if (h3nua_weights.at(type_int) == nullptr) {
908907
return 1.f;
909908
}
910909
int binId_phi = h3nua_weights.at(type_int)->GetXaxis()->FindBin(phi);
@@ -1092,8 +1091,8 @@ struct Dilepton {
10921091

10931092
if constexpr (ev_id == 0) {
10941093
// LOGF(info, "collision.centFT0C() = %f, collision.trackOccupancyInTimeRange() = %d, getSPresolution = %f", collision.centFT0C(), collision.trackOccupancyInTimeRange(), getSPresolution(collision.centFT0C(), collision.trackOccupancyInTimeRange()));
1095-
if(flowcorrectionGroup.cfgApplyWeightNUA){
1096-
weight *= 1./getNUAweight(t1.sign() * t2.sign() < 0 ? 0 : (t1.sign() > 0 && t2.sign() > 0 ? 1 : 2), v12.Phi(), v12.Eta(), collision.posZ());
1094+
if (flowcorrectionGroup.cfgApplyWeightNUA) {
1095+
weight *= 1. / getNUAweight(t1.sign() * t2.sign() < 0 ? 0 : (t1.sign() > 0 && t2.sign() > 0 ? 1 : 2), v12.Phi(), v12.Eta(), collision.posZ());
10971096
}
10981097

10991098
float sp = RecoDecay::dotProd(std::array<float, 2>{static_cast<float>(std::cos(nmod * v12.Phi())), static_cast<float>(std::sin(nmod * v12.Phi()))}, qvectors[nmod][cfgQvecEstimator]) / getSPresolution(collision.centFT0C(), collision.trackOccupancyInTimeRange());

0 commit comments

Comments
 (0)