Go to the documentation of this file.
14 : hbheTag_(conf.getUntrackedParameter(
"HBHE",
edm::
InputTag())),
15 hoTag_(conf.getUntrackedParameter(
"HO",
edm::
InputTag())),
16 hfTag_(conf.getUntrackedParameter(
"HF",
edm::
InputTag())),
17 zdcTag_(conf.getUntrackedParameter(
"ZDC",
edm::
InputTag())),
18 calibTag_(conf.getUntrackedParameter(
"CALIB",
edm::
InputTag())),
19 trigTag_(conf.getUntrackedParameter(
"TRIG",
edm::
InputTag())),
27 produces<FEDRawDataCollection>();
74 auto raw = std::make_unique<FEDRawDataCollection>();
79 int orbitN =
e.id().event();
83 for (
int ifed = ifed_first; ifed <= ifed_last; ++ifed) {
86 packer_.
pack(ifed, ifed - ifed_first,
e.id().event(), orbitN, bcnN, colls, *readoutMap, fed);
HcalDigiToRaw(const edm::ParameterSet &ps)
T const * product() const
const edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
const edm::EDGetTokenT< HODigiCollection > tok_ho_
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const Collections &inputs, const HcalElectronicsMap &emap, FEDRawData &output) const
const edm::EDGetTokenT< ZDCDigiCollection > tok_zdc_
const edm::InputTag hfTag_
const HcalCalibDigiCollection * calibCont
const ZDCDigiCollection * zdcCont
const HcalElectronicsMap * getHcalMapping() const
const edm::InputTag calibTag_
const edm::EDGetTokenT< HFDigiCollection > tok_hf_
const edm::InputTag zdcTag_
const edm::InputTag hoTag_
const HBHEDigiCollection * hbhe
const HcalTrigPrimDigiCollection * tpCont
const HODigiCollection * hoCont
~HcalDigiToRaw() override
void produce(edm::StreamID id, edm::Event &e, const edm::EventSetup &c) const override
const edm::InputTag trigTag_
const edm::EDGetTokenT< HcalCalibDigiCollection > tok_calib_
const edm::InputTag hbheTag_
const edm::EDGetTokenT< HcalTrigPrimDigiCollection > tok_htp_
const HFDigiCollection * hfCont