Go to the documentation of this file.
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;
86 iEvent.put(std::make_unique<TCDSRecord>(tcdsRecord),
"tcdsRecord");
95 descriptions.
add(
"tcdsRawToDigi", desc);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
edm::EDGetTokenT< FEDRawDataCollection > dataToken_
TcdsRawToDigi(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
~TcdsRawToDigi() override
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
size_t size() const
Lenght of the data buffer in bytes.
T getParameter(std::string const &) const
Class to contain information from TCDS FED.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void produce(edm::Event &, const edm::EventSetup &) override