13 #include <unordered_set>
21 e.getByToken(tok, h_coll);
22 auto o_coll = std::make_unique<T>();
25 o_coll = std::make_unique<T>(*(h_coll.
product()));
27 if (!productName.empty())
69 unpackCalib_(conf.getParameter<
bool>(
"UnpackCalib")),
70 unpackZDC_(conf.getParameter<
bool>(
"UnpackZDC")),
71 unpackTTP_(conf.getParameter<
bool>(
"UnpackTTP")) {
73 produces<QIE10DigiCollection>();
74 produces<QIE11DigiCollection>();
75 produces<HBHEDigiCollection>();
76 produces<HFDigiCollection>();
77 produces<HODigiCollection>();
78 produces<HcalTrigPrimDigiCollection>();
79 produces<HOTrigPrimDigiCollection>();
81 produces<HcalCalibDigiCollection>();
83 produces<ZDCDigiCollection>();
85 produces<HcalTTPDigiCollection>();
86 produces<QIE10DigiCollection>(
"ZDC");
94 desc.add<
bool>(
"UnpackZDC",
true);
95 desc.add<
bool>(
"UnpackCalib",
true);
96 desc.add<
bool>(
"UnpackTTP",
true);
111 desc.add<
int>(
"firstSample", 0);
112 desc.add<
int>(
"lastSample", 0);
113 descriptions.
add(
"HcalRawToDigiFake",
desc);