56 put_hbhe_ = produces<HBHERecHitCollection>(
"HBHERecHitCollection");
57 put_ho_ = produces<HORecHitCollection>(
"HORecHitCollection");
58 put_hf_ = produces<HFRecHitCollection>(
"HFRecHitCollection");
64 if (!
hbhe.isValid()) {
65 edm::LogVerbatim(
"AlCaEcalHcal") <<
"AlCaEcalHcalReadoutProducer: Error! can't get hbhe product!";
71 edm::LogVerbatim(
"AlCaEcalHcal") <<
"AlCaEcalHcalReadoutProducer: Error! can't get ho product!";
76 edm::LogVerbatim(
"AlCaEcalHcal") <<
"AlCaEcalHcalReadoutProducer: Error! can't get hf product!";
90 descriptions.
add(
"alcaEcalHcalReadoutsProducer",
desc);
Log< level::Info, true > LogVerbatim
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
~AlCaEcalHcalReadoutsProducer() override=default
edm::EDPutTokenT< HBHERecHitCollection > put_hbhe_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
edm::EDPutTokenT< HORecHitCollection > put_ho_
AlCaEcalHcalReadoutsProducer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< HORecHitCollection > tok_ho_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::EDPutTokenT< HFRecHitCollection > put_hf_