12 unpacker_(conf.getUntrackedParameter<
int>(
"HcalFirstFED",
FEDNumbering::MINHCALFEDID)),
13 fedUnpackList_(conf.getUntrackedParameter<
std::vector<
int> >(
"FEDs")),
14 firstFED_(conf.getUntrackedParameter<
int>(
"HcalFirstFED",
FEDNumbering::MINHCALFEDID))
16 std::ostringstream ss;
19 edm::LogInfo(
"HCAL") <<
"HcalHistogramRawToDigi will unpack FEDs ( " << ss.str() <<
")";
25 produces<HcalHistogramDigiCollection>();
43 auto prod = std::make_unique<HcalHistogramDigiCollection>();
44 std::vector<HcalHistogramDigi> digis;
54 prod->swap_contents(digis);
T getParameter(std::string const &) const
edm::EDGetTokenT< FEDRawDataCollection > tok_data_
~HcalHistogramRawToDigi() override
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::vector< int > fedUnpackList_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
HcalHistogramRawToDigi(const edm::ParameterSet &ps)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void unpack(const FEDRawData &raw, const HcalElectronicsMap &emap, std::vector< HcalHistogramDigi > &histoDigis)
const HcalElectronicsMap * getHcalMapping() const
void produce(edm::Event &e, const edm::EventSetup &c) override