Skip to content

Commit 331ee46

Browse files
committed
Fix PR formating and MegaLinter issue
1 parent 5ac3495 commit 331ee46

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

PWGCF/Flow/Tasks/flowGfwTask.cxx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,8 @@ struct FlowGfwTask {
934934

935935
registry.fill(HIST("ZNvsZEMcoll"), aZEM1 + aZEM2, aZNA + aZNC);
936936

937-
float zero=0, five=5, ten=10, twenty=20, thirty=30;
937+
// Draft notation for centrality limits
938+
float zero = 0, five = 5, ten = 10, twenty = 20, thirty = 30;
938939
if (centrality >= zero && centrality <= five) {
939940
registry.fill(HIST("ZNvsZEMcoll05"), aZEM1 + aZEM2, aZNA + aZNC);
940941
} else if (centrality > five && centrality <= ten) {
@@ -1084,7 +1085,7 @@ struct FlowGfwTask {
10841085
fillProfile(corrconfigs.at(7), HIST("c34Nch"), nch);
10851086

10861087
// 0-5% centrality Nch
1087-
float zero=0, five=5;
1088+
float zero = 0, five = 5;
10881089
if (centrality >= zero && centrality <= five) {
10891090
fillProfile(corrconfigs.at(0), HIST("c22Nch05"), nch);
10901091
fillProfile(corrconfigs.at(1), HIST("c24Nch05"), nch);
@@ -1197,7 +1198,7 @@ struct FlowGfwTask {
11971198
registry.fill(HIST("hCenMCRec"), centrality);
11981199
registry.fill(HIST("hPtNchMCRec"), track.pt(), track.size());
11991200

1200-
float zero=0, five=5;
1201+
float zero = 0, five = 5;
12011202
if (centrality >= zero && centrality <= five) {
12021203
registry.fill(HIST("hPtMCRec05"), track.pt());
12031204
registry.fill(HIST("hCenMCRec05"), centrality);
@@ -1262,7 +1263,7 @@ struct FlowGfwTask {
12621263
registry.fill(HIST("hPtMCGen"), particle.pt());
12631264
registry.fill(HIST("hCenMCGen"), centrality);
12641265

1265-
float zero=0, five=5;
1266+
float zero = 0, five = 5;
12661267
if (centrality >= zero && centrality <= five) {
12671268
registry.fill(HIST("hPtMCGen05"), particle.pt());
12681269
registry.fill(HIST("hCenMCGen05"), centrality);
@@ -1277,7 +1278,7 @@ struct FlowGfwTask {
12771278
for (const auto& track : groupedTracksReco) {
12781279

12791280
registry.fill(HIST("hCorr"), numberOfTracks[0], track.size());
1280-
float zero=0, five=5;
1281+
float zero = 0, five = 5;
12811282
if (centrality >= zero && centrality <= five) {
12821283
registry.fill(HIST("hCorr05"), numberOfTracks[0], track.size());
12831284
}

0 commit comments

Comments
 (0)