64 produces<LTCDigiCollection>();
74 const int LTCFedIDLo = 815;
75 const int LTCFedIDHi = 823;
79 iEvent.getByLabel(
"source", rawdata);
82 auto pOut = std::make_unique<LTCDigiCollection>();
85 for (
int id = LTCFedIDLo;
id <= LTCFedIDHi; ++
id) {
88 unsigned short int length = fedData.
size();
92 pOut->push_back(ltcDigi);
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
size_t size() const
Lenght of the data buffer in bytes.
LTCRawToDigi(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
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.