14 dataTag_(conf.getParameter<edm::InputTag>(
"InputLabel")),
15 unpacker_(conf.getUntrackedParameter<int>(
"HcalFirstFED",
FEDNumbering::MINHCALFEDID)),
16 fedUnpackList_(conf.getUntrackedParameter<std::vector<int> >(
"FEDs")),
17 firstFED_(conf.getUntrackedParameter<int>(
"HcalFirstFED",
FEDNumbering::MINHCALFEDID))
19 std::ostringstream ss;
22 edm::LogInfo(
"HCAL") <<
"HcalHistogramRawToDigi will unpack FEDs ( " << ss.str() <<
")";
25 produces<HcalHistogramDigiCollection>();
44 std::vector<HcalHistogramDigi> digis;
54 prod->swap_contents(digis);
std::vector< int > fedUnpackList_
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.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void unpack(const FEDRawData &raw, const HcalElectronicsMap &emap, std::vector< HcalHistogramDigi > &histoDigis)
edm::SortedCollection< HcalHistogramDigi > HcalHistogramDigiCollection