65 produces<LTCDigiCollection>();
80 const int LTCFedIDLo = 815;
81 const int LTCFedIDHi = 823;
85 iEvent.getByLabel(
"source", rawdata);
88 auto pOut = std::make_unique<LTCDigiCollection>();
91 for (
int id = LTCFedIDLo;
id <= LTCFedIDHi; ++
id) {
94 unsigned short int length = fedData.
size();
98 pOut->push_back(ltcDigi);
#define DEFINE_FWK_MODULE(type)
void produce(edm::Event &, const edm::EventSetup &) override
size_t size() const
Lenght of the data buffer in bytes.
LTCRawToDigi(const edm::ParameterSet &)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.