Skip to content

Commit ce91b5e

Browse files
author
Prottay Das
committed
updated3
1 parent e173e84 commit ce91b5e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

PWGLF/TableProducer/Common/zdcvector.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ struct zdcvector {
242242
histos.fill(HIST("ZDCAmpCommon"), 0.5, vz, znaEnergycommon);
243243
histos.fill(HIST("ZDCAmpCommon"), 1.5, vz, zncEnergycommon);
244244

245-
int ntow = 8;
245+
// int ntow = 8;
246+
constexpr std::size_t ntow = 8;
246247
for (std::size_t iChA = 0; iChA < ntow; iChA++) {
247248
auto chanelid = iChA;
248249
if (useGainCallib && gainprofile) {

PWGLF/Tasks/Strangeness/zdccalderived.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ struct zdccalderived {
399399
histos.fill(HIST("ZDCAmpCommon"), 0.5, vz, znaEnergycommon);
400400
histos.fill(HIST("ZDCAmpCommon"), 1.5, vz, zncEnergycommon);
401401

402-
int ntow = 8;
402+
constexpr std::size_t ntow = 8;
403403
for (std::size_t iChA = 0; iChA < ntow; iChA++) {
404404
auto chanelid = iChA;
405405
if (useGainCallib && gainprofile) {

0 commit comments

Comments
 (0)