12 : hbheTag_(conf.getUntrackedParameter(
"HBHE",
edm::
InputTag())),
13 hoTag_(conf.getUntrackedParameter(
"HO",
edm::
InputTag())),
14 hfTag_(conf.getUntrackedParameter(
"HF",
edm::
InputTag())),
15 zdcTag_(conf.getUntrackedParameter(
"ZDC",
edm::
InputTag())),
16 calibTag_(conf.getUntrackedParameter(
"CALIB",
edm::
InputTag())),
17 trigTag_(conf.getUntrackedParameter(
"TRIG",
edm::
InputTag())),
26 produces<FEDRawDataCollection>();
72 auto raw = std::make_unique<FEDRawDataCollection>();
77 int orbitN =
e.id().event();
81 for (
int ifed = ifed_first; ifed <= ifed_last; ++ifed) {
84 packer_.
pack(ifed, ifed - ifed_first,
e.id().event(), orbitN, bcnN, colls, *readoutMap, fed);
const edm::EDGetTokenT< ZDCDigiCollection > tok_zdc_
T const * product() const
const edm::EDGetTokenT< HODigiCollection > tok_ho_
const edm::InputTag calibTag_
const HcalCalibDigiCollection * calibCont
const HcalElectronicsMap * getHcalMapping() const
HcalDigiToRaw(const edm::ParameterSet &ps)
const edm::InputTag hoTag_
const edm::EDGetTokenT< HFDigiCollection > tok_hf_
const edm::InputTag hfTag_
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const Collections &inputs, const HcalElectronicsMap &emap, FEDRawData &output) const
~HcalDigiToRaw() override
const HcalTrigPrimDigiCollection * tpCont
const ZDCDigiCollection * zdcCont
const edm::InputTag zdcTag_
const HBHEDigiCollection * hbhe
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
const edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbService_
void produce(edm::StreamID id, edm::Event &e, const edm::EventSetup &c) const override
const edm::EDGetTokenT< HcalCalibDigiCollection > tok_calib_
const edm::InputTag hbheTag_
const edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
const HODigiCollection * hoCont
const edm::EDGetTokenT< HcalTrigPrimDigiCollection > tok_htp_
const HFDigiCollection * hfCont
Log< level::Warning, false > LogWarning
const edm::InputTag trigTag_