#include "DataFormats/SiPixelDigi/interface/SiPixelDigisSoA.h"

#include <cassert>

SiPixelDigisSoA::SiPixelDigisSoA(
    size_t nDigis, const uint32_t *pdigi, const uint32_t *rawIdArr, const uint16_t *adc, const int32_t *clus)
    : pdigi_(pdigi, pdigi + nDigis),
      rawIdArr_(rawIdArr, rawIdArr + nDigis),
      adc_(adc, adc + nDigis),
      clus_(clus, clus + nDigis) {}
