Skip to content

Commit 7a78c78

Browse files
authored
ctpdev: warning removal (#12472)
* fix: warnings removal * clang
1 parent 994633e commit 7a78c78

File tree

8 files changed

+51
-51
lines changed

8 files changed

+51
-51
lines changed

DataFormats/Detectors/CTP/include/DataFormatsCTP/Configuration.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ struct CTPInput {
6363
std::uint64_t inputMask = 0;
6464
o2::detectors::DetID::ID detID = 16; // CTP
6565
bool neg = 1;
66-
int getIndex() const { return ((inputMask > 0) ? 1 + log2(inputMask) : 0xff); }
66+
uint32_t getIndex() const { return ((inputMask > 0) ? 1 + log2(inputMask) : 0xff); }
6767
std::string getInputDetName() const { return o2::detectors::DetID::getName(detID); }
6868
void setRun3DetName(std::string& run2Name);
6969
void printStream(std::ostream& strem) const;
@@ -124,8 +124,8 @@ struct CTPInputsConfiguration {
124124
void printStream(std::ostream& strem) const;
125125
static CTPInputsConfiguration defaultInputConfig;
126126
static void initDefaultInputConfig();
127-
static std::string getInputNameFromIndex100(int index);
128-
static std::string getInputNameFromIndex(int index);
127+
static std::string getInputNameFromIndex100(uint32_t index);
128+
static std::string getInputNameFromIndex(uint32_t index);
129129
static int getInputIndexFromName(std::string& name);
130130
ClassDefNV(CTPInputsConfiguration, 0);
131131
};
@@ -164,7 +164,7 @@ class CTPConfiguration
164164
bool isBCMaskInConfig(const std::string maskname) const;
165165
const BCMask* isBCMaskInConfigP(const std::string bcmask) const;
166166
const CTPInput* isInputInConfig(const std::string inpname) const;
167-
const CTPInput* isInputInConfig(const int index) const;
167+
const CTPInput* isInputInConfig(const uint32_t index) const;
168168
const CTPDescriptor* isDescriptorInConfig(const std::string descname, int& index) const;
169169
void createInputsInDecriptorsFromNames();
170170
uint64_t getDecrtiptorInputsMask(const std::string& name) const;

DataFormats/Detectors/CTP/include/DataFormatsCTP/Digits.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ struct CTPDigit {
5555
void setInputMask(gbtword80_t mask);
5656
void setClassMask(gbtword80_t mask);
5757
bool isInputEmpty() const { return CTPInputMask.count() == 0; }
58-
const bool isClassEmpty() const { return CTPClassMask.count() == 0; }
59-
const bool isEmpty() const { return isInputEmpty() && isClassEmpty(); }
60-
const bool operator==(const CTPDigit& d) const
58+
bool isClassEmpty() const { return CTPClassMask.count() == 0; }
59+
bool isEmpty() const { return isInputEmpty() && isClassEmpty(); }
60+
bool operator==(const CTPDigit& d) const
6161
{
6262
return intRecord == d.intRecord && CTPInputMask == d.CTPInputMask && CTPClassMask == d.CTPClassMask;
6363
}

DataFormats/Detectors/CTP/include/DataFormatsCTP/Scalers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class CTPRunScalers
9393
void printFromZero(std::ostream& stream) const;
9494
void printClasses(std::ostream& stream) const;
9595
std::vector<uint32_t> getClassIndexes() const;
96-
int getScalerIndexForClass(int cls) const;
96+
int getScalerIndexForClass(uint32_t cls) const;
9797
std::vector<CTPScalerRecordO2>& getScalerRecordO2() { return mScalerRecordO2; };
9898
int readScalers(const std::string& rawscalers);
9999
int convertRawToO2();
@@ -150,7 +150,7 @@ class CTPRunScalers
150150
o2::detectors::DetID::mask_t mDetectorMask;
151151
std::vector<CTPScalerRecordRaw> mScalerRecordRaw;
152152
std::vector<CTPScalerRecordO2> mScalerRecordO2;
153-
int processScalerLine(const std::string& line, int& level, int& nclasses);
153+
int processScalerLine(const std::string& line, int& level, uint32_t& nclasses);
154154
int copyRawToO2ScalerRecord(const CTPScalerRecordRaw& rawrec, CTPScalerRecordO2& o2rec, overflows_t& classesoverflows, std::array<uint32_t, 48>& overflows);
155155
int updateOverflows(const CTPScalerRecordRaw& rec0, const CTPScalerRecordRaw& rec1, overflows_t& classesoverflows) const;
156156
int updateOverflows(const CTPScalerRaw& scal0, const CTPScalerRaw& scal1, std::array<uint32_t, 6>& overflow) const;

DataFormats/Detectors/CTP/src/Configuration.cxx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ int BCMask::setBCmask(std::vector<std::string>& tokens)
9595
}
9696
} else {
9797
// list of integers
98-
for (int i = 2; i < tokens.size(); i++) {
98+
for (uint32_t i = 2; i < tokens.size(); i++) {
9999
uint32_t bc;
100100
try {
101101
bc = std::stoull(tokens[i]);
@@ -223,7 +223,7 @@ int CTPConfiguration::addInput(std::string& inp, int clsindex, std::map<int, std
223223
}
224224
// add to desc
225225
// check if already there
226-
for (int i = 0; i < mInputs.size(); i++) {
226+
for (uint32_t i = 0; i < mInputs.size(); i++) {
227227
if (mInputs[i].name == ctpinp.name) {
228228
LOG(info) << "input found at:" << i;
229229
descInputsIndex[clsindex].push_back(i);
@@ -365,7 +365,7 @@ int CTPConfiguration::processConfigurationLineRun3(std::string& line, int& level
365365
// jusko notation
366366
} else {
367367
// list of integers
368-
for (int i = 2; i < ntokens; i++) {
368+
for (uint32_t i = 2; i < ntokens; i++) {
369369
uint32_t bc;
370370
try {
371371
bc = std::stoull(tokens[i]);
@@ -420,7 +420,7 @@ int CTPConfiguration::processConfigurationLineRun3(std::string& line, int& level
420420
LOG(info) << "Cluster:" << line;
421421
cluster.name = tokens[2];
422422
o2::detectors::DetID::mask_t mask;
423-
for (int item = 3; item < ntokens; item++) {
423+
for (uint32_t item = 3; item < ntokens; item++) {
424424
std::string detname = tokens[item];
425425
capitaliseString(detname);
426426
// LOG(info) << "Detector:" << detname;
@@ -455,7 +455,7 @@ int CTPConfiguration::processConfigurationLineRun3(std::string& line, int& level
455455
CTPDescriptor desc;
456456
desc.name = "d" + cls.name;
457457
// LOG(info) << "point:" << cls.cluster << " " << &mClusters.front();
458-
for (int i = 2; i < tokens.size(); i++) {
458+
for (uint32_t i = 2; i < tokens.size(); i++) {
459459
std::string token = tokens[i];
460460
bool isGenerator = 0;
461461
for (auto const& gen : CTPGenerator::Generators) {
@@ -479,7 +479,7 @@ int CTPConfiguration::processConfigurationLineRun3(std::string& line, int& level
479479
cls.downScale = std::stoul(token, nullptr, 16);
480480
} else if (token.find("bcm") != std::string::npos) { // bcmask
481481
// std::cout << "Mask" << std::endl;
482-
int i = 0;
482+
uint32_t i = 0;
483483
for (auto const& bcm : mBCMasks) {
484484
if (bcm.name == token) {
485485
cls.BCClassMask.push_back(&bcm);
@@ -613,7 +613,7 @@ int CTPConfiguration::processConfigurationLineRun3v2(std::string& line, int& lev
613613
}
614614
CTPDescriptor desc;
615615
desc.name = tokens[0];
616-
for (int i = 1; i < tokens.size(); i++) {
616+
for (uint32_t i = 1; i < tokens.size(); i++) {
617617
const CTPInput* inp = isInputInConfig(tokens[i]);
618618
if (inp != nullptr) {
619619
desc.inputs.push_back(inp);
@@ -655,7 +655,7 @@ int CTPConfiguration::processConfigurationLineRun3v2(std::string& line, int& lev
655655
LOG(info) << "Cluster:" << line;
656656
cluster.name = tokens[2];
657657
o2::detectors::DetID::mask_t mask;
658-
for (int item = 3; item < ntokens; item++) {
658+
for (uint32_t item = 3; item < ntokens; item++) {
659659
std::string detname = tokens[item];
660660
capitaliseString(detname);
661661
// LOG(info) << "Detector:" << detname;
@@ -812,7 +812,7 @@ const CTPInput* CTPConfiguration::isInputInConfig(const std::string inpname) con
812812
LOG(info) << "isInputInConfig NOT found:" << inpname;
813813
return nullptr;
814814
}
815-
const CTPInput* CTPConfiguration::isInputInConfig(const int index) const
815+
const CTPInput* CTPConfiguration::isInputInConfig(const uint32_t index) const
816816
{
817817
for (const auto& inp : mInputs) {
818818
// std::cout << "isInputINConfig:" << inp.name << " " << inp.getIndex() << " " << index << std::endl;
@@ -1067,9 +1067,9 @@ void CTPInputsConfiguration::initDefaultInputConfig()
10671067
}
10681068
/// Return input name from default inputs configuration.
10691069
/// Take into account convention that L0 inputs has (index+100) in the first version of CTP config file (*.rcfg)
1070-
std::string CTPInputsConfiguration::getInputNameFromIndex100(int index)
1070+
std::string CTPInputsConfiguration::getInputNameFromIndex100(uint32_t index)
10711071
{
1072-
int indexcor = index;
1072+
uint32_t indexcor = index;
10731073
if (index > 100) {
10741074
indexcor = index - 100;
10751075
}
@@ -1087,7 +1087,7 @@ std::string CTPInputsConfiguration::getInputNameFromIndex100(int index)
10871087
}
10881088
/// Return input name from default inputs configuration.
10891089
/// Index has to be in range [1::48]
1090-
std::string CTPInputsConfiguration::getInputNameFromIndex(int index)
1090+
std::string CTPInputsConfiguration::getInputNameFromIndex(uint32_t index)
10911091
{
10921092
if (index > o2::ctp::CTP_NINPUTS) {
10931093
LOG(warn) << "getInputNameFRomIndex: index too big:" << index;

DataFormats/Detectors/CTP/src/Digits.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ void CTPDigit::printStream(std::ostream& stream) const
3030

3131
void CTPDigit::setInputMask(gbtword80_t mask)
3232
{
33-
for (int i = 0; i < CTP_NINPUTS; i++) {
33+
for (uint32_t i = 0; i < CTP_NINPUTS; i++) {
3434
CTPInputMask[i] = mask[i];
3535
}
3636
}
3737
void CTPDigit::setClassMask(gbtword80_t mask)
3838
{
39-
for (int i = 0; i < CTP_NCLASSES; i++) {
39+
for (uint32_t i = 0; i < CTP_NCLASSES; i++) {
4040
CTPClassMask[i] = mask[i];
4141
}
4242
}

DataFormats/Detectors/CTP/src/RunManager.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ std::string CTPRunManager::mCCDBHost = "http://o2-ccdb.internal";
2727
///
2828
void CTPRunManager::init()
2929
{
30-
for (auto r : mActiveRuns) {
31-
r = nullptr;
30+
for (uint32_t i = 0; i < NRUNS; i++) {
31+
mActiveRuns[i] = nullptr;
3232
}
3333
loadScalerNames();
3434
LOG(info) << "CCDB host:" << mCCDBHost;
@@ -136,7 +136,7 @@ int CTPRunManager::addScalers(uint32_t irun, std::time_t time)
136136
}
137137
}
138138
*/
139-
int NINPS = 48;
139+
uint32_t NINPS = 48;
140140
int offset = 599;
141141
for (uint32_t i = 0; i < NINPS; i++) {
142142
uint32_t inpcount = mCounters[offset + i];
@@ -200,7 +200,7 @@ int CTPRunManager::processMessage(std::string& topic, const std::string& message
200200
double timeStamp = std::stold(tokens.at(0));
201201
std::time_t tt = timeStamp;
202202
LOG(info) << "Processing scalers, all good, time:" << tokens.at(0) << " " << std::asctime(std::localtime(&tt));
203-
for (int i = 1; i < tokens.size(); i++) {
203+
for (uint32_t i = 1; i < tokens.size(); i++) {
204204
mCounters[i - 1] = std::stoull(tokens.at(i));
205205
if (i < (NRUNS + 1)) {
206206
std::cout << mCounters[i - 1] << " ";
@@ -340,15 +340,15 @@ void CTPRunManager::printCounters()
340340
{
341341
int NDET = 18;
342342
int NINPS = 48;
343-
int NCLKFP = 7;
343+
// int NCLKFP = 7;
344344
int NLTG_start = NRUNS;
345345
int NCLKFP_start = NLTG_start + NDET * 32;
346346
int NINPS_start = NCLKFP_start + 7;
347347
int NCLS_start = NINPS_start + NINPS;
348348
std::cout << "====> CTP counters:" << std::endl;
349349
std::cout << "RUNS:" << std::endl;
350350
int ipos = 0;
351-
for (int i = 0; i < NRUNS; i++) {
351+
for (uint32_t i = 0; i < NRUNS; i++) {
352352
std::cout << ipos << ":" << mCounters[i] << " ";
353353
ipos++;
354354
}
@@ -410,7 +410,7 @@ void CTPRunManager::printCounters()
410410
}
411411
std::cout << std::endl;
412412
std::cout << " REST:" << std::endl;
413-
for (int i = NCLS_start + 6 * 64; i < mCounters.size(); i++) {
413+
for (uint32_t i = NCLS_start + 6 * 64; i < mCounters.size(); i++) {
414414
if ((ipos % 10) == 0) {
415415
std::cout << std::endl;
416416
std::cout << ipos << ":";

DataFormats/Detectors/CTP/src/Scalers.cxx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void CTPScalerRecordO2::printFromZero(std::ostream& stream, CTPScalerRecordO2& r
8989
stream << "printFromZero Orbit:" << intRecord.orbit - record0.intRecord.orbit << " BC:" << intRecord.bc;
9090
stream << " miliSeconds:" << std::setprecision(20) << epochTime - record0.epochTime << std::endl;
9191
// this-record0
92-
for (int i = 0; i < scalers.size(); i++) {
92+
for (uint32_t i = 0; i < scalers.size(); i++) {
9393
scalers[i].printFromZero(stream, record0.scalers[i]);
9494
}
9595
stream << std::endl;
@@ -130,7 +130,7 @@ void CTPRunScalers::printFromZero(std::ostream& stream) const
130130
void CTPRunScalers::printClasses(std::ostream& stream) const
131131
{
132132
stream << "CTP classes:";
133-
for (int i = 0; i < mClassMask.size(); i++) {
133+
for (uint32_t i = 0; i < mClassMask.size(); i++) {
134134
if (mClassMask[i]) {
135135
stream << " " << i;
136136
}
@@ -148,7 +148,7 @@ std::vector<uint32_t> CTPRunScalers::getClassIndexes() const
148148
return indexes;
149149
}
150150
// cls counted from 0
151-
int CTPRunScalers::getScalerIndexForClass(int cls) const
151+
int CTPRunScalers::getScalerIndexForClass(uint32_t cls) const
152152
{
153153
if (cls < 0 || cls >= 64) {
154154
LOG(error) << "Class index out of range:" << cls;
@@ -172,7 +172,7 @@ int CTPRunScalers::readScalers(const std::string& rawscalers)
172172
int ret = 0;
173173
int level = 0;
174174
std::string line;
175-
int nclasses = 0;
175+
uint32_t nclasses = 0;
176176
int nlines = 0;
177177
while (std::getline(iss, line)) {
178178
o2::utils::Str::trim(line);
@@ -192,7 +192,7 @@ int CTPRunScalers::readScalers(const std::string& rawscalers)
192192
}
193193
return 0;
194194
}
195-
int CTPRunScalers::processScalerLine(const std::string& line, int& level, int& nclasses)
195+
int CTPRunScalers::processScalerLine(const std::string& line, int& level, uint32_t& nclasses)
196196
{
197197
//std::cout << "Processing line" << std::endl;
198198
if (line.size() == 0) {
@@ -225,13 +225,13 @@ int CTPRunScalers::processScalerLine(const std::string& line, int& level, int& n
225225
return 2;
226226
} else {
227227
mRunNumber = std::stol(tokens[0]);
228-
int numofclasses = std::stoi(tokens[1]);
228+
uint32_t numofclasses = std::stoi(tokens[1]);
229229
if ((numofclasses + 2) != ntokens) {
230230
LOG(error) << "Wrong syntax of second line in CTP scalers";
231231
return 3;
232232
}
233233
mClassMask.reset();
234-
for (int i = 0; i < numofclasses; i++) {
234+
for (uint32_t i = 0; i < numofclasses; i++) {
235235
int index = std::stoi(tokens[i + 2]);
236236
mClassMask[index] = 1;
237237
}
@@ -336,7 +336,7 @@ int CTPRunScalers::copyRawToO2ScalerRecord(const CTPScalerRecordRaw& rawrec, CTP
336336
o2scal.createCTPScalerO2FromRaw(rawscal, classesoverflows[k]);
337337
o2rec.scalers.push_back(o2scal);
338338
}
339-
for (int i = 0; i < rawrec.scalersInps.size(); i++) {
339+
for (uint32_t i = 0; i < rawrec.scalersInps.size(); i++) {
340340
uint64_t inpo2 = (uint64_t)(rawrec.scalersInps[i]) + 0xffffffffull * (uint64_t)(overflows[i]);
341341
o2rec.scalersInps.push_back(inpo2);
342342
}
@@ -441,15 +441,15 @@ int CTPRunScalers::updateOverflows(const CTPScalerRecordRaw& rec0, const CTPScal
441441
LOG(warning) << "rec0 orbit:" << rec0.intRecord.orbit << "> rec1 orbit:" << rec1.intRecord.orbit << " skipping this record";
442442
return 1;
443443
}
444-
for (int i = 0; i < rec0.scalers.size(); i++) {
444+
for (uint32_t i = 0; i < rec0.scalers.size(); i++) {
445445
int k = (getClassIndexes())[i];
446446
updateOverflows(rec0.scalers[i], rec1.scalers[i], classesoverflows[k]);
447447
}
448448
return 0;
449449
}
450450
int CTPRunScalers::checkConsistency(const CTPScalerRecordO2& rec0, const CTPScalerRecordO2& rec1, errorCounters& eCnts) const
451451
{
452-
for (int i = 0; i < rec0.scalers.size(); i++) {
452+
for (uint32_t i = 0; i < rec0.scalers.size(); i++) {
453453
checkConsistency(rec0.scalers[i], rec1.scalers[i], eCnts);
454454
}
455455
return 0;
@@ -482,7 +482,7 @@ int CTPRunScalers::updateOverflows(const CTPScalerRaw& scal0, const CTPScalerRaw
482482
//
483483
int CTPRunScalers::updateOverflowsInps(const CTPScalerRecordRaw& rec0, const CTPScalerRecordRaw& rec1, std::array<uint32_t, 48>& overflow) const
484484
{
485-
int NINPS = 48;
485+
uint32_t NINPS = 48;
486486
if (rec0.scalersInps.size() < NINPS) {
487487
LOG(error) << "updateOverflowsInps.size < 48:" << rec0.scalersInps.size();
488488
return 1;
@@ -491,7 +491,7 @@ int CTPRunScalers::updateOverflowsInps(const CTPScalerRecordRaw& rec0, const CTP
491491
LOG(error) << "updateOverflowsInps.size < 48:" << rec1.scalersInps.size();
492492
return 2;
493493
}
494-
for (int i = 0; i < NINPS; i++) {
494+
for (uint32_t i = 0; i < NINPS; i++) {
495495
if (rec0.scalersInps[i] > rec1.scalersInps[i]) {
496496
overflow[i] += 1;
497497
}
@@ -508,14 +508,14 @@ int CTPRunScalers::printRates()
508508
LOG(info) << "Scaler rates for run:" << mRunNumber;
509509
CTPScalerRecordO2* scalrec0 = &mScalerRecordO2[0];
510510
uint32_t orbit0 = scalrec0->intRecord.orbit;
511-
for (int i = 1; i < mScalerRecordO2.size(); i++) {
511+
for (uint32_t i = 1; i < mScalerRecordO2.size(); i++) {
512512
CTPScalerRecordO2* scalrec1 = &mScalerRecordO2[i];
513513
double_t tt = (double_t)(scalrec1->intRecord.orbit - scalrec0->intRecord.orbit);
514514
double_t tinrun = (double_t)(scalrec1->intRecord.orbit - orbit0);
515515
tt = tt * 88e-6;
516516
tinrun = tinrun * 88e-6;
517517
std::cout << "==> Time wrt to SOR [s]:" << tinrun << " time intervale[s]:" << tt << std::endl;
518-
for (int j = 0; j < scalrec1->scalers.size(); j++) {
518+
for (uint32_t j = 0; j < scalrec1->scalers.size(); j++) {
519519
CTPScalerO2* s0 = &(scalrec0->scalers[j]);
520520
CTPScalerO2* s1 = &(scalrec1->scalers[j]);
521521
double_t rMB = (s1->lmBefore - s0->lmBefore) / tt;
@@ -544,7 +544,7 @@ int CTPRunScalers::printIntegrals()
544544
double_t timeL = mScalerRecordO2[mScalerRecordO2.size() - 1].epochTime;
545545
LOG(info) << "Scaler Integrals for run:" << mRunNumber << " duration:" << timeL - time0;
546546

547-
for (int i = 0; i < mScalerRecordO2[0].scalers.size(); i++) {
547+
for (uint32_t i = 0; i < mScalerRecordO2[0].scalers.size(); i++) {
548548
std::cout << i << " LMB " << mScalerRecordO2[mScalerRecordO2.size() - 1].scalers[i].lmBefore - mScalerRecordO2[0].scalers[i].lmBefore << std::endl;
549549
std::cout << i << " LMA " << mScalerRecordO2[mScalerRecordO2.size() - 1].scalers[i].lmAfter - mScalerRecordO2[0].scalers[i].lmAfter << std::endl;
550550
std::cout << i << " L0B " << mScalerRecordO2[mScalerRecordO2.size() - 1].scalers[i].l0Before - mScalerRecordO2[0].scalers[i].l0Before << std::endl;
@@ -609,7 +609,7 @@ int CTPRunScalers::printClassBRateAndIntegral(int iclsscalerindex)
609609
//
610610
void CTPRunScalers::printLMBRateVsT() const
611611
{
612-
for (int i = 1; i < mScalerRecordO2.size(); i++) { // loop over time
612+
for (uint32_t i = 1; i < mScalerRecordO2.size(); i++) { // loop over time
613613
auto prev = &mScalerRecordO2[i - 1];
614614
auto curr = &mScalerRecordO2[i];
615615
double_t tt = (double_t)(curr->intRecord.orbit - prev->intRecord.orbit);

Detectors/CTP/reconstruction/src/RawDataDecoder.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ int RawDataDecoder::decodeRaw(o2::framework::InputRecord& inputs, std::vector<o2
134134
uint64_t countsMBV = 0;
135135
std::map<o2::InteractionRecord, CTPDigit> digitsMap;
136136
//
137-
using InputSpec = o2::framework::InputSpec;
138-
using ConcreteDataTypeMatcher = o2::framework::ConcreteDataTypeMatcher;
139-
using Lifetime = o2::framework::Lifetime;
137+
// using InputSpec = o2::framework::InputSpec;
138+
// using ConcreteDataTypeMatcher = o2::framework::ConcreteDataTypeMatcher;
139+
// using Lifetime = o2::framework::Lifetime;
140140
o2::framework::DPLRawParser parser(inputs, filter);
141-
uint32_t payloadCTP;
141+
uint32_t payloadCTP = 0;
142142
gbtword80_t remnant = 0;
143143
uint32_t size_gbt = 0;
144144
mTFOrbit = 0;
@@ -358,7 +358,7 @@ int RawDataDecoder::shiftNew(const o2::InteractionRecord& irin, uint32_t TFOrbit
358358

359359
int RawDataDecoder::shiftInputs(std::map<o2::InteractionRecord, CTPDigit>& digitsMap, o2::pmr::vector<CTPDigit>& digits, uint32_t TFOrbit)
360360
{
361-
int nClasswoInp = 0; // counting classes without input which should never happen
361+
// int nClasswoInp = 0; // counting classes without input which should never happen
362362
int nLM = 0;
363363
int nL0 = 0;
364364
int nL1 = 0;

0 commit comments

Comments
 (0)