23 produces<ESRawDataCollection>();
24 produces<ESLocalRawDataCollection>();
25 produces<ESDigiCollection>();
40 LogDebug(
"") <<
"ESRawToDigi : Error! can't get rawdata!" << std::endl;
43 std::vector<int> esFeds_to_unpack;
47 esFeds_to_unpack = fedslist->GetList();
58 for (
unsigned int i=0;
i<esFeds_to_unpack.size(); ++
i) {
60 const FEDRawData& fedRawData = rawdata->FEDData(esFeds_to_unpack[
i]);
63 if (
debug_)
std::cout<<
"FED : "<<esFeds_to_unpack[
i]<<
" Data size : "<<fedRawData.
size()<<
" (Bytes)"<<std::endl;
68 const FEDRawData& fedRawData = rawdata->FEDData(fedId);
71 if (
debug_)
std::cout<<
"FED : "<<fedId<<
" Data size : "<<fedRawData.
size()<<
" (Bytes)"<<std::endl;
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::InputTag fedsListLabel_
size_t size() const
Lenght of the data buffer in bytes.
ESRawToDigi(const edm::ParameterSet &ps)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::string ESdigiCollection_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void interpretRawData(int fedId, const FEDRawData &rawData, ESRawDataCollection &dccs, ESLocalRawDataCollection &kchips, ESDigiCollection &digis)
void produce(edm::Event &e, const edm::EventSetup &es)