diff --git a/Detectors/HMPID/reconstruction/include/HMPIDReconstruction/HmpidDecoder2.h b/Detectors/HMPID/reconstruction/include/HMPIDReconstruction/HmpidDecoder2.h index 6d49663c9e368..843fb4aafc98c 100644 --- a/Detectors/HMPID/reconstruction/include/HMPIDReconstruction/HmpidDecoder2.h +++ b/Detectors/HMPID/reconstruction/include/HMPIDReconstruction/HmpidDecoder2.h @@ -172,6 +172,7 @@ class HmpidDecoder2 bool getBlockFromStream(uint32_t** streamPtr, uint32_t Size); bool getHeaderFromStream(uint32_t** streamPtr); bool getWordFromStream(uint32_t* word); + uint32_t readWordFromStream(); uint32_t* getActualStreamPtr() { return (mActualStreamPtr); diff --git a/Detectors/HMPID/reconstruction/src/HmpidDecoder2.cxx b/Detectors/HMPID/reconstruction/src/HmpidDecoder2.cxx index 99930b70c9912..0fa3a043ef4bc 100644 --- a/Detectors/HMPID/reconstruction/src/HmpidDecoder2.cxx +++ b/Detectors/HMPID/reconstruction/src/HmpidDecoder2.cxx @@ -17,7 +17,7 @@ /// \date 17/11/2020 /* ------ HISTORY --------- -*/ + */ #include "FairLogger.h" // for LOG #include "Framework/Logger.h" @@ -530,7 +530,7 @@ void HmpidDecoder2::decodePage(uint32_t** streamBuf) bool isIt; int payIndex = 0; - while (payIndex < mNumberWordToRead) { //start the payload loop word by word + while (payIndex < mNumberWordToRead) { // start the payload loop word by word if (newOne == true) { wpprev = wp; if (!getWordFromStream(&wp)) { // end the stream @@ -805,7 +805,7 @@ void HmpidDecoder2::setPad(HmpidEquipment* eq, int col, int dil, int ch, uint16_ { eq->setPad(col, dil, ch, charge); mDigits.push_back(o2::hmpid::Digit(charge, eq->getEquipmentId(), col, dil, ch)); - //std::cout << "DI " << mDigits.back() << " "<