55 dataToken_ = consumes<FEDRawDataCollection>(dataLabel);
56 produces<TCDSRecord>(
"tcdsRecord").setBranchAlias(
"tcdsRecord");
74 uint16_t selectedId = 0;
77 if (tcdsData.
size() > 0) {
80 <<
"Second TCDS FED ID " <<
fedId <<
" found. First ID: " << selectedId;
95 descriptions.
add(
"tcdsRawToDigi",
desc);
T getParameter(std::string const &) const
void produce(edm::Event &, const edm::EventSetup &) override
~TcdsRawToDigi() override
size_t size() const
Lenght of the data buffer in bytes.
Class to contain information from TCDS FED.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
TcdsRawToDigi(const edm::ParameterSet &)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
edm::EDGetTokenT< FEDRawDataCollection > dataToken_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.