UInt_t *digitsIdNew = new UInt_t[fNDigits+1];
memcpy(digitsIdNew,fDigitsId, fNDigits*sizeof(UInt_t));
digitsIdNew[fNDigits++] = id;
UInt_t *digitsIdNew = new UInt_t[fNDigits+1];
memcpy(digitsIdNew,fDigitsId, fNDigits*sizeof(UInt_t));
digitsIdNew[fNDigits++] = id;