10 produces<HBHERecHitCollection>(
"HBHERecHitCollection");
11 produces<HORecHitCollection>(
"HORecHitCollection");
12 produces<HFRecHitCollection>(
"HFRecHitCollection");
27 if (!
hbhe.isValid()) {
28 LogDebug(
"") <<
"AlCaEcalHcalReadoutProducer: Error! can't get hbhe product!" << std::endl;
34 LogDebug(
"") <<
"AlCaEcalHcalReadoutProducer: Error! can't get ho product!" << std::endl;
39 LogDebug(
"") <<
"AlCaEcalHcalReadoutProducer: Error! can't get hf product!" << std::endl;
43 auto miniHBHERecHitCollection = std::make_unique<HBHERecHitCollection>();
44 auto miniHORecHitCollection = std::make_unique<HORecHitCollection>();
45 auto miniHFRecHitCollection = std::make_unique<HFRecHitCollection>();
49 miniHBHERecHitCollection->
push_back(*hbheItr);
53 miniHORecHitCollection->
push_back(*hoItr);
58 miniHFRecHitCollection->
push_back(*hfItr);
62 iEvent.put(
std::move(miniHBHERecHitCollection),
"HBHERecHitCollection");