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()
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< HBHERecHit >::const_iterator const_iterator
void push_back(T const &t)
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
AlCaEcalHcalReadoutsProducer(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
virtual void produce(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< HORecHitCollection > tok_ho_