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_
~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)
Log< level::Info, false > LogInfo
void unpack(const FEDRawData &raw, const HcalElectronicsMap &emap, std::vector< HcalHistogramDigi > &histoDigis)
T getParameter(std::string const &) const
edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbService_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
void produce(edm::Event &e, const edm::EventSetup &c) override