15 produces<FEDRawDataCollection>();
32 std::vector<int> selFEDs;
105 selFEDs.push_back(
i);
113 selFEDs.push_back(
i);
117 selFEDs.push_back(
i);
121 selFEDs.push_back(
i);
125 selFEDs.push_back(
i);
129 selFEDs.push_back(
i);
134 selFEDs.push_back(
i);
139 selFEDs.push_back(
i);
144 selFEDs.push_back(
i);
149 selFEDs.push_back(
i);
154 selFEDs.push_back(
i);
158 selFEDs.push_back(
i);
163 selFEDs.push_back(
i);
167 selFEDs.push_back(
i);
171 selFEDs.push_back(
i);
178 selFEDs.push_back(
i);
191 for (uint32_t
k=0;
k<selFEDs.size();
k++)
198 if (!rightFED)
continue;
205 FEDRawData & fedDataProd = producedData->FEDData(
j);
206 if ( fedDataProd.
size() != 0 ) {
212 unsigned char *dataProd=fedDataProd.
data();
213 const unsigned char *
data=fedData.
data();
214 for (
unsigned int k=0;
k<
size; ++
k ) {
220 iEvent.
put(producedData);
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
size_t size() const
Lenght of the data buffer in bytes.
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void resize(size_t newsize)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
SubdetFEDSelector(const edm::ParameterSet &)
T const * product() const
edm::EDGetTokenT< FEDRawDataCollection > tok_raw_
char data[epos_bytes_allocation]
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
virtual void produce(edm::Event &, const edm::EventSetup &)
tuple size
Write out results.