29void HMPIDDigitizer::zeroSuppress(std::vector<o2::hmpid::Digit>
const&
digits, std::vector<o2::hmpid::Digit>& newdigits,
66 LOG(info) <<
"Starting HMPPID digitizer process function";
68 for (
auto& hit : hits) {
69 int chamber, pc, px, py;
74 if (px < 0 || py < 0) {
79 std::array<uint32_t, 9> allpads;
81 for (
int nx = -1; nx <= 1; ++nx) {
82 for (
int ny = -1; ny <= 1; ++ny) {
83 if ((px + nx) < 0 || (px + nx) > 79 || (py + ny) < 0 || (py + ny) > 47) {
92 for (
auto& pad : allpads) {
93 auto iter = mIndexForPad.find(pad);
95 if (iter != mIndexForPad.end()) {
103 auto& digit = mDigits[
index];
104 digit.addCharge(totalQ * fraction);
106 if (mRegisteredLabelContainer) {
109 bool newlabelneeded =
true;
110 for (
auto& l : labels) {
112 newlabelneeded =
false;
116 if (newlabelneeded) {
123 mDigits.emplace_back(pad, totalQ * fraction);
124 mIndexForPad[pad] = mDigits.size() - 1;
125 mInvolvedPads.emplace_back(pad);
127 if (mRegisteredLabelContainer) {