Go to the documentation of this file.
72 produces<FEDRawDataCollection>();
91 auto producedData = std::make_unique<FEDRawDataCollection>();
105 uint64_t* fedTrailer = pData + (length - 1);
106 bool crcError = (*fedTrailer >> 2) & 0
x1;
109 FEDRawData& fedDataProd = producedData->FEDData(*
i);
110 if (fedDataProd.
size() != 0) {
116 unsigned char* dataProd = fedDataProd.
data();
117 const unsigned char*
data = fedData.
data();
118 for (
unsigned int k = 0;
k < fedData.
size(); ++
k) {
std::vector< int > fedUnpackList_
EcalFEDWithCRCErrorProducer(const edm::ParameterSet &)
T getUntrackedParameter(std::string const &, T const &) const
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
void produce(edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
size_t size() const
Lenght of the data buffer in bytes.
T getParameter(std::string const &) const
void resize(size_t newsize)
char data[epos_bytes_allocation]
unsigned long long uint64_t
~EcalFEDWithCRCErrorProducer() override