Skip to content

Commit 1fd6967

Browse files
author
Pengchong Hu
committed
fix for linter
1 parent 5b125aa commit 1fd6967

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

PWGCF/MultiparticleCorrelations/Tasks/multiharmonicCorrelations.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ struct MultiharmonicCorrelations { // this name is used in lower-case format to
9898
Configurable<bool> cfDryRun{"cfDryRun", false, "book all histos and run without filling and calculating anything"}; // example for built-in type (float, string, etc.)
9999
Configurable<std::vector<float>> cfPtBins{"cfPtBins", {1000, 0., 8.}, "nPtBins, ptMin, ptMax"}; // example for an array
100100
Configurable<std::vector<float>> cfPhiBins{"cfPhiBins", {360, 0., o2::constants::math::TwoPI}, "nPhiBins, phiMin, phiMax"};
101-
Configurable<std::vector<float>> cfCentrBins{"cfCentrBins", {800, 0., 80.}, "nCentrBins, centrMin, centrMax"};
101+
Configurable<std::vector<float>> cfCentrBins{"cfCentrBins", {80, 0., 80.}, "nCentrBins, centrMin, centrMax"};
102102
Configurable<std::vector<float>> cfXBins{"cfXBins", {1000, -0.04, -0.01}, "nXBins, xMin, xMax"};
103103
Configurable<std::vector<float>> cfYBins{"cfYBins", {1000, -0.01, 0.006}, "nYBins, yMin, yMax"};
104104
Configurable<std::vector<float>> cfZBins{"cfZBins", {1000, -20., 20.}, "nZBins, zMin, zMax"};
@@ -509,7 +509,8 @@ struct MultiharmonicCorrelations { // this name is used in lower-case format to
509509
}
510510
} // end of for (auto track: tracks)
511511
// calculate correlations
512-
if (M < 4.)
512+
float Mmin = 4.;
513+
if (M < Mmin)
513514
return;
514515
float four32 = Four(3, 2, -3, -2).Re() / Four(0, 0, 0, 0).Re();
515516
float four42 = Four(4, 2, -4, -2).Re() / Four(0, 0, 0, 0).Re();

0 commit comments

Comments
 (0)