Go to the documentation of this file.
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);
HcalDigiToRaw(const edm::ParameterSet &ps)
T const * product() const
const edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
const edm::EDGetTokenT< HODigiCollection > tok_ho_
const edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbService_
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
Log< level::Warning, false > LogWarning
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
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
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