67 produces<LTCDigiCollection>();
89 const int LTCFedIDLo = 815;
90 const int LTCFedIDHi = 823;
97 auto pOut = std::make_unique<LTCDigiCollection>();
100 for (
int id = LTCFedIDLo;
id <= LTCFedIDHi; ++
id ) {
103 unsigned short int length = fedData.
size();
107 pOut->push_back(ltcDigi);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
#define DEFINE_FWK_MODULE(type)
virtual 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
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.