18 auto selectedRawData = std::make_unique<FEDRawDataCollection>();
22 vector<int>::const_iterator it =
fedList.begin();
23 vector<int>::const_iterator itEnd =
fedList.end();
24 for (; it != itEnd; ++it) {
28 FEDRawData& fedDataProd = selectedRawData->FEDData(*it);
38 if (fedRange.second == 0)
41 for (
int i = fedRange.first;
i <= fedRange.second; ++
i) {
45 FEDRawData& fedDataProd = selectedRawData->FEDData(
i);
52 return selectedRawData;
56 const pair<int, int>&
range) {
62 const vector<int>& list) {
std::unique_ptr< FEDRawDataCollection > select(const edm::Handle< FEDRawDataCollection > &rawData)
size_t size() const
Lenght of the data buffer in bytes.
void resize(size_t newsize)
std::vector< unsigned int > const fedList
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
static constexpr int lastFEDId()