13 produces<HBHERecHitCollection>(
"HBHERecHitCollection");
14 produces<HORecHitCollection>(
"HORecHitCollection");
15 produces<HFRecHitCollection>(
"HFRecHitCollection");
39 LogDebug(
"") <<
"AlCaEcalHcalReadoutProducer: Error! can't get hbhe product!" << std::endl;
45 LogDebug(
"") <<
"AlCaEcalHcalReadoutProducer: Error! can't get ho product!" << std::endl;
50 LogDebug(
"") <<
"AlCaEcalHcalReadoutProducer: Error! can't get hf product!" << std::endl;
61 miniHBHERecHitCollection->
push_back(*hbheItr);
66 miniHORecHitCollection->
push_back(*hoItr);
72 miniHFRecHitCollection->
push_back(*hfItr);
78 iEvent.
put( miniHBHERecHitCollection,
"HBHERecHitCollection");
79 iEvent.
put( miniHORecHitCollection,
"HORecHitCollection");
80 iEvent.
put( miniHFRecHitCollection,
"HFRecHitCollection");
T getParameter(std::string const &) const
~AlCaEcalHcalReadoutsProducer()
std::vector< T >::const_iterator const_iterator
void push_back(T const &t)
AlCaEcalHcalReadoutsProducer(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &)