13 unpacker_(conf.getUntrackedParameter<int>(
"HcalFirstFED",
FEDNumbering::MINHCALFEDID)),
14 fedUnpackList_(conf.getUntrackedParameter<std::vector<int> >(
"FEDs")),
15 firstFED_(conf.getUntrackedParameter<int>(
"HcalFirstFED",
FEDNumbering::MINHCALFEDID))
17 std::ostringstream ss;
20 edm::LogInfo(
"HCAL") <<
"HcalHistogramRawToDigi will unpack FEDs ( " << ss.str() <<
")";
26 produces<HcalHistogramDigiCollection>();
45 std::vector<HcalHistogramDigi> digis;
55 prod->swap_contents(digis);
T getParameter(std::string const &) const
edm::EDGetTokenT< FEDRawDataCollection > tok_data_
std::vector< int > fedUnpackList_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual ~HcalHistogramRawToDigi()
virtual void produce(edm::Event &e, const edm::EventSetup &c)
HcalHistogramRawToDigi(const edm::ParameterSet &ps)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void unpack(const FEDRawData &raw, const HcalElectronicsMap &emap, std::vector< HcalHistogramDigi > &histoDigis)
edm::SortedCollection< HcalHistogramDigi > HcalHistogramDigiCollection