9 : unpacker_(conf.getUntrackedParameter<
int>(
"HcalFirstFED",
FEDNumbering::MINHCALFEDID)),
10 fedUnpackList_(conf.getUntrackedParameter<
std::
vector<
int> >(
"FEDs")),
11 firstFED_(conf.getUntrackedParameter<
int>(
"HcalFirstFED",
FEDNumbering::MINHCALFEDID)) {
12 std::ostringstream
ss;
15 edm::LogInfo(
"HCAL") <<
"HcalHistogramRawToDigi will unpack FEDs ( " <<
ss.str() <<
")";
21 produces<HcalHistogramDigiCollection>();
37 auto prod = std::make_unique<HcalHistogramDigiCollection>();
38 std::vector<HcalHistogramDigi> digis;
48 prod->swap_contents(digis);
edm::EDGetTokenT< FEDRawDataCollection > tok_data_
T getParameter(std::string const &) const
~HcalHistogramRawToDigi() override
std::vector< int > fedUnpackList_
const HcalElectronicsMap * getHcalMapping() const
HcalHistogramRawToDigi(const edm::ParameterSet &ps)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
Log< level::Info, false > LogInfo
void unpack(const FEDRawData &raw, const HcalElectronicsMap &emap, std::vector< HcalHistogramDigi > &histoDigis)
edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbService_
void produce(edm::Event &e, const edm::EventSetup &c) override