20 produces<FEDRawDataCollection>();
25 mapToken_ = esConsumes<DTReadOutMapping, DTReadOutMappingRcd>();
33 cout <<
"[DTDigiToRawModule]: constructor" << endl;
39 cout <<
"[DTDigiToRawModule]: destructor" << endl;
43 auto fed_buffers = std::make_unique<FEDRawDataCollection>();
47 e.getByToken(digicoll, digis);
53 int FEDIDmin = 0, FEDIDMax = 0;
54 if (useStandardFEDid_) {
62 for (
int id = FEDIDmin;
id <= FEDIDMax; ++
id) {
T getParameter(std::string const &) const
void produce(edm::Event &, const edm::EventSetup &) override
T getUntrackedParameter(std::string const &, T const &) const
static void set(unsigned char *trailer, uint32_t lenght, uint16_t crc, uint8_t evt_stat, uint8_t tts, bool moreTrailers=false)
Set all fields in the trailer.
unsigned short compute_crc(unsigned char *buffer, unsigned int bufSize)
~DTDigiToRawModule() override
Destructor.
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
DTDigiToRawModule(const edm::ParameterSet &pset)
Constructor.