Skip to content

Commit 3edc186

Browse files
committed
Fixed linter error
1 parent a3144d9 commit 3edc186

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

PWGLF/Tasks/GlobalEventProperties/uccZdc.cxx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ using SimTracks = soa::Join<aod::Tracks, aod::TrackSelection, aod::TracksExtra,
6565

6666
struct UccZdc {
6767

68-
static constexpr float collEnergy{2.68};
69-
static constexpr float zEro{0.};
68+
static constexpr float KcollEnergy{2.68};
69+
static constexpr float KzEro{0.};
7070

7171
// Configurables Event Selection
7272
Configurable<bool> isNoCollInTimeRangeStrict{"isNoCollInTimeRangeStrict", true, "use isNoCollInTimeRangeStrict?"};
@@ -441,10 +441,10 @@ struct UccZdc {
441441
float tZPC{zdc.timeZPC()};
442442
float tZDCdif{tZNC + tZPC - tZNA - tZPA};
443443
float tZDCsum{tZNC + tZPC + tZNA + tZPA};
444-
znA /= collEnergy;
445-
znC /= collEnergy;
446-
zpA /= collEnergy;
447-
zpC /= collEnergy;
444+
znA /= KcollEnergy;
445+
znC /= KcollEnergy;
446+
zpA /= KcollEnergy;
447+
zpC /= KcollEnergy;
448448
float sumZNs{znA + znC};
449449
float sumZEMs{aZEM1 + aZEM2};
450450

@@ -598,10 +598,10 @@ struct UccZdc {
598598
float tZPC{foundBC.zdc().timeZPC()};
599599
float tZDCdif{tZNC + tZPC - tZNA - tZPA};
600600
float tZDCsum{tZNC + tZPC + tZNA + tZPA};
601-
znA /= collEnergy;
602-
znC /= collEnergy;
603-
zpA /= collEnergy;
604-
zpC /= collEnergy;
601+
znA /= KcollEnergy;
602+
znC /= KcollEnergy;
603+
zpA /= KcollEnergy;
604+
zpC /= KcollEnergy;
605605
float sumZNs{znA + znC};
606606
float sumZPs{zpA + zpC};
607607
float sumZEMs{aZEM1 + aZEM2};
@@ -786,7 +786,7 @@ struct UccZdc {
786786
registry.fill(HIST("T0Ccent"), cent);
787787

788788
// Half of the statistics for MC closure
789-
if (rndNum >= zEro && rndNum < evtFracMCcl) {
789+
if (rndNum >= KzEro && rndNum < evtFracMCcl) {
790790
registry.fill(HIST("EvtsDivided"), 0);
791791

792792
// To use run-by-run efficiency

0 commit comments

Comments
 (0)