22 produces<FEDRawDataCollection>();
34 if (debug)
cout <<
"[DTDigiToRawModule]: constructor" << endl;
39 if (
debug)
cout <<
"[DTDigiToRawModule]: destructor" << endl;
61 int FEDIDmin = 0, FEDIDMax = 0;
62 if (useStandardFEDid_){
71 for (
int id=FEDIDmin;
id<=FEDIDMax; ++
id){
74 FEDRawData* rawData = packer->createFedBuffers(*digis, map);
76 FEDRawData& fedRawData = fed_buffers->FEDData(
id);
77 fedRawData = *rawData;
EventNumber_t event() const
T getUntrackedParameter(std::string const &, T const &) const
virtual ~DTDigiToRawModule()
Destructor.
bool getByType(Handle< PROD > &result) const
static void set(unsigned char *trailer, int evt_lgth, int crc, int evt_stat, int tts, bool T=false)
Set all fields in the trailer.
size_t size() const
Lenght of the data buffer in bytes.
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
unsigned short compute_crc(unsigned char *buffer, unsigned int bufSize)
DTDigiToRawModule(const edm::ParameterSet &pset)
Constructor.
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.
virtual void produce(edm::Event &, const edm::EventSetup &)